@pirireis/webglobeplugins 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -246,6 +246,12 @@ export class TerrainPolygonSemiPlugin {
|
|
|
246
246
|
}
|
|
247
247
|
return this._lastPickedPolygon;
|
|
248
248
|
}
|
|
249
|
+
getPolygon(key) {
|
|
250
|
+
const index = this._indexPolygonMap['_polygonKeyMap'].get(key);
|
|
251
|
+
if (index === undefined)
|
|
252
|
+
return null;
|
|
253
|
+
return this._indexPolygonMap.get(index);
|
|
254
|
+
}
|
|
249
255
|
_selfSelect() {
|
|
250
256
|
const { globe, _pickerDisplayer } = this;
|
|
251
257
|
const pos = globe.api_GetMousePos();
|