UNPKG

@syncfusion/ej2-react-maps

Version:

The Maps component is used to visualize the geographical data and represent the statistical data of a particular geographical area on earth with user interactivity, and provides various customizing options for React

10 lines 8.32 kB
/*! * filename: ej2-react-maps.min.js * version : 30.1.37 * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosecuted under * applicable laws. */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionMaps")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionMaps"],e):"object"==typeof exports?exports.SyncfusionReactMaps=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionMaps")):t.SyncfusionReactMaps=e(t.SyncfusionReactBase,t.React,t.SyncfusionMaps)}(self,(t,e,n)=>(()=>{"use strict";var o={216:(t,e,n)=>{n.d(e,{zx:()=>D,Vd:()=>M,NS:()=>_,yr:()=>h,U0:()=>d,$Z:()=>b,SE:()=>u,kQ:()=>s,A$:()=>a,_L:()=>p,Eq:()=>C,GG:()=>f,Vz:()=>y,Ek:()=>O,BY:()=>g});var o,r=n(705),i=(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.moduleName="layer",e}(r.ComplexBase),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.propertyName="layers",e.moduleName="layers",e}(r.ComplexBase),c=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.moduleName="initialShapeSelection",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.propertyName="initialShapeSelection",e.moduleName="initialShapeSelections",e}(r.ComplexBase),l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.moduleName="marker",e.complexTemplate={"tooltipSettings.template":"tooltipSettings.template"},e}(r.ComplexBase),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.propertyName="markerSettings",e.moduleName="markers",e}(r.ComplexBase),m=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return m(e,t),e.moduleName="bubble",e.complexTemplate={"tooltipSettings.template":"tooltipSettings.template"},e}(r.ComplexBase),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return m(e,t),e.propertyName="bubbleSettings",e.moduleName="bubbles",e}(r.ComplexBase),v=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.moduleName="colorMapping",e}(r.ComplexBase),b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.propertyName="colorMapping",e.moduleName="colorMappings",e}(r.ComplexBase),S=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return S(e,t),e.moduleName="navigationLine",e.complexTemplate={"tooltipSettings.template":"tooltipSettings.template"},e}(r.ComplexBase),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return S(e,t),e.propertyName="navigationLineSettings",e.moduleName="navigationLines",e}(r.ComplexBase),x=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return x(e,t),e.moduleName="annotation",e}(r.ComplexBase),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return x(e,t),e.propertyName="annotations",e.moduleName="annotations",e}(r.ComplexBase),j=n(24),N=n(639),B=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),C=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={layers:{layer:{initialShapeSelections:"initialShapeSelection",markers:"marker",bubbles:{bubble:{colorMappings:"colorMapping"}},navigationLines:"navigationLine"}},annotations:"annotation"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.isReactMock=!0,n.portals=[],n}return B(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return j.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(N.Maps);(0,r.applyMixins)(C,[r.ComponentBase,j.Component])},24:t=>{t.exports=e},639:t=>{t.exports=n},705:e=>{e.exports=t}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={exports:{}};return o[t](n,n.exports,i),n.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{AnnotationDirective:()=>t.zx,AnnotationsDirective:()=>t.Vd,BubbleDirective:()=>t.NS,BubblesDirective:()=>t.yr,ColorMappingDirective:()=>t.U0,ColorMappingsDirective:()=>t.$Z,InitialShapeSelectionDirective:()=>t.SE,InitialShapeSelectionsDirective:()=>t.kQ,Inject:()=>e.Inject,LayerDirective:()=>t.A$,LayersDirective:()=>t._L,MapsComponent:()=>t.Eq,MarkerDirective:()=>t.GG,MarkersDirective:()=>t.Vz,NavigationLineDirective:()=>t.Ek,NavigationLinesDirective:()=>t.BY});var t=i(216),e=i(705),n=i(639),o={};for(const t in n)["default","Inject","AnnotationDirective","AnnotationsDirective","BubbleDirective","BubblesDirective","ColorMappingDirective","ColorMappingsDirective","InitialShapeSelectionDirective","InitialShapeSelectionsDirective","LayerDirective","LayersDirective","MapsComponent","MarkerDirective","MarkersDirective","NavigationLineDirective","NavigationLinesDirective"].indexOf(t)<0&&(o[t]=()=>n[t]);i.d(a,o)})(),a})());