I'm using OpenLayers to display an openstreetmap. Is there a way to edit certain features on the map? For example changing the color of the water, removing the border between countries etc. If it can not be done using JavaScript, I'm guessing there are other ways to do this - like hosting your own version of the map which you can then edit as much as you want.
Has anyone tried something like this? How would I go about doing this?
Thanks
No, you can't change colors in OpenLayers.Layer.OSM because it's rendered dead images with all styling applied on the server-side. Only way to apply your own style is to host osm yourself. Here's the tutorial that will help you get started.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With