RemoveMapLayerRequest
Removes a map layer from map.
Parameters
(* means the parameter is required)
Name | Type | Description | Default value |
---|---|---|---|
\* mapLayerId | String | id for map layer to be removed (Oskari.mapframework.service.MapLayerService) |
Examples
Remove layer with id 6 from the map.
Oskari.getSandbox().postRequestByName('RemoveMapLayerRequest', [6]);