We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 122f76f commit 6849a67Copy full SHA for 6849a67
src/maplibregl/core/MapExtend.js
@@ -10,9 +10,14 @@ import { createMapExtendExtending } from '@supermapgis/iclient-common/util/MapEx
10
* @private
11
*/
12
export var MapExtend = (function () {
13
+ const originMapProto = maplibregl.Map.prototype;
14
+
15
+ if (!originMapProto._inherit) {
16
maplibregl.Map = class MapEnhance extends createMapExtendExtending(maplibregl) {
17
constructor(options) {
18
super(options);
19
}
20
21
+ maplibregl.Map.prototype._inherit = true;
22
+ }
23
})();
0 commit comments