I am trying to get leaflet widget working properly in Drupal 8. I have been following the guidelines for installing wicket at here on the leaflet widget for geofield module.
I have installed the wicket libraries at app/web/libraries/wicket - snapshot of file structure attached below
I put the code snippet into my composer.json file (copy of file added below). when I run hte command " composer require arthur-e/Wicket" then I get the following message:
quote
$ composer require arthur-e/Wicket
[InvalidArgumentException]
Could not find package arthur-e/Wicket.
Did you mean this?
drupal/leaflet_widget
unquote
Needless to say, I am a newbie to drupal and not really a coder, so any help would be much appreciated!
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Layouts for finding Geofield Widget settings.pdf | 5.88 MB | Andy-vv |
| Screen Shot 2019-03-12 at 12.22.40 PM.png | 305.82 KB | Andy-vv | |
| composer.txt | 4.84 KB | Andy-vv |
Comments
Comment #2
ayalon commentedPlease use the latest dev, its fixed there.
Comment #3
Andy-vv commented@ayalon thanks very much for the update.
I have successfully installed the Development version: 8.x-2.x-dev
There were no error messages or anything.
However, I am not yet seeing any drawing options in the UI or the fieled settings.
Am I missing something?
Comment #4
ayalon commentedDid you enable the controls in the widget configuration of the field?
Comment #5
Andy-vv commentedthanks @ayalon
I have tried to enable everything I can :) I'm not entirely sure if I am seeing "the controls in the widget configuration of the field?" as you mention above.
In the hope that I am missing something simple I have attached a pdf of the settings I have:
a) around the Geofield I am using to create the input for a simple view.
b) the view settings and the preview of the view it gives
c) the map settings
d) the modules I have enabled (these are at the bottom of the pdf not the top.
\the only thing I can see that relates to drawing is a block at the bottom of the settings that realtes to "Path Geometires Options"
Any help would be much appreciated!