AtlasCT.com
User Manual v5.0

RemoteVectorLayer

Inheritance: Layer > VectorLayer > RemoteVectorLayer

The RemoteVectorLayer class allows you to add various of shapes (Polygon, Polyline, Circle, Marker) above the map from a remote server.
In order to add a RemoteVectorLayer to the map, you should add it to a LayersCollection object, which should attach to the map.
You can also add the layer directly to the map’s LayersManager object, that inherit from LayersCollection.

See understanding the layers architecture


Summary
Inheritance: Layer > VectorLayer > RemoteVectorLayer
The RemoteVectorLayer constructor.
Returns the url of the remote vector layer.
Redraw the layer.
Sets the url of the remote vector layer.

Constructors

RemoteVectorLayer

RemoteVectorLayer(string name)

The RemoteVectorLayer constructor.

Parameters

nameThe name of the new remote vector layer

getURL

string getURL()

Returns the url of the remote vector layer.

redraw

redraw()

Redraw the layer.

See Also

show, hide

setURL

setURL(string url)

Sets the url of the remote vector layer.

Parameters

urlThe url of the remote vector layer.
Inheritance: EventListener > Layer
Inheritance: Layer > VectorLayer
RemoteVectorLayer(string name)
The RemoteVectorLayer constructor.
setURL(string url)
Sets the url of the remote vector layer.
string getURL()
Returns the url of the remote vector layer.
redraw()
Redraw the layer.
Inheritance: Layer > LayersCollection
Inheritance: Layer > LayersCollection > LayersManager
t.show =function()
Shows the layer above the map.
t.hide =function()
Hides the layer from the map.