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

fix(GoogleMapsLink): fix line and polygon google maps link #682

Merged
merged 3 commits into from
Jul 3, 2020

Conversation

PhilippeLafreniere18
Copy link
Contributor

  • Before : Point, Line and Polygon were all treated the same. Coordinates (lon/lat) were used to open google maps link and cause problems with long geometry.

  • Now : If search-result is a Point, use the coordinates and if not, use the name or the title of the result.

@PhilippeLafreniere18
Copy link
Contributor Author

Update :

Two type of research are now available, one by coordinates and one by name.
Point-on-feature from turf return a point when geometry type is linestring or polygon.

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.

2 participants