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

12 lines (11 loc) 6.8 kB
/*! * filename: ej2-react-maps.umd.min.js * version : 32.1.24 * Copyright Syncfusion Inc. 2001 - 2025. 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&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-maps")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-maps"],e):e((t=t||self).ej={},t.ej2ReactBase,t.React,t.ej2Maps)}(this,function(e,t,I,n){"use strict";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])}))(t,e)};var o,r,i=function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},T=(r=t.ComplexBase,i(a,r),a.moduleName="layer",a);function a(){return null!==r&&r.apply(this,arguments)||this}p=t.ComplexBase,i(c,p),c.propertyName="layers",c.moduleName="layers";var p,i=c;function c(){return null!==p&&p.apply(this,arguments)||this}l=function(t,e){return(l=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)};var l,s,u=function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},q=(s=t.ComplexBase,u(f,s),f.moduleName="initialShapeSelection",f);function f(){return null!==s&&s.apply(this,arguments)||this}y=t.ComplexBase,u(m,y),m.propertyName="initialShapeSelection",m.moduleName="initialShapeSelections";var y,u=m;function m(){return null!==y&&y.apply(this,arguments)||this}h=function(t,e){return(h=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)};var h,_,v=function(t,e){function n(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},E=(_=t.ComplexBase,v(b,_),b.moduleName="marker",b.complexTemplate={"tooltipSettings.template":"tooltipSettings.template"},b);function b(){return null!==_&&_.apply(this,arguments)||this}d=t.ComplexBase,v(O,d),O.propertyName="markerSettings",O.moduleName="markers";var d,v=O;function O(){return null!==d&&d.apply(this,arguments)||this}F=function(t,e){return(F=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)};var F,j,U=function(t,e){function n(){this.constructor=t}F(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},z=(j=t.ComplexBase,U(g,j),g.moduleName="bubble",g.complexTemplate={"tooltipSettings.template":"tooltipSettings.template"},g);function g(){return null!==j&&j.apply(this,arguments)||this}N=t.ComplexBase,U(S,N),S.propertyName="bubbleSettings",S.moduleName="bubbles";var N,U=S;function S(){return null!==N&&N.apply(this,arguments)||this}G=function(t,e){return(G=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)};var G,C,H=function(t,e){function n(){this.constructor=t}G(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},J=(C=t.ComplexBase,H(K,C),K.moduleName="colorMapping",K);function K(){return null!==C&&C.apply(this,arguments)||this}x=t.ComplexBase,H(P,x),P.propertyName="colorMapping",P.moduleName="colorMappings";var x,H=P;function P(){return null!==x&&x.apply(this,arguments)||this}Q=function(t,e){return(Q=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)};var Q,B,V=function(t,e){function n(){this.constructor=t}Q(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},W=(B=t.ComplexBase,V(M,B),M.moduleName="navigationLine",M.complexTemplate={"tooltipSettings.template":"tooltipSettings.template"},M);function M(){return null!==B&&B.apply(this,arguments)||this}w=t.ComplexBase,V(D,w),D.propertyName="navigationLineSettings",D.moduleName="navigationLines";var w,V=D;function D(){return null!==w&&w.apply(this,arguments)||this}X=function(t,e){return(X=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)};var X,k,Y=function(t,e){function n(){this.constructor=t}X(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Z=(k=t.ComplexBase,Y($,k),$.moduleName="annotation",$);function $(){return null!==k&&k.apply(this,arguments)||this}A=t.ComplexBase,Y(L,A),L.propertyName="annotations",L.moduleName="annotations";var A,Y=L;function L(){return null!==A&&A.apply(this,arguments)||this}tt=function(t,e){return(tt=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)};var tt,R,et=function(t,e){function n(){this.constructor=t}tt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},et=(R=n.Maps,et(nt,R),nt.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return I.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));R.prototype.render.call(this),this.initRenderCalled=!0},nt);function nt(t){t=R.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!0,t.directivekeys={layers:{layer:{initialShapeSelections:"initialShapeSelection",markers:"marker",bubbles:{bubble:{colorMappings:"colorMapping"}},navigationLines:"navigationLine"}},annotations:"annotation"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(et,[t.ComponentBase,I.Component]),Object.keys(n).forEach(function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})}),Object.defineProperty(e,"Inject",{enumerable:!0,get:function(){return t.Inject}}),e.AnnotationDirective=Z,e.AnnotationsDirective=Y,e.BubbleDirective=z,e.BubblesDirective=U,e.ColorMappingDirective=J,e.ColorMappingsDirective=H,e.InitialShapeSelectionDirective=q,e.InitialShapeSelectionsDirective=u,e.LayerDirective=T,e.LayersDirective=i,e.MapsComponent=et,e.MarkerDirective=E,e.MarkersDirective=v,e.NavigationLineDirective=W,e.NavigationLinesDirective=V,Object.defineProperty(e,"__esModule",{value:!0})}); //# sourceMappingURL=ej2-react-maps.umd.min.js.map