Removing Places from OSM

北慕城南 提交于 2020-01-15 06:40:07

问题


Doe is exists a way to remove all the places from the OSM map? Also like shops, bars, restorations, hotels etc.

I wish to use a maps with a less info. Is it possible to do this from the original OSM server? Maybe like a option in URL or something else? I use Leaflet library for my project, maybe some option in it?

I wished to have it like in GMAPS API:

new google.maps.Map(map_div,{
    styles:[{
        elementType:'all',
        featureType:'poi',
        stylers:[{
            visibility:'off'
            }]
        }]});

Over JS or over extra URL, so or so, but without places.


回答1:


The main OSM service provides only one rendering, and you can't change that rendering. Instead, you could:

  • Render your own tiles - you could design them in Tilemill and host them using Tilestache.
  • Use maps provided by a third party, such as these Mapbox maps, or opencyclemap, or...


来源:https://stackoverflow.com/questions/17531277/removing-places-from-osm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!