A map layer defined by an ID and a name
Disable the infowindow on this layer. This method is useful if you want to implement your own infowindow outside of the map.
Filter the layer with a where clause. For example 'pop>2000'
The where clause
Optional
the dataset ID used by this layer
The datasource ID can be: Datahub, CSV, Excel, Shape, GeoJSON, catalog, sql. A datasourceId=CE means the dataset is dynamically loaded by the API.
the datasource ID of the layer.
the unique ID of the layer
the name of the layer
true is the layer's dataset is provided directly through the API
true to set visible, false to hide the layer
A map layer defined by an ID and a name