Constructor | Description |
---|---|
esri.arcgis.gmaps.DynamicMapServiceLayer(url, parameters?, opacity?, callback?) | Creates a new DynamicMapServiceLayer from the ArcGIS Server REST resource identified by the url. The optional parameters argument is anImageParameters object that can be used to customize the image format, dpi and the layers to be shown. The opacity is given as a number between 0 and 1. If not given, the default is 1. Once it has finished loading the resource, the load event will be fired and the optional callback function will be invoked. Both the callback and the event handlers will receive a reference to this object that can be added to your map using the GMap2.addOverlay method. |
Property | Type | Description |
---|---|---|
url | String | URL to the ArcGIS Server REST resource that represents the dynamic map service. |
description | String | Map description. |
copyright | String | Copyright text. |
layerInfos | MapServiceLayerInfo[] | Layers available in the map service. |
initialExtent | GLatLngBounds | Initial extent (bounding box) as defined by the map service. If the map service is in a coordinate system that is not compatible with that of Google Maps, then the value of this property will be an object of the form: { "xmin" : <xmin>, "ymin" : <ymin>, "xmax" : <xmax>, "ymax" : <ymax>, "spatialReference" : { "wkid" : <wkid> } } However, if Config.geometryServiceUrl property is set, then it will be implicitly used to project the above extent to WGS 1984 Geographic Coordinate System (Well-Known ID = 4326). |
fullExtent | GLatLngBounds | Full extent (bounding box) as defined by the map service. If the map service is in a coordinate system that is not compatible with that of Google Maps, then the value of this property will be in the same format as described in initialExtent. |