new KML(userParameters, options, vendorOptions)
facade/js/layer/KML.js, line 30
Name | Type | Description |
---|---|---|
userParameters |
string | Mx.parameters.KML |
parameters |
options |
Mx.parameters.LayerOptions |
provided by the user |
vendorOptions |
Object |
vendor options for the base library |
Extends
- M.layer.Vector
Methods
-
equals(){boolean}
facade/js/layer/KML.js, line 148 -
Checks if an object is equal to this layer. Two KML layers are equal if both of them are instances of KML, and have the same 'name' and 'extract' attributes
Returns:
True if equal, false otherwise
-
setURL(newURL)
facade/js/layer/KML.js, line 136 -
Sets the url of the layer
Name Type Description newURL
String URL