@allmaps/render
Version:
Render functions for WebGL and image buffers
38 lines (37 loc) • 1.74 kB
JavaScript
var WarpedMapEventType = /* @__PURE__ */ ((WarpedMapEventType2) => {
WarpedMapEventType2["IMAGEINFOSADDED"] = "imageinfosadded";
WarpedMapEventType2["GEOREFERENCEANNOTATIONADDED"] = "georeferenceannotationadded";
WarpedMapEventType2["GEOREFERENCEANNOTATIONREMOVED"] = "georeferenceannotationremoved";
WarpedMapEventType2["WARPEDMAPADDED"] = "warpedmapadded";
WarpedMapEventType2["WARPEDMAPREMOVED"] = "warpedmapremoved";
WarpedMapEventType2["WARPEDMAPENTERED"] = "warpedmapentered";
WarpedMapEventType2["WARPEDMAPLEFT"] = "warpedmapleft";
WarpedMapEventType2["IMAGELOADED"] = "imageloaded";
WarpedMapEventType2["TILEFETCHED"] = "tilefetched";
WarpedMapEventType2["TILEFETCHERROR"] = "tilefetcherror";
WarpedMapEventType2["TILESFROMSPRITETILE"] = "tilesfromspritetile";
WarpedMapEventType2["MAPTILELOADED"] = "maptileloaded";
WarpedMapEventType2["MAPTILESLOADEDFROMSPRITES"] = "maptilesloadedfromsprites";
WarpedMapEventType2["MAPTILEDELETED"] = "maptiledeleted";
WarpedMapEventType2["FIRSTMAPTILELOADED"] = "firstmaptileloaded";
WarpedMapEventType2["ALLREQUESTEDTILESLOADED"] = "allrequestedtilesloaded";
WarpedMapEventType2["TEXTURESUPDATED"] = "texturesupdated";
WarpedMapEventType2["CLEARED"] = "cleared";
WarpedMapEventType2["PREPARECHANGE"] = "preparechange";
WarpedMapEventType2["IMMEDIATECHANGE"] = "immediatechange";
WarpedMapEventType2["ANIMATEDCHANGE"] = "animatedchange";
WarpedMapEventType2["CHANGED"] = "changed";
return WarpedMapEventType2;
})(WarpedMapEventType || {});
class WarpedMapEvent extends Event {
data;
constructor(type, data) {
super(type);
this.data = data;
}
}
export {
WarpedMapEvent,
WarpedMapEventType
};
//# sourceMappingURL=events.js.map