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

Google maps are not available in Route planner #21

Open
Karql opened this issue Jun 22, 2023 · 1 comment
Open

Google maps are not available in Route planner #21

Karql opened this issue Jun 22, 2023 · 1 comment

Comments

@Karql
Copy link

Karql commented Jun 22, 2023

Hi!

At the beginging thanks for the great extension 😉

It is possible to add option to choose Google maps in Route planner (like in activity view)?

image

image

Best regards,
Mateusz

@liskin
Copy link
Owner

liskin commented Jun 26, 2023

Possible – theoretically yes, practically not easily. Older parts of the Strava website (activity view, segment explorer) use the Leaflet.js library and the map switcher uses the https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant plugin to add Google Maps to it. But there doesn't seem to be any such plugin for Mapbox GL, which is a different map library that is used in the route builder and heatmaps. It's almost certainly possible to create such an extension for Mapbox GL, but it'd likely take a day or more of effort, and I already have way too much projects on my plate, so tackling such a piece of work is unlikely in the near future. :-(

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

No branches or pull requests

2 participants