mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
removed phantom graphic code
This commit is contained in:
parent
f3d3eb74f2
commit
9a154041d0
@ -401,7 +401,6 @@
|
||||
|
||||
setFeatureLayerClickHandler();
|
||||
setModalPopupClickListeners();
|
||||
updatePhantomGraphicsLayer();
|
||||
|
||||
map.centerAt(optionsObj.centerPt);
|
||||
map.setZoom(optionsObj.zoom);
|
||||
@ -781,14 +780,6 @@
|
||||
pendingEdits.innerHTML = count;
|
||||
});
|
||||
}
|
||||
|
||||
function updatePhantomGraphicsLayer(){
|
||||
var phantomLocalGraphics = localStorage.offlinePhantomGraphics;
|
||||
if(phantomLocalGraphics){
|
||||
var graphics = JSON.parse(phantomLocalGraphics);
|
||||
busStopFeatureLayer.setPhantomLayerGraphics(graphics);
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user