Avoid OpenStreetMap loading shops, monuments, restaurants and any other POIs?

The name of the pictureThe name of the pictureThe name of the pictureClash 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.







share|improve this question




























    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.







    share|improve this question
























      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.







      share|improve this question














      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.









      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 25 at 19:08









      PolyGeo♦

      51.8k1777231




      51.8k1777231










      asked Aug 25 at 14:34









      Falinsito

      383




      383




















          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.






          share|improve this answer




















          • 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










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "79"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          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






























          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.






          share|improve this answer




















          • 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














          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.






          share|improve this answer




















          • 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












          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.






          share|improve this answer












          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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
















          • 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

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          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













































































          Comments

          Popular posts from this blog

          Long meetings (6-7 hours a day): Being “babysat” by supervisor

          Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

          Confectionery