@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
42 lines (41 loc) • 1.12 kB
JavaScript
class Theme {
constructor(elem) {
// Properties
Object.defineProperty(this, "id", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "icon", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "name", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "location", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
Object.defineProperty(this, "zoom", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
this.id = elem.id;
this.name = elem.name;
this.icon = elem.icon;
this.location = elem.location;
this.zoom = elem.zoom;
}
}
export default Theme;