UNPKG

@here/harp-examples

Version:
1 lines 2.18 kB
(()=>{"use strict";var e={5999:(e,n,t)=>{n.Y=void 0;const r=t(8957),o=t(5636),i=t(3074),a=t(2998),l=t(4565);n.Y||(n.Y={}),function(){const e=function(e){const n=document.getElementById("mapCanvas"),t=new i.MapView({canvas:n,projection:r.sphereProjection,theme:"resources/berlin_tilezen_base_globe.json"});return i.CopyrightElementHandler.install("copyrightNotice",t),t.resize(window.innerWidth,window.innerHeight),window.addEventListener("resize",(()=>{t.resize(window.innerWidth,window.innerHeight)})),t}(),n=new a.VectorTileDataSource({baseUrl:"https://vector.hereapi.com/v2/vectortiles/base/mc",authenticationCode:l.apikey});e.addDataSource(n);const t=new o.MapControls(e);t.maxTiltAngle=90;const s=new o.MapControlsUI(t,{zoomLevel:"input"});e.canvas.parentElement.appendChild(s.domElement)}()},4428:e=>{e.exports=THREE}},n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{}};return e[r].call(o.exports,o,o.exports,t),o.exports}t.m=e,t.x=e=>{},t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.j=489,(()=>{var e={489:0,738:0},n=[[5999,592]],r=e=>{},o=(o,i)=>{for(var a,l,[s,p,c,u]=i,d=0,h=[];d<s.length;d++)l=s[d],t.o(e,l)&&e[l]&&h.push(e[l][0]),e[l]=0;for(a in p)t.o(p,a)&&(t.m[a]=p[a]);for(c&&c(t),o&&o(i);h.length;)h.shift()();return u&&n.push.apply(n,u),r()},i=self.webpackChunk_here_harp_examples=self.webpackChunk_here_harp_examples||[];function a(){for(var r,o=0;o<n.length;o++){for(var i=n[o],a=!0,l=1;l<i.length;l++){var s=i[l];0!==e[s]&&(a=!1)}a&&(n.splice(o--,1),r=t(t.s=i[0]))}return 0===n.length&&(t.x(),t.x=e=>{}),r}i.forEach(o.bind(null,0)),i.push=o.bind(null,i.push.bind(i));var l=t.x;t.x=()=>(t.x=l||(e=>{}),(r=a)())})(),t.x()})();