Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaflet widget #287

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Leaflet widget #287

wants to merge 3 commits into from

Conversation

rveciana
Copy link

This PR adds the possibility to select a point in a map and get its coordinates.
The following options are available:

  • height: Heigh of the map element. 200px by default
  • zoom: The initial map zoom level. 13 by default
  • useUserPosition: If true, the map takes the location from the browser and will center the point there as the initial position
  • initialLatitude: The initial latitude to show the map and marker
  • initilaLongitude: The initial Longitude to show the map and marker
  • tileAddress: By default, OpenStreetMap, but any can be used
  • tileAttribution: The attribution to show on the map (mandatory on OpenStreetMap)
    leaflet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant