Problem/Motivation
We currently implement the reset map button locally within our Drupal Leaflet module's JS, with just text based icon.
This PR introduce a replacement of functionality with https://github.com/hswong3i/Leaflet.ResetView, with:
- Font Awesome based icon
- Customizable position
- Customizable title
Issue fork leaflet-3254074
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3254074-refine-reset-map
changes, plain diff MR !10
Comments
Comment #3
hswong3i commentedComment #4
hswong3i commentedComment #7
itamair commentedThis cannot be approved as it is based on the 3.0.x-dev branch that is only experimental and not being supported now, in the short & mid term, because it doesn't provide a smooth and automatic upgrade path for all the 2.x users.
All this features requests should be also smoothly applicable to the 2.x branch, with full BW compatibility into it and upgrade/update path, to be approved ...
Comment #9
itamair commented