<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Open Street Map and Leaflet (L.tileLayer) ?? in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/open-street-map-and-leaflet-l-tilelayer/m-p/772535#M529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i don't understand your question.&amp;nbsp; can you clarify please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find a working example of a loading a hosted OSM basemap using L.tileLayer here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://esri.github.io/esri-leaflet/examples/geocoding-control.html"&gt;http://esri.github.io/esri-leaflet/examples/geocoding-control.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2015 21:52:26 GMT</pubDate>
    <dc:creator>JohnGravois</dc:creator>
    <dc:date>2015-08-05T21:52:26Z</dc:date>
    <item>
      <title>Open Street Map and Leaflet (L.tileLayer) ??</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/open-street-map-and-leaflet-l-tilelayer/m-p/772534#M528</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Question: How do I link to Open Street Map (OSM)? Do I have to export the png file from Open Street? Do i have to reference it from OSM?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample line-numbers language-none" tabindex="0"&gt;&lt;CODE&gt;var startPoint = [34.227700, -84.250717];
var map = L.map('map', {attributionControl: false, editInOSMControl: true, editInOSMControlOptions: {position: 'topleft'}}).setView(startPoint, 17),
    tilelayer = L.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {maxZoom: 20, legend: LEGEND, openLegendOnLoad: true, attribution:osmDataAttr}).addTo(map),
    hash = new L.Hash(map);
    legend = (new L.Control.TileLegend()).addTo(map);
    // legend = new L.TileLegend(map, tilelayer, L.DomUtil.get('leaflet-control-tilelegend-container'), LEGEND);
    // legend.open();
&amp;lt;/script&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/open-street-map-and-leaflet-l-tilelayer/m-p/772534#M528</guid>
      <dc:creator>JamesFitzgerald</dc:creator>
      <dc:date>2023-08-28T13:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Open Street Map and Leaflet (L.tileLayer) ??</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/open-street-map-and-leaflet-l-tilelayer/m-p/772535#M529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i don't understand your question.&amp;nbsp; can you clarify please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find a working example of a loading a hosted OSM basemap using L.tileLayer here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://esri.github.io/esri-leaflet/examples/geocoding-control.html"&gt;http://esri.github.io/esri-leaflet/examples/geocoding-control.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 21:52:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/open-street-map-and-leaflet-l-tilelayer/m-p/772535#M529</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2015-08-05T21:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Open Street Map and Leaflet (L.tileLayer) ??</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/open-street-map-and-leaflet-l-tilelayer/m-p/772536#M530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;Thanks for your reply! I had the correct syntax. The problem occurred in my browser. I refreshed, and it is working now. Thanks again for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 11:16:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/open-street-map-and-leaflet-l-tilelayer/m-p/772536#M530</guid>
      <dc:creator>JamesFitzgerald</dc:creator>
      <dc:date>2015-08-06T11:16:24Z</dc:date>
    </item>
  </channel>
</rss>

