Methods
-
<static> arcGIS93RestLayer(url) → {Object}
-
Instantiates a ArcGIS93RestLayer
Parameters:
Name Type Description urlstring the layer URL
Returns:
- Type
- Object
-
<static> arcGISCacheLayer(url) → {Object}
-
Instantiates a ArcGISCacheLayer
Parameters:
Name Type Description urlstring the layer URL
Returns:
- Type
- Object
-
<static> coordinate(latitude, longitude) → {Object}
-
Returns a Coordinate
Parameters:
Name Type Description latitudenumber the latitude value
longitudenumber the longitude value
Returns:
- Type
- Object
-
<static> geoJsonLayer(id, path) → {Object}
-
Instantiates a GeoJsonLayer
Parameters:
Name Type Description idstring a unique key for the layer
pathstring the path to the GeoJson file
Returns:
- GeoJsonLayer
- Type
- Object
-
<static> image(url, width, height) → {Object}
-
Returns an Image
Parameters:
Name Type Description urlthe image URL
widththe image width in pixels
heightthe image height in pixels
Returns:
- Type
- Object
-
<static> kmlLayer(id, path) → {Object}
-
Instantiates a KMLLayer
Parameters:
Name Type Description idstring a unique key for the layer
pathstring the path to the KML file
Returns:
- Type
- Object
-
<static> wmsLayer(id, url, layers) → {Object}
-
Instantiates a WMSLayer
Parameters:
Name Type Description idstring a unique key for the layer
urlstring the layer URL
layersArray an array of the layer names to add
Returns:
- Type
- Object
-
<static> wmtsLayer(id, url, layer, matrixSet, style) → {Object}
-
Instantiates a WMTSLayer
Parameters:
Name Type Description idstring a unique key for the layer
urlstring the layer URL
layerstring the layer name
matrixSetstring the matrix set
stylestring the style
Returns:
- Type
- Object