MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / removeL7MarkerLayer

Function removeL7MarkerLayer

src/common/mapping/utils/L7LayerUtil.js:1914–1920  ·  view source on GitHub ↗
(markerLayerId, scene)

Source from the content-addressed store, hash-verified

1912 }
1913
1914 function removeL7MarkerLayer(markerLayerId, scene) {
1915 const originalLayer = ChartController.getMarkerLayer(markerLayerId);
1916 if (originalLayer) {
1917 scene.removeMarkerLayer(originalLayer);
1918 ChartController.removeMarkerLayer(markerLayerId);
1919 }
1920 }
1921
1922 function addL7MarkerLayer(actionLayer, scene) {
1923 const { source, id: markerLayerId, chartType } = actionLayer;

Callers 1

addL7MarkerLayerFunction · 0.85

Calls 1

removeMarkerLayerMethod · 0.80

Tested by

no test coverage detected