21 lines
619 B
JavaScript
Raw Normal View History

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
var leafletmap = L.map('map', {
2019-03-29 14:37:06 -06:00
minZoom: 12,
maxZoom: 20
});
leafletmap.setView([46.595, -112.019], 13);
2019-03-29 14:37:06 -06:00
leafletmap.attributionControl.setPrefix("");
2019-03-28 18:03:26 -06:00
var leafletgllayer = L.mapboxGL({
2019-03-29 14:37:06 -06:00
attribution: "© OpenMapTiles © OpenStreetMap contributors",
accessToken: 'none',
2019-03-28 18:03:26 -06:00
style: 'https://maps.netsyms.net/styles/klokantech-3d-gl/style.json',
pitch: 0
});
leafletgllayer.addTo(leafletmap);