Skip to content

Commit

Permalink
feat: updated maps to be more consistent with pelias/design
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit authored and missinglink committed May 15, 2020
1 parent 663c6ce commit da61395
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,13 @@

// create map
var map = L.map('map');
var tiles = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
var tiles = '//{s}.tile.jawg.io/jawg-terrain/{z}/{x}/{y}.png?access-token=t6fAKnvaPdPCucraY88YwlKjBfUHqBMvvZBIWlcp1Z9Z5FVtA02uWo6Dc9DGB2JO';

L.tileLayer( tiles, {
scrollWheelZoom: true,
zoomControl: true,
attributionControl: false,
attribution:'Map &copy; <a href="http://jawg.io" target="_blank" class="jawg-attrib"><b>Jawg</b>Maps</a> | Map data &copy; <a href="https://www.openstreetmap.org/copyright" target="_blank" class="osm-attrib">OpenStreetMap contributors</a>' ,
maxZoom: 22
}).addTo(map);

map.setView( new L.LatLng( 52.52, 13.40 ), 14 );
Expand Down

0 comments on commit da61395

Please sign in to comment.