Skip to content

Commit

Permalink
Merge pull request #888 from geomoose/tchaddad-patch-1
Browse files Browse the repository at this point in the history
Fix broken OSM Map Source on mobile demo
  • Loading branch information
klassenjs authored Nov 8, 2024
2 parents f8f72c6 + 1b9ae74 commit 13cc075
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions examples/mobile/mapbook.xml
Original file line number Diff line number Diff line change
Expand Up @@ -243,18 +243,17 @@
</map-source-->

<map-source name="openstreetmap" type="xyz">
<layer name="osm_mapnik">
<legend type="html"><![CDATA[
&copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> Contributors.
<br><br>
]]></legend>
</layer>
<url>https://a.tile.openstreetmap.org/{z}/{x}/{y}.png</url>
<url>https://b.tile.openstreetmap.org/{z}/{x}/{y}.png</url>
<url>https://c.tile.openstreetmap.org/{z}/{x}/{y}.png</url>
<layer name="osm_mapnik" status="on">
<attribution><![CDATA[
&copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> Contributors.
]]></attribution>
</layer>
<url>https://a.tile.openstreetmap.org/{z}/{x}/{y}.png</url>
<url>https://b.tile.openstreetmap.org/{z}/{x}/{y}.png</url>
<url>https://c.tile.openstreetmap.org/{z}/{x}/{y}.png</url>

<param name="cross-origin" value="anonymous"/>
</map-source>
</map-source>

<map-source name="wmflabs" type="xyz" printable="false">
<layer name="osm_black_n_white">
Expand Down

0 comments on commit 13cc075

Please sign in to comment.