Skip to content

Commit 8d8d914

Browse files
committed
Update
1 parent 0ffc0d6 commit 8d8d914

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,12 @@ $(document).ready(function(){
7171
map.setMaxBounds([[84.67351256610522, -174.0234375], [-58.995311187950925, 223.2421875]]);
7272

7373
// Set the tile layer. Could use Mapbox, OpenStreetMap, etc.
74-
L.tileLayer('https://api.mapbox.com/styles/v1/alyssaxuu/ckr7v3hfk3qqk17qfu7zapbag/tiles/256/{z}/{x}/{y}@2x?access_token=pk.eyJ1IjoiYWx5c3NheHV1IiwiYSI6ImNrcjd1eXE0NDNicG8ycG54Z3ZsbWd1MDQifQ.Fr1_TnBXhGUAjYD0LuuOGQ', {
74+
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
7575
maxZoom: 18,
7676
zoomControl: false,
7777
zoomOffset: -1,
7878
minZoom:3,
79-
noWrap: true,
80-
tileSize:512,
81-
accessToken: 'pk.eyJ1IjoiYWx5c3NheHV1IiwiYSI6ImNrcjd2aTg3cTJycDMzMG1uZ2VxODNkdjEifQ.CuNTOgtueu_wAO21idRZ3w'
79+
noWrap: true
8280
}).addTo(map);
8381

8482
// Hide the default zoom control. I want a custom one!

0 commit comments

Comments
 (0)