@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
44 lines (43 loc) • 1.64 kB
JavaScript
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import { ComplexBase } from '@syncfusion/ej2-react-base';
/**
* Represents the directive to define the annotations in the maps.
* ```tsx
* <MapsComponent>
* <AnnotationsDirective>
* <AnnotationDirective></AnnotationDirective>
* </AnnotationsDirective>
* </MapsComponent>
* ```
*/
var AnnotationDirective = /** @class */ (function (_super) {
__extends(AnnotationDirective, _super);
function AnnotationDirective() {
return _super !== null && _super.apply(this, arguments) || this;
}
AnnotationDirective.moduleName = 'annotation';
return AnnotationDirective;
}(ComplexBase));
export { AnnotationDirective };
var AnnotationsDirective = /** @class */ (function (_super) {
__extends(AnnotationsDirective, _super);
function AnnotationsDirective() {
return _super !== null && _super.apply(this, arguments) || this;
}
AnnotationsDirective.propertyName = 'annotations';
AnnotationsDirective.moduleName = 'annotations';
return AnnotationsDirective;
}(ComplexBase));
export { AnnotationsDirective };