UNPKG

@here/harp-examples

Version:
1 lines 2.13 kB
(()=>{"use strict";var e={8835:(e,n,r)=>{n.x=void 0;const t=r(5636),o=r(3074),i=r(3838),a=r(4565);!function(e){function n(e){const n=document.getElementById(e),r=new o.MapView({canvas:n,theme:"resources/berlin_tilezen_base_globe.json"}),i=new t.MapControls(r),a=new t.MapControlsUI(i,{zoomLevel:"input",projectionSwitch:!0});return n.parentElement.appendChild(a.domElement),o.CopyrightElementHandler.install("copyrightNotice",r),r.resize(window.innerWidth,window.innerHeight),window.addEventListener("resize",(()=>{r.resize(window.innerWidth,window.innerHeight)})),r}e.initializeMapView=n;const r=n("mapCanvas"),l=new i.HereWebTileDataSource({apikey:a.apikey,tileBaseAddress:i.HereTileProvider.TILE_AERIAL_SATELLITE});r.addDataSource(l)}(n.x||(n.x={}))},4428:e=>{e.exports=THREE}},n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={exports:{}};return e[t].call(o.exports,o,o.exports,r),o.exports}r.m=e,r.x=e=>{},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.j=557,(()=>{var e={557:0,738:0},n=[[8835,592]],t=e=>{},o=(o,i)=>{for(var a,l,[s,p,u,d]=i,c=0,h=[];c<s.length;c++)l=s[c],r.o(e,l)&&e[l]&&h.push(e[l][0]),e[l]=0;for(a in p)r.o(p,a)&&(r.m[a]=p[a]);for(u&&u(r),o&&o(i);h.length;)h.shift()();return d&&n.push.apply(n,d),t()},i=self.webpackChunk_here_harp_examples=self.webpackChunk_here_harp_examples||[];function a(){for(var t,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),t=r(r.s=i[0]))}return 0===n.length&&(r.x(),r.x=e=>{}),t}i.forEach(o.bind(null,0)),i.push=o.bind(null,i.push.bind(i));var l=r.x;r.x=()=>(r.x=l||(e=>{}),(t=a)())})(),r.x()})();