Skip to content

Commit

Permalink
Remove stamen from examples; closes bozdoz#246
Browse files Browse the repository at this point in the history
  • Loading branch information
bozdoz committed Jan 9, 2024
1 parent 2ed3cf2 commit 66342b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion class.plugin-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ private function __construct()
'default'=>'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
'type' => 'text',
'helptext' => sprintf(
'%1$s: <a href="http://wiki.openstreetmap.org/wiki/Tile_servers" target="_blank"> %2$s </a>. %3$s: <a href="http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/" target="_blank"> %4$s </a>. %5$s <br/> <code>[leaflet-map tileurl=http://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.jpg subdomains=abcd]</code>',
'%1$s: <a href="http://wiki.openstreetmap.org/wiki/Tile_servers" target="_blank"> %2$s </a>. %3$s: <a href="http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/" target="_blank"> %4$s </a>. %5$s <br/> <code>[leaflet-map tileurl=http://{s}.example.com/{z}/{x}/{y}.jpg subdomains=abcd]</code>',
__('See more tile servers', 'leaflet-map'),
__('here', 'leaflet-map'),
__('Please note: free tiles from MapQuest have been discontinued without use of an API key', 'leaflet-map'),
Expand Down
3 changes: 0 additions & 3 deletions templates/shortcode-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@
__("Zoom Buttons", 'leaflet-map') => array(
'[leaflet-map zoom=10 lat=48.855 lng=2.35 zoomcontrol !detect-retina]',
),
__("Alternate Map Tiles w/scrollwheel", 'leaflet-map') => array(
'[leaflet-map zoom=2 scrollwheel lat=-2.507 lng=32.902 tileurl=https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.jpg subdomains=a,b,c,d attribution="Map tiles by Stamen Design, under CC BY 3.0."]',
),
__("Marker Popup Messages (on click)", 'leaflet-map') => array(
'[leaflet-map lat=59.913 lng=10.739 zoom=12]',
'[leaflet-marker]OSLO![/leaflet-marker]',
Expand Down

0 comments on commit 66342b8

Please sign in to comment.