You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
878 B
JavaScript
2 lines
878 B
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[128],{357:function(e,a,o){"use strict";o.r(a);var n=o(3),t=o(5),b=o(2),s=o(27),p="pk.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2pzbmg0Nmk5MGF5NzQzbzRnbDNoeHJrbiJ9.7_-_gL8ur7ZtEiNwRfCy7Q",c="https://{a-c}.tiles.mapbox.com/v4",l=[c+"/mapbox.blue-marble-topo-jan/{z}/{x}/{y}.png?access_token="+p,c+"/mapbox.blue-marble-topo-bathy-jan/{z}/{x}/{y}.png?access_token="+p,c+"/mapbox.blue-marble-topo-jul/{z}/{x}/{y}.png?access_token="+p,c+"/mapbox.blue-marble-topo-bathy-jul/{z}/{x}/{y}.png?access_token="+p],r=new s.a;new n.a({target:"map",layers:[new t.a({source:r})],view:new b.a({center:[0,0],zoom:2})});function m(e){r.setUrl(l[e])}for(var i=document.getElementsByClassName("switcher"),u=0,w=i.length;u<w;++u){var y=i[u];y.addEventListener("click",m.bind(null,Number(y.value)))}m(0)}},[[357,0]]]);
|
|
//# sourceMappingURL=reusable-source.js.map
|