egovamap 0.21.4 → 0.21.6
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/egovamap/EGovaScene.js +1 -1
- package/egovamap/egovaBI.js +4 -0
- package/package.json +1 -1
package/egovamap/EGovaScene.js
CHANGED
package/egovamap/egovaBI.js
CHANGED
|
@@ -380,6 +380,10 @@ var egovaBI = function(globeMap, gisMap, mapType){
|
|
|
380
380
|
}
|
|
381
381
|
if(x&&y){
|
|
382
382
|
let item={...element.attributes,x,y};
|
|
383
|
+
if (globeMap && mapType == "globe"&&options.primaryKey) {
|
|
384
|
+
let primaryKeyValue=item[options.primaryKey]
|
|
385
|
+
primaryKeyValue!=undefined&&(item['attributes']={objectID:primaryKeyValue});
|
|
386
|
+
}
|
|
383
387
|
dataCache.push(item);
|
|
384
388
|
}else{
|
|
385
389
|
errorSize++;
|