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!

Comments

Andy-vv created an issue. See original summary.

ayalon’s picture

Please use the latest dev, its fixed there.

Andy-vv’s picture

@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?

ayalon’s picture

Did you enable the controls in the widget configuration of the field?

Andy-vv’s picture

thanks @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!