org.gwtopenmaps.openlayers.client.layer
Class ArcGIS93Rest

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
              extended by org.gwtopenmaps.openlayers.client.layer.Layer
                  extended by org.gwtopenmaps.openlayers.client.layer.HTTPRequestLayer
                      extended by org.gwtopenmaps.openlayers.client.layer.GridLayer
                          extended by org.gwtopenmaps.openlayers.client.layer.ArcGIS93Rest

public class ArcGIS93Rest
extends GridLayer

Author:
Michel Vitor A Rodrigues - Intec

Field Summary
 
Fields inherited from class org.gwtopenmaps.openlayers.client.layer.Layer
ARCGIS93REST_CLASS_NAME, BOXES_CLASS_NAME, GOOGLE_CLASS_NAME, GRIDLAYER_CLASS_NAME, HTTPREQUESTLAYER_CLASS_NAME, IMAGE_CLASS_NAME, MARKERS_CLASS_NAME, OSM_CLASS_NAME, TMS_CLASS_NAME, VECTOR_CLASS_NAME, WMS_CLASS_NAME, XYZ_CLASS_NAME
 
Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
eventListeners
 
Constructor Summary
protected ArcGIS93Rest(JSObject element)
           
  ArcGIS93Rest(String name, String[] urls, WMSParams params)
          Constructor: ArcGIS93Rest Create a new ArcGIS93Rest layer object.
  ArcGIS93Rest(String name, String[] urls, WMSParams params, WMSOptions layerParams)
          Constructor: ArcGIS93Rest Create a new ArcGIS93Rest layer object.
  ArcGIS93Rest(String name, String url, WMSParams params)
          Constructor: ArcGIS93Rest Create a new ArcGIS93Rest layer object.
  ArcGIS93Rest(String name, String url, WMSParams params, ArcGIS93RestOptions options)
          Constructor: ArcGIS93Rest Create a new ArcGIS93Rest layer object.
 
Method Summary
 void addTile(Bounds bounds, Pixel position)
          Method: addTile addTile creates a tile, initializes it, and adds it to the layer div.
 void clearLayerFilter(String id)
          Method: clearLayerFilter Clears layer filters, either from a specific layer, or all of them.
 ArcGIS93Rest clone(ArcGIS93Rest obj)
          Method: clone Create a clone of this layer Returns: {} An exact clone of this layer
 void destroy()
          Method: destroy Destroy this layer
 int getNumLoadingTiles()
           
 String getURL(Bounds bounds)
          Method: getURL Return an image url this layer.
 boolean mergeNewParams(Params params)
          APIMethod: mergeNewParams Catch changeParams and uppercase the new params to be merged in before calling changeParams on the super class.
 ArcGIS93Rest narrowToArcGIS93Rest(JSObject arcgis93Rest)
           
 void setIsBaseLayer(boolean isBaseLayer)
          APIProperty: isBaseLayer {Boolean} Default is true for ArcGIS93Rest layer
 void setLayerFilter(String id, String queryDef)
          Method: setLayerFilter addTile creates a tile, initializes it, and adds it to the layer div.
 
Methods inherited from class org.gwtopenmaps.openlayers.client.layer.GridLayer
narrowToGridLayer, setBuffer, setNumLoadingTiles, setRatio, setSingleTile, setTitleSize
 
Methods inherited from class org.gwtopenmaps.openlayers.client.layer.HTTPRequestLayer
clone, getFullRequestString, narrowToHTTPRequestLayer, redraw, selectUrl, setUrl
 
Methods inherited from class org.gwtopenmaps.openlayers.client.layer.Layer
addLayerLoadCancelListener, addLayerLoadEndListener, addLayerLoadStartListener, addLayerVisibilityChangedListener, addOptions, displayInLayerSwitcher, getId, getName, getOpacity, getZIndex, isBaseLayer, isVisible, narrowToLayer, redraw, setDisplayInLayerSwitcher, setIsVisible, setName, setOpacity, setZIndex
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
getListeners, narrowToOpenLayersEObjectWrapper, removeListener
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
getClassName, getEvents, narrowToOpenLayersObjectWrapper
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArcGIS93Rest

protected ArcGIS93Rest(JSObject element)

ArcGIS93Rest

public ArcGIS93Rest(String name,
                    String url,
                    WMSParams params,
                    ArcGIS93RestOptions options)
Constructor: ArcGIS93Rest Create a new ArcGIS93Rest layer object. Example: (code) ArcGIS93Rest arcGIS93Rest = new ArcGIS93Rest("MyName", "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/export", WMSParams,ArcGIS93RestOptions ); (end) Parameters: 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. Valid Options: format: {String} MIME type of desired image type. layers: {String} Comma-separated list of layers to display. srs: {String} Projection ID.


ArcGIS93Rest

public ArcGIS93Rest(String name,
                    String url,
                    WMSParams params)
Constructor: ArcGIS93Rest Create a new ArcGIS93Rest layer object. Example: (code) ArcGIS93Rest arcGIS93Rest = new ArcGIS93Rest("MyName", "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/export", WMSParams ); (end) Parameters: name - {String} A name for the layer url - {String} Base url for the ArcGIS server REST service


ArcGIS93Rest

public ArcGIS93Rest(String name,
                    String[] urls,
                    WMSParams params)
Constructor: ArcGIS93Rest Create a new ArcGIS93Rest layer object. Example: (code) ArcGIS93Rest arcGIS93Rest = new ArcGIS93Rest("MyName", "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/export", WMSParams ); (end) Parameters: name - {String} A name for the layer vetor url[] - {String} Base url for the ArcGIS server REST service options - {Object} An object with key/value pairs representing the options and option values. Valid Options: format: {String} MIME type of desired image type. layers: {String} Comma-separated list of layers to display. srs: {String} Projection ID.


ArcGIS93Rest

public ArcGIS93Rest(String name,
                    String[] urls,
                    WMSParams params,
                    WMSOptions layerParams)
Constructor: ArcGIS93Rest Create a new ArcGIS93Rest layer object. Example: (code) ArcGIS93Rest arcGIS93Rest = new ArcGIS93Rest("MyName", "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/export", WMSParams ); (end) Parameters: name - {String} A name for the layer vetor url[] - {String} Base url for the ArcGIS server REST service

Method Detail

narrowToArcGIS93Rest

public ArcGIS93Rest narrowToArcGIS93Rest(JSObject arcgis93Rest)

setIsBaseLayer

public void setIsBaseLayer(boolean isBaseLayer)
APIProperty: isBaseLayer {Boolean} Default is true for ArcGIS93Rest layer

Overrides:
setIsBaseLayer in class Layer

destroy

public void destroy()
Method: destroy Destroy this layer

Overrides:
destroy in class HTTPRequestLayer

clone

public ArcGIS93Rest clone(ArcGIS93Rest obj)
Method: clone Create a clone of this layer Returns: {} An exact clone of this layer


getURL

public String getURL(Bounds bounds)
Method: getURL Return an image url this layer. Parameters: bounds - {} A bounds representing the bbox for the request. Returns: {String} A string with the map image's url.


setLayerFilter

public void setLayerFilter(String id,
                           String queryDef)
Method: setLayerFilter addTile creates a tile, initializes it, and adds it to the layer div. Parameters: 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/ArcGIS/SDK/REST/export.html


clearLayerFilter

public void clearLayerFilter(String id)
Method: clearLayerFilter Clears layer filters, either from a specific layer, or all of them. Parameters: id - {String} The id of the layer from which to remove any filter. If unspecified/blank, all filters will be removed.


mergeNewParams

public boolean mergeNewParams(Params params)
APIMethod: mergeNewParams Catch changeParams and uppercase the new params to be merged in before calling changeParams on the super class. Once params have been changed, the tiles will be reloaded with the new parameters. Parameters: newParams - {Object} Hashtable of new params to use

Overrides:
mergeNewParams in class HTTPRequestLayer

addTile

public void addTile(Bounds bounds,
                    Pixel position)
Method: addTile addTile creates a tile, initializes it, and adds it to the layer div. Parameters: bounds - {} position - {} Returns: {} The added OpenLayers.Tile.Image


getNumLoadingTiles

public int getNumLoadingTiles()


Copyright © 2011 sourceforge. All Rights Reserved.