-
Notifications
You must be signed in to change notification settings - Fork 8
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
Investigate alternative mapping options to Google Maps #26
Comments
One option suggested would to be to add a scale=2 option to the static map request https://wordpress.org/support/topic/possible-to-add-scale-to-allow-for-1280x1280-images/ https://developers.google.com/maps/documentation/maps-static/dev-guide#Imagesizes |
I just can't remember how the maps were implemented, but there are several alternatives to Google Maps like Mapbox (even Strava switched to Mapbox) or OpenStreetMaps and several others that can be used if we implement the map functionality using LeafletJS. Will see if I can spare sometime to look into this one. |
Suggestion to use |
Suggestion to use Leaflet https://wordpress.org/support/topic/sorry-this-content-could-not-be-embedded-5/#post-14906962 |
Hey guys, I'm not a good enough developer to help with coding, but I'd love to use this plugin on my running clubs website without the risk of Google hammering my credit card. Is there anything I could do to help this along? |
I actually have a working prototype using MapBox's static maps API - hoping to release it before the end of the year. Keep in mind MapBox has a similar terms of service as google (https://www.mapbox.com/pricing/#glstatic - 50k requests are free per month), but they don't require you to add a credit card to your account like google does. |
Legend. Thanks. And yeah I think that would work better for the club. We don't expect much traffic 🙂
|
Google Maps has several limitations including size: https://developers.google.com/maps/documentation/maps-static/dev-guide#Imagesizes
With the latest API changes and possible cost increases, we should look at some alternatives.
Currently leaning towards MapBox & Leaflet as that's what Strava is using. Branch for this work: https://github.com/cmanon/wp-strava/tree/feature/26-alt-maps-leaflet
The text was updated successfully, but these errors were encountered: