-
Notifications
You must be signed in to change notification settings - Fork 624
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
Allow OpenStreetMap as an option *alongside* Google maps in the layer picker #1378
Comments
I have a first version working |
Thanks for working on this, @h4ck3rm1k3 - This will probably work. If you're ready for a review, you can submit a pull request. |
Righty Right. |
I've added this to the V3 features wishlist at https://phabricator.ushahidi.com/T541; please feel free to continue working on this for V2. |
Don't know if this ever got fixed in this repo since 2014, but this blog post seems related: https://www.ushahidi.com/blog/2017/04/06/using-mapbox-at-ushahidi Sounds like the new version of ushahidi (this repo?) will be a lot more OpenStreetMappy. |
@harry-wood the new version of Ushahidi lives over at https://github.com/ushahidi/platform and https://github.com/ushahidi/platform-client At the moment we only have support for OSM via mapbox baselayers, and no support for Google Maps. I think we migrated this issue over to the new repo if you wanted to follow it there: ushahidi/platform#581 |
I often see ushahidi instances where the map alternatives in the top right picker are Google Maps Normal/Satellite/Hybrid/Physical (Indeed http://demo.ushahidi.com is set up this way) Then I see others where the admin has chosen to set them up to use OpenStreetMap instead. I'm inferring from this, that ushahidi offers this choice to admins. Google Maps or OpenStreetMap, as if they exclude each other entirely.
I have never seen an ushahidi instance offering BOTH within the layer picker. This seems like a missed opportunity, given that you have gone to the trouble of writing all your map logic using OpenLayers. That's something which is perfectly possible with OpenLayers as shown in this example: http://openlayers.org/dev/examples/osm-google.html
So when an admin user decides that google maps is better (which always makes me sad) could we at least get OpenStreetMap in there as a layer the end user can pick?
I imagine the most important thing to offer admins, is the ability to choose their default basemap. Then another possible option, of marginal importance, would be the ability to switch off certain layer options, so their end users can't use them (not sure why they would really)
The text was updated successfully, but these errors were encountered: