UNPKG

esri-map-view

Version:

Display an Esri map view as a web component.

26 lines (20 loc) 2.43 kB
'use strict'; var index = require('./index-Df6oH7es.js'); var appGlobals = require('./app-globals-V2Kpy_OQ.js'); var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null; /* Stencil Client Patch Browser v4.43.4 | MIT Licensed | https://stenciljs.com */ var patchBrowser = () => { const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('esri-map-view.cjs.js', document.baseURI).href)); const opts = {}; if (importMeta !== "") { opts.resourcesUrl = new URL(".", importMeta).href; } return index.promiseResolve(opts); }; patchBrowser().then(async (options) => { await appGlobals.globalScripts(); return index.bootstrapLazy([["esri-map-view_2.cjs",[[0,"esri-map-view",{"apikey":[1537],"basemap":[1537],"webmap":[1537],"viewpoint":[1537],"layers":[1537],"search":[1537],"symbol":[1537],"symboloffset":[1537],"popuptitle":[1537],"popupinfo":[1537],"ui":[1537],"minmaxzoom":[1537]},null,{"apikey":[{"watchAPIKeyHandler":0}],"basemap":[{"watchBasemapHandler":0}],"webmap":[{"watchWebmapHandler":0}],"viewpoint":[{"watchViewPointHandler":0}],"layers":[{"watchLayersHandler":0}],"search":[{"watchSearchHandler":0}],"symbol":[{"watchSymbolHandler":0}],"symboloffset":[{"watchSymbolOffsetHandler":0}],"popuptitle":[{"watchPopupTitleHandler":0}],"popupinfo":[{"watchPopupInfoHandler":0}],"ui":[{"watchUIHandler":0}],"minmaxzoom":[{"watchMinMaxZoomHandler":0}]}],[0,"esri-scene-view",{"apikey":[1537],"basemap":[1537],"webscene":[1537],"viewpoint":[1537],"cameraposition":[1537],"layers":[1537],"search":[1537],"symbol":[1537],"symboloffset":[1537],"popuptitle":[1537],"popupinfo":[1537],"ui":[1537],"minmaxalt":[1537]},null,{"apikey":[{"watchAPIKeyHandler":0}],"basemap":[{"watchBasemapHandler":0}],"webscene":[{"watchWebSceneHandler":0}],"viewpoint":[{"watchViewPointHandler":0}],"cameraPosition":[{"watchCameraPositionHandler":0}],"layers":[{"watchLayersHandler":0}],"search":[{"watchSearchHandler":0}],"symbol":[{"watchSymbolHandler":0}],"symboloffset":[{"watchSymbolOffsetHandler":0}],"popuptitle":[{"watchPopupTitleHandler":0}],"popupinfo":[{"watchPopupInfoHandler":0}],"ui":[{"watchUIHandler":0}],"minmaxalt":[{"watchMinMaxAltHandler":0}]}]]]], options); }); exports.setNonce = index.setNonce;