GeoXmlLayer Class
Bing
A layer that loads and renders geospatial XML data on the map.
GeoXmlLayer(dataSource?: string or ArrayBuffer, isUrl?: boolean, options?: GeoXmlLayerOptions)
| Name | Type | Description |
|---|---|---|
metadata | object | Optional property to store any additional metadata for this layer. |
| Name | Return Type | Description |
|---|---|---|
clear() | Removes all the data in the layer. | |
dispose() | Cleans up any resources this object is consuming. | |
getDataSource() | string or ArrayBuffer | Returns the data source used by the layer. |
getDataSet() | GeoXmlDataSet | Returns the data set that ws extracted from the data source. |
getOptions() | GeoXmlLayerOptions | Returns the options used by the GeoXmlLayer. |
getVisible() | boolean | Gets a value indicating whether the layer is visible or not. |
setDataSource(dataSource: string *or* ArrayBuffer, isUrl: boolean) | Sets the data source to render in the GeoXmlLayer. | |
setOptions(options: GeoXmlLayerOptions) | Sets the options used for loading and rendering data into the GeoXmlLayer. | |
setVisible(value: boolean) | Sets whether the layer is visible or not. |
Show: