JMap.Map.refreshLayerById
This method only works with vector layers that are not served via vector tiles
Refreshes the specified layer data on the Map. Can be called for instance after a feature has been added, deleted, or modified in the layer content server-side
The JMap layer id
Error if layer is not found
// Refreshes layer id 4 on the mapJMap.Map.refreshLayerById(4) Copy
// Refreshes layer id 4 on the mapJMap.Map.refreshLayerById(4)
JMap.Map.refreshLayerById
This method only works with vector layers that are not served via vector tiles
Refreshes the specified layer data on the Map. Can be called for instance after a feature has been added, deleted, or modified in the layer content server-side