Instances of OpenLayers.Layer.ArcGIS93Rest are used to display data from ESRI ArcGIS Server 9.3 (and up?) Mapping Services using the REST API. Create a new ArcGIS93Rest layer with the OpenLayers.Layer.ArcGIS93Rest constructor. More detail on the REST API is available at http://sampleserver1.arcgisonline.com
OpenLayers. | Instances of OpenLayers.Layer.ArcGIS93Rest are used to display data from ESRI ArcGIS Server 9.3 (and up?) |
Constants | |
DEFAULT_PARAMS | {Object} Hashtable of default parameter key/value pairs |
Properties | |
isBaseLayer | {Boolean} Default is true for ArcGIS93Rest layer |
Constructor | |
OpenLayers. | Create a new ArcGIS93Rest layer object. |
Functions | |
clone | Create a clone of this layer |
getURL | Return an image url this layer. |
setLayerFilter | addTile creates a tile, initializes it, and adds it to the layer div. |
clearLayerFilter | Clears layer filters, either from a specific layer, or all of them. |
mergeNewParams | Catch changeParams and uppercase the new params to be merged in before calling changeParams on the super class. |
Create a new ArcGIS93Rest layer object.
var arcims = new OpenLayers.Layer.ArcGIS93Rest("MyName", "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/export", { layers: "0,1,2" });
name | {String} A name for the layer |
url | {String} Base url for the ArcGIS server REST service |
options | {Object} An object with key/value pairs representing the options and option values. |
format | {String} MIME type of desired image type. |
layers | {String} Comma-separated list of layers to display. |
srs | {String} Projection ID. |
clone: function ( obj )
Create a clone of this layer
{OpenLayers.Layer.ArcGIS93Rest} An exact clone of this layer
getURL: function ( bounds )
Return an image url this layer.
bounds | {OpenLayers.Bounds} A bounds representing the bbox for the request. |
{String} A string with the map image’s url.
setLayerFilter: function ( id, queryDef )
addTile creates a tile, initializes it, and adds it to the layer div.
id | {String} The id of the layer to which the filter applies. |
queryDef | {String} A sql-ish query filter, for more detail see the ESRI documentation at http://sampleserver1.arcgisonline.com |
Create a clone of this layer
clone: function ( obj )
Return an image url this layer.
getURL: function ( bounds )
addTile creates a tile, initializes it, and adds it to the layer div.
setLayerFilter: function ( id, queryDef )
Clears layer filters, either from a specific layer, or all of them.
clearLayerFilter: function ( id )
Catch changeParams and uppercase the new params to be merged in before calling changeParams on the super class.
mergeNewParams:function( newParams )