SpatialReference
+Graphic(in geometry : Geometry, in symbol : Symbol, in attributes : Object, in infoTemplate : InfoTemplate)
+Graphic(in json : Object)
+getContent() : String
+getDojoShape() : dojox.gfx.Shape
+getTitle() : String
+hide()
+setAttributes(in attributes : Object) : Graphic
+setGeometry(in geometry : Geometry) : Graphic
+setInfoTemplate(in infoTemplate : InfoTemplate) : Graphic
+setSymbol(in symbol) : Graphic
+show()
+toJson() : Object
Graphic
+attributes : Object
+geometry : Geometry
+infoTemplate : InfoTemplate
+symbol : Symbol
+InfoTemplate()
+InfoTemplate(in title : String, in content : String)
+InfoTemplate(in json : Object)
+setContent(in template : String) : InfoTemplate
+setTitle(in template : String) : InfoTemplate
+toJson() : Object
InfoTemplate
+content : String
+title : String
«type»
TileInfo
+dpi : Number
+format : String
+height : Number
+lods : LOD[]
+origin : Point
+spatialReference : SpatialReference
+width : Number
+LOD(in json : Object)
«type»LOD
+level : Number
+resolution : Number
+scale : Number
+ImageParameters()
ImageParameters
+bbox : Extent
+dpi : Number = 96
+format : String = png
+height : Number
+imageSpatialReference : SpatialReference
+layerDefinitions : String[]
+layerIds : Number[]
+layerOption : String
+transparent : Boolean = true
+width : Number
+LAYER_OPTION_EXCLUDE : String = exclude
+LAYER_OPTION_HIDE : String = hide
+LAYER_OPTION_INCLUDE : String = include
+LAYER_OPTION_SHOW : String = show
MapImage
+extent : Extent
+height : Number
+href : String
+scale : Number
+width : Number
+setColor(in color : dojo.Color) : Symbol
+toJson() : Object
«type»
Symbol
+color : dojo.Color
+type : String
+setAngle(in angle : Number) : MarkerSymbol
+setOffset(in x : Number, in y : Number) : MarkerSymbol
+setSize(in size : Number) : MarkerSymbol
«type»MarkerSymbol
+angle : Number = 0
+size : Number
+xoffset : Number = 0
+yoffset : Number = 0
+PictureMarkerSymbol(in url : String, in width : Number, in height : Number)
+PictureMarkerSymbol(in json : Object)
+setHeight(in height : Number) : PictureMarkerSymbol
+setUrl(in url : String) : PictureMarkerSymbol
+setWidth(in width : Number) : PictureMarkerSymbol
PictureMarkerSymbol
+height : Number
+type : String = picturemarkersymbol
+url : String
+width : Number
+SimpleMarkerSymbol()
+SimpleMarkerSymbol(in style : String, in size : Number, in outline : SimpleLineSymbol, in color : dojo.Color)
+SimpleMarkerSymbol(in json : Object)
+setOutline(in outline : SimpleLineSymbol) : SimpleMarkerSymbol
+setStyle(in style : String) : SimpleMarkerSymbol
SimpleMarkerSymbol
+outline : SimpleLineSymbol
+style : String = STYLE_CIRCLE
+type : String = simplemarkersymbol
+STYLE_CIRCLE : String = circle
+STYLE_CROSS : String = cross
+STYLE_DIAMOND : String = diamond
+STYLE_SQUARE : String = square
+STYLE_X : String = x
+setWidth(in width : Number) : LineSymbol
«type»LineSymbol
+width : Number = 1
+SimpleLineSymbol()
+SimpleLineSymbol(in style : String, in color : dojo.Color, in width : Number)
+SimpleLineSymbol(in json : Object)
+setStyle(in style : String) : SimpleLineSymbol
SimpleLineSymbol
+style : String = STYLE_SOLID
+type : String = simplelinesymbol
+STYLE_DASH : String = dash
+STYLE_DASHDOT : String = dashdotdot
+STYLE_DASHDOTDOT : String = dashdotdot
+STYLE_DOT : String = dot
+STYLE_NULL : String = none
+STYLE_SOLID : String = solid
+CartographicLineSymbol()
+CartographicLineSymbol(in style : String, in color : dojo.Color, in width : Number, in cap : String, in join : String, in miterLimit : String)
+CartographicLineSymbol(in json : Object)
+setCap(in cap : String) : CartographicLineSymbol
+setJoin(in join : String) : CartographicLineSymbol
+setMiterLimit(in miterLimit : String) : CartographicLineSymbol
CartographicLineSymbol
+cap : String = CAP_BUTT
+join : String = JOIN_MITER
+miterLimit : Number = 10
+type : String = cartographiclinesymbol
+CAP_BUTT : String = butt
+CAP_ROUND : String = round
+CAP_SQUARE : String = square
+JOIN_BEVEL : String = bevel
+JOIN_MITER : String = miter
+JOIN_ROUND : String = round
+setOutline(in outline : SimpleLineSymbol) : FillSymbol
«type»FillSymbol
+outline : SimpleLineSymbol
+SimpleFillSymbol()
+SimpleFillSymbol(in style : String, in outline : SimpleLineSymbol, in color : dojo.Color)
+SimpleFillSymbol(in json : Object)
+setStyle(in style : String) : SimpleFillSymbol
SimpleFillSymbol
+style : String = STYLE_SOLID
+type : String = simplefillsymbol
+STYLE_BACKWARD_DIAGONAL : String = backwarddiagonal
+STYLE_CROSS : String = cross
+STYLE_DIAGONAL_CROSS : String = diagonalcross
+STYLE_FORWARD_DIAGONAL : String = forwarddiagonal
+STYLE_HORIZONTAL : String = horizontal
+STYLE_NULL : String = none
+STYLE_SOLID : String = solid
+STYLE_VERTICAL : String = vertical
+PictureFillSymbol(in url : String, in outline : SimpleLineSymbol, in width : Number, in height : Number)
+PictureFillSymbol(in json : Object)
+setHeight(in height : Number) : PictureFillSymbol
+setOffset(in x : Number, in y : Number)
+setUrl(in url : String) : PictureFillSymbol
+setWidth(in width : Number) : PictureFillSymbol
+setXScale(in scale : Number) : PictureFillSymbol
+setYScale(in scale : Number) : PictureFillSymbol
PictureFillSymbol
+type : String = picturefillsymbol
+url : String
+xoffset : Number = 0
+xscale : Number = 1
+yoffset : Number = 0
+yscale : Number = 1
+TextSymbol(in text : String)
+TextSymbol(in text : String, in font : Font, in color : dojo.Color)
+TextSymbol(in json : Object)
+setAlign(in align : String) : TextSymbol
+setAngle(in angle : Number) : TextSymbol
+setDecoration(in decoration : String) : TextSymbol
+setFont(in font : Font) : TextSymbol
+setKerning(in kerning : Boolean) : TextSymbol
+setOffset(in x : Number, in y : Number) : TextSymbol
+setRotated(in rotated : Boolean) : TextSymbol
+setText(in text : String) : TextSymbol
TextSymbol
+align : String = ALIGN_MIDDLE
+angle : Number = 0
+decoration : String = DECORATION_NONE
+font : Font
+kerning : Boolean = true
+rotated : Boolean = false
+text : String
+type : String = textsymbol
+xoffset : Number = 0
+yoffset : Number = 0
+ALIGN_END : String = end
+ALIGN_MIDDLE : String = middle
+ALIGN_START : String = start
+DECORATION_LINETHROUGH : String = line-through
+DECORATION_NONE : String = none
+DECORATION_OVERLINE : String = overline
+DECORATION_UNDERLINE : String = underline
+Font()
+Font(in size : Number, in style : String, in variant : String, in weight : String, in family : String)
+Font(in json : Object)
+setSize(in size : String) : Font
+setStyle(in style : String) : Font
+setVariant(in variant : String) : Font
+setWeight(in weight : String) : Font
+setFamily(in family : String) : Font
Font
+family : String = serif
+size : String = 10pt
+style : String = STYLE_NORMAL
+variant : String = VARIANT_NORMAL
+weight : String = WEIGHT_NORMAL
+STYLE_ITALIC : String = italic
+STYLE_NORMAL : String = normal
+STYLE_OBLIQUE : String = oblique
+VARIANT_NORMAL : String = normal
+VARIANT_SMALLCAPS : String = smallcaps
+WEIGHT_BOLD : String = bold
+WEIGHT_BOLDER : String = bolder
+WEIGHT_LIGHTER : String = lighter
+WEIGHT_NORMAL : String = normal
LayerMap
Symbol
+ArcGISTiledMapServiceLayer(in url : String, in options? : Object)
ArcGISTiledMapServiceLayer
+tileInfo : TileInfo
ArcGISTiledMapServiceLayer Constructor Options
+displayLevels : Number[]
+id : String
+opacity : Number = 1.0
+tileServers : String[]
+visible : Boolean = true
ArcGISDynamicMapServiceLayer Constructor
Options
+id : String
+imageParameters : ImageParameters
+opacity : Number = 1.0
+useMapImage : Boolean
+visible : Boolean = true
Layer Constructor Options
+id : String
+opacity : Number = 1.0
+visible : Boolean = true
+ArcGISImageServiceLayer(in url : String)
+exportMapImage(in imageServiceParams?, in callback? : Function)
+setBandIds(in bandIds : Number[])
+setCompressionQuality(in quality : Number)
+setDisableClientCaching(in disable : Boolean)
+setInterpolation(in interpolation : String)
+onMapImageExport(out mapImage : MapImage)
ArcGISImageServiceLayer
+bands : Object[]
+bandCount : Number
+bandIds : Number[]
+compressionQuality : Number
+copyrightText : String
+description : String
+disableClientCaching : Boolean = false
+format : String = png
+interpolation : String
+pixelSizeX : Number
+pixelSizeY : Number
+pixelType : String
+ImageServiceParameters()
ImageServiceParameters
+bandIds : Number[]
+compressionQuality : Number
+extent : Extent
+format : String
+height : Number
+interpolation : String
+width : Number
+INTERPOLATION_BILINEAR : String = RSP_BilinearInterpolation
+INTERPOLATION_CUBICCONVOLUTION : String = RSP_CubicConvolution
+INTERPOLATION_MAJORITY : String = RSP_Majority
+INTERPOLATION_NEARESTNEIGHBOR : String = RSP_NearestNeighbor
ArcGISImageServiceLayer Constructor Options
+id : String
+imageServiceParameters : ImageServiceParameters
+opacity : Number = 1.0
+visible : Boolean = true
«type»LayerInfo
+defaultVisibility : Boolean
+id : Number
+name : String
+parentLayerId : Number
+subLayerIds : Number[]
+hide()
+setOpacity(in opacity : Number)
+show()
+onError(out error : Error)
+onLoad(out layer : Layer)
+onOpacityChange(out opacity : Number)
+onUpdate()
+onVisibilityChange(out visibility : Boolean)
«type»layers::Layer
+id : String
+loaded : Boolean
+opacity : Number = 1.0
+visible : Boolean = true
+url : String
+getTileUrl(in level : Number, in row : Number,
in column : Number) : String
+refresh()
layers::TiledMapServiceLayer
+tileInfo : TileInfo
+fullExtent : Extent
+initialExtent : Extent
+spatialReference : SpatialReference
+getImageUrl(in extent : Extent, in width : Number,
in height : Number, in callback : Function)
+refresh()
layers::DynamicMapServiceLayer
+fullExtent : Extent
+initialExtent : Extent
+spatialReference : SpatialReference
Map
Functions
Properties
layers::GraphicsLayer Constructor Options
+displayOnPan : Boolean = true
+id : String
+visible : Boolean = true
+getSymbol(in graphic : Graphic) : Symbol
renderer::Renderer
+defaultSymbol : Symbol
+SimpleRenderer(in defaultSymbol : Symbol)
renderer::SimpleRenderer
+symbol : Symbol
+UniqueValueRenderer(in defaultSymbol : Symbol, in attributeField : String)
+addValue(in value : String, in symbol : Symbol)
+removeValue(in value : String)
renderer::UniqueValueRenderer
+attributeField : String
+values : String[]
+ClassBreaksRenderer(in defaultSymbol : Symbol, in attributeField : String)
+addBreak(in minValue : Number, in maxValue : Number, in symbol : Symbol)
+removeBreak(in minValue : Number, in maxValue : Number)
renderer::ClassBreaksRenderer
+attributeField : String
+breaks : Object[]
Renderer
+VETiledLayer(in options : Object)
+setClientToken(in clientToken : String)
+setCulture(in culture : String)
+setMapStyle(in style : String)
+setServerToken(in serverToken : String)
virtualearth::VETiledLayer
+clientToken : String
+environment : String = staging
+culture : String = en-US
+mapStyle : String = MAP_STYLE_ROAD
+serverToken : String
+tokenDuration : Number = 480
+tokenUrl : String
+MAP_STYLE_AERIAL : String = aerial
+MAP_STYLE_AERIAL_WITH_LABELS : String = aerialWithLabels
+MAP_STYLE_ROAD : String = road
virtualearth::VETiledLayer Constructor Options
+clientToken : String
+culture : String
+environment : String
+mapStyle : String
+serverToken : String
+tokenDuration : String
+tokenUrl : String
+Draw(in map : Map)
+activate(in geometryType : String)
+deactivate()
+setFillSymbol(in fillSymbol : FillSymbol)
+setLineSymbol(in lineSymbol : LineSymbol)
+setMarkerSymbol(in markerSymbol : MarkerSymbol)
+setRespectDrawingVertexOrder(in set : Boolean)
+onDrawEnd(out geometry : Geometry)
Draw
+fillSymbol : SimpleFillSymbol
+lineSymbol : SimpleLineSymbol
+markerSymbol : SimpleMarkerSymbol
+respectDrawingVertexOrder : Boolean = false
+EXTENT : String = extent
+FREEHAND_POLYGON : String = freehandpolygon
+FREEHAND_POLYLINE : String = freehandpolyline
+LINE : String = line
+MULTI_POINT : String = multipoint
+POINT : String = point
+POLYGON : String = polygon
+POLYLINE : String = polyline
+Navigation(in map : Map)
+activate(in navType : String)
+deactivate()
+isFirstExtent() : Boolean
+isLastExtent() : Boolean
+zoomToFullExtent()
+zoomToNextExtent()
+zoomToPrevExtent()
+onExtentHistoryChange()
Navigation
+PAN : String = pan
+ZOOM_IN : String = zoomin
+ZOOM_OUT : String = zoomout
Toolbar
+hide()
+move(in point : Point)
+resize(in width : Number, in height : Number)
+setContent(in stringOrDOMNode : Object) : InfoWindow
+setFixedAnchor(in anchor : String)
+setTitle(in title : String) : InfoWindow
+show(in point : Point, in anchor : String)
+onHide()
+onShow()
InfoWindow
+anchor : String = ANCHOR_UPPERRIGHT
+coords : Point
+fixedAnchor : String
+isShowing : Boolean
+ANCHOR_LOWERLEFT : String = lowerleft
+ANCHOR_LOWERRIGHT : String = lowerright
+ANCHOR_UPPERLEFT : String = upperleft
+ANCHOR_UPPERRIGHT : String = upperright
Dijit
ArcGIS JavaScript API
http://serverapi.arcgisonline.com/jsapi/arcgis/?v=1.5
Version 1.5
(Page 1)
+Map(in divId : String, in options? : Object)
+addLayer(in layer : Layer, in index? : Number) : Layer
+centerAndZoom(in mapPoint : Point, in levelOrFactor : Number)
+centerAt(in mapPoint : Point)
+disableClickRecenter()
+disableDoubleClickZoom()
+disableKeyboardNavigation()
+disableMapNavigation()
+disablePan()
+disableRubberBandZoom()
+disableScrollWheelZoom()
+disableShiftDoubleClickZoom()
+enableClickRecenter()
+enableDoubleClickZoom()
+enableKeyboardNavigation()
+enableMapNavigation()
+enablePan()
+enableRubberBandZoom()
+enableScrollWheelZoom()
+enableShiftDoubleClickZoom()
+getLayer(in id : string) : Layer
+getLevel() : Number
+getInfoWindowAnchor(in screenCoords : Point) : String
+hidePanArrows()
+hideZoomSlider()
+panDown()
+panLeft()
+panLowerLeft()
+panLowerRight()
+panRight()
+panUp()
+panUpperLeft()
+panUpperRight()
+removeAllLayers()
+removeLayer(in layer : Layer)
+reorderLayer(in layer : Layer, in index : Number)
+reposition()
+resize()
+setExtent(in extent : Extent, in fit? : Boolean)
+setLevel(in level : Number)
+setMapCursor(in cursor : String)
+showPanArrows()
+showZoomSlider()
+toMap(in screenPoint : Point) : Point
+toScreen(in mapPoint : Point) : Point
+onClick(out event : MouseEvent)
+onDblClick(out event : MouseEvent)
+onExtentChange(out extent : Extent, out delta : Point, out levelChange : Boolean, out lod : LOD)
+onKeyDown(out event : KeyEvent)
+onKeyUp(out event : KeyEvent)
+onLayerAdd(out layer : Layer)
+onLayerRemove(out layer : Layer)
+onLayerReorder(out layer : Layer, out index : Number)
+onLayersRemoved()
+onLayersReordered(out layerIds : String[])
+onLoad(out map : Map)
+onMouseDown(out event : MouseEvent)
+onMouseDrag(out event : MouseEvent)
+onMouseDragEnd(out event : MouseEvent)
+onMouseDragStart(out event : MouseEvent)
+onMouseMove(out event : MouseEvent)
+onMouseOut(out event : MouseEvent)
+onMouseOver(out event : MouseEvent)
+onMouseUp(out event : MouseEvent)
+onMouseWheel(out event : MouseWheelEvent)
+onPan(out extent : Extent, out delta : Point)
+onPanEnd(out extent : Extent, out endPoint : Point)
+onPanStart(out extent : Extent, out startPoint : Point)
+onReposition(out x : Number, out y : Number)
+onResize(out extent : Extent, out width : Number, out height : Number)
+onUnload(out map : Map)
+onZoom(out extent : Extent, out zoomFactor : Number, out anchor : Point)
+onZoomEnd(out extent : Extent, out zoomFactor : Number, out anchor : Point, out level : Number)
+onZoomStart(out extent : Extent, out zoomFactor : Number, out anchor : Point, out level : Number)
+GraphicsLayer()
+GraphicsLayer(in options? : Object)
+add(in graphic : Graphic) : Graphic
+clear()
+disableMouseEvents()
+enableMouseEvents ()
+remove(in graphic : Graphic) : Graphic
+setRenderer(in renderer : Renderer)
+onClick(out event : MouseEvent)
+onGraphicAdd(out graphic : Graphic)
+onGraphicRemove(out graphic : Graphic)
+onGraphicsClear()
+onMouseDown(out event : MouseEvent)
+onMouseDrag(out event : MouseEvent)
+onMouseOut(out event : MouseEvent)
+onMouseOver(out event : MouseEvent)
+onMouseMove(out event : MouseEvent)
+onMouseUp(out event : MouseEvent)
layers::GraphicsLayer
+graphics : Graphic[]
+renderer : Renderer
+extent : Extent
+graphics : GraphicsLayer
+graphicsLayerIds : String[]
+height : Number
+id : String
+infoWindow : InfoWindow
+isClickRecenter : Boolean = true
+isDoubleClickZoom : Boolean = true
+isKeyboardNavigation : Boolean = true
+isPan : Boolean = true
+isRubberBandZoom : Boolean = true
+isScrollWheelZoom : Boolean = true
+isShiftDoubleClickZoom : Boolean = true
+isPanArrows : Boolean = false
+isZoomSlider : Boolean = true
+layerIds : String[]
+loaded : Boolean
+position : Point
+spatialReference : SpatialReference
+width : Number
Constructor Options
+displayGraphicsOnPan : Boolean = true
+extent : Extent
+layer : Object
+lods : LOD[]
+nav : Boolean = false
+showInfoWindowOnClick : Boolean = true
+slider : Boolean = true
+ArcGISDynamicMapServiceLayer(in url : String, in options? : Object)
+exportMapImage(in imageParameters? : ImageParameters, in callback? : Function)
+setDefaultLayerDefinitions()
+setDefaultVisibleLayers()
+setDisableClientCaching(in disable : Boolean)
+setDPI(in dpi : Number)
+setImageFormat(in imageFormat : String)
+setImageTransparency(in transparent : Boolean)
+setLayerDefinitions(in layerDefinitions : String[])
+setVisibleLayers(in ids : Number[])
+onMapImageExport(out image : MapImage)
layers::ArcGISDynamicMapServiceLayer
+copyright : String
+description : String
+disableClientCaching : Boolean = false
+dpi : Number = 96
+imageFormat : String = png8
+imageTransparency : Boolean = true
+layerDefinitions : String[]
+visibleLayers : Number[]
+layerInfos : LayerInfo[]
+units : String
+useMapImage : Boolean = false
- 1
- 2
- 3
- 4
- 5
- 6
前往页