Avoid OpenStreetMap loading shops, monuments, restaurants and any other POIs?
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
2
down vote
favorite
I am loading OpenStreetMap using Leaflet.
More or less I'm doing this:
var objmap = new L.Map(p_objCapaMapa, mapOptions);
var osmUrl = 'https://s.tile.openstreetmap.org/z/x/y.png';
capaMapa= new L.TileLayer(osmUrl);
objmap.addLayer(capaMapa);
Very easy and it works. But the map is loading a lot of Points of Interest like restaurants, shops, etc A lot of little icons over the tiles of the map.
How can I avoid the map load all these points?
I need leaflet to just load the map with its roads, squares, streets, parks, etc.
In javascript Google Maps Api there are a way of not loading these POIS that comes with the map but I do not know a way to avoid POIS over OpenStreetMap using Leaflet.
We have searched a lot for the web but we still do not have a solution to this.
leaflet openstreetmap
add a comment |Â
up vote
2
down vote
favorite
I am loading OpenStreetMap using Leaflet.
More or less I'm doing this:
var objmap = new L.Map(p_objCapaMapa, mapOptions);
var osmUrl = 'https://s.tile.openstreetmap.org/z/x/y.png';
capaMapa= new L.TileLayer(osmUrl);
objmap.addLayer(capaMapa);
Very easy and it works. But the map is loading a lot of Points of Interest like restaurants, shops, etc A lot of little icons over the tiles of the map.
How can I avoid the map load all these points?
I need leaflet to just load the map with its roads, squares, streets, parks, etc.
In javascript Google Maps Api there are a way of not loading these POIS that comes with the map but I do not know a way to avoid POIS over OpenStreetMap using Leaflet.
We have searched a lot for the web but we still do not have a solution to this.
leaflet openstreetmap
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am loading OpenStreetMap using Leaflet.
More or less I'm doing this:
var objmap = new L.Map(p_objCapaMapa, mapOptions);
var osmUrl = 'https://s.tile.openstreetmap.org/z/x/y.png';
capaMapa= new L.TileLayer(osmUrl);
objmap.addLayer(capaMapa);
Very easy and it works. But the map is loading a lot of Points of Interest like restaurants, shops, etc A lot of little icons over the tiles of the map.
How can I avoid the map load all these points?
I need leaflet to just load the map with its roads, squares, streets, parks, etc.
In javascript Google Maps Api there are a way of not loading these POIS that comes with the map but I do not know a way to avoid POIS over OpenStreetMap using Leaflet.
We have searched a lot for the web but we still do not have a solution to this.
leaflet openstreetmap
I am loading OpenStreetMap using Leaflet.
More or less I'm doing this:
var objmap = new L.Map(p_objCapaMapa, mapOptions);
var osmUrl = 'https://s.tile.openstreetmap.org/z/x/y.png';
capaMapa= new L.TileLayer(osmUrl);
objmap.addLayer(capaMapa);
Very easy and it works. But the map is loading a lot of Points of Interest like restaurants, shops, etc A lot of little icons over the tiles of the map.
How can I avoid the map load all these points?
I need leaflet to just load the map with its roads, squares, streets, parks, etc.
In javascript Google Maps Api there are a way of not loading these POIS that comes with the map but I do not know a way to avoid POIS over OpenStreetMap using Leaflet.
We have searched a lot for the web but we still do not have a solution to this.
leaflet openstreetmap
edited Aug 25 at 19:08
PolyGeoâ¦
51.8k1777231
51.8k1777231
asked Aug 25 at 14:34
Falinsito
383
383
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
Simple answer: You can not.
Unlike Google maps API, these icons are part of the pre-rendered tiles you get from openstreetmap.org, and there is nothing you can do about it.
You may however look for other tile sorces based on Openstreetmap data, like Stamen .
Or render your own tiles with tools like Maperitive. Then you are free to leave out any data you don't want to see in your own map.
Thank you very much for your help. It save me a lot of time.
â Falinsito
Aug 26 at 19:21
@Falinsito, you can show your appreciation by both upvoting and accepting the answer. You can visit the tour for more information.
â Fezterâ¦
Aug 26 at 22:44
2
See also wiki.openstreetmap.org/wiki/Tile_servers - in particular the "no labels" tiles.
â IvanSanchez
Aug 27 at 7:28
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
Simple answer: You can not.
Unlike Google maps API, these icons are part of the pre-rendered tiles you get from openstreetmap.org, and there is nothing you can do about it.
You may however look for other tile sorces based on Openstreetmap data, like Stamen .
Or render your own tiles with tools like Maperitive. Then you are free to leave out any data you don't want to see in your own map.
Thank you very much for your help. It save me a lot of time.
â Falinsito
Aug 26 at 19:21
@Falinsito, you can show your appreciation by both upvoting and accepting the answer. You can visit the tour for more information.
â Fezterâ¦
Aug 26 at 22:44
2
See also wiki.openstreetmap.org/wiki/Tile_servers - in particular the "no labels" tiles.
â IvanSanchez
Aug 27 at 7:28
add a comment |Â
up vote
5
down vote
accepted
Simple answer: You can not.
Unlike Google maps API, these icons are part of the pre-rendered tiles you get from openstreetmap.org, and there is nothing you can do about it.
You may however look for other tile sorces based on Openstreetmap data, like Stamen .
Or render your own tiles with tools like Maperitive. Then you are free to leave out any data you don't want to see in your own map.
Thank you very much for your help. It save me a lot of time.
â Falinsito
Aug 26 at 19:21
@Falinsito, you can show your appreciation by both upvoting and accepting the answer. You can visit the tour for more information.
â Fezterâ¦
Aug 26 at 22:44
2
See also wiki.openstreetmap.org/wiki/Tile_servers - in particular the "no labels" tiles.
â IvanSanchez
Aug 27 at 7:28
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
Simple answer: You can not.
Unlike Google maps API, these icons are part of the pre-rendered tiles you get from openstreetmap.org, and there is nothing you can do about it.
You may however look for other tile sorces based on Openstreetmap data, like Stamen .
Or render your own tiles with tools like Maperitive. Then you are free to leave out any data you don't want to see in your own map.
Simple answer: You can not.
Unlike Google maps API, these icons are part of the pre-rendered tiles you get from openstreetmap.org, and there is nothing you can do about it.
You may however look for other tile sorces based on Openstreetmap data, like Stamen .
Or render your own tiles with tools like Maperitive. Then you are free to leave out any data you don't want to see in your own map.
answered Aug 25 at 15:02
AndreJ
65.8k555118
65.8k555118
Thank you very much for your help. It save me a lot of time.
â Falinsito
Aug 26 at 19:21
@Falinsito, you can show your appreciation by both upvoting and accepting the answer. You can visit the tour for more information.
â Fezterâ¦
Aug 26 at 22:44
2
See also wiki.openstreetmap.org/wiki/Tile_servers - in particular the "no labels" tiles.
â IvanSanchez
Aug 27 at 7:28
add a comment |Â
Thank you very much for your help. It save me a lot of time.
â Falinsito
Aug 26 at 19:21
@Falinsito, you can show your appreciation by both upvoting and accepting the answer. You can visit the tour for more information.
â Fezterâ¦
Aug 26 at 22:44
2
See also wiki.openstreetmap.org/wiki/Tile_servers - in particular the "no labels" tiles.
â IvanSanchez
Aug 27 at 7:28
Thank you very much for your help. It save me a lot of time.
â Falinsito
Aug 26 at 19:21
Thank you very much for your help. It save me a lot of time.
â Falinsito
Aug 26 at 19:21
@Falinsito, you can show your appreciation by both upvoting and accepting the answer. You can visit the tour for more information.
â Fezterâ¦
Aug 26 at 22:44
@Falinsito, you can show your appreciation by both upvoting and accepting the answer. You can visit the tour for more information.
â Fezterâ¦
Aug 26 at 22:44
2
2
See also wiki.openstreetmap.org/wiki/Tile_servers - in particular the "no labels" tiles.
â IvanSanchez
Aug 27 at 7:28
See also wiki.openstreetmap.org/wiki/Tile_servers - in particular the "no labels" tiles.
â IvanSanchez
Aug 27 at 7:28
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f293980%2favoid-openstreetmap-loading-shops-monuments-restaurants-and-any-other-pois%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password