Skip to content
bsvensson edited this page Aug 17, 2011 · 7 revisions

There are two "map" options:

The latter one specifically for Flex Mobile Applications, and is basically EsriMap + Geolocation API. It has one extra function whereAmI([level]).

###EsriMap has 14 useful functions:

  • addLatLon(lat:Number, lon:Number, symbol:Symbol = null):Graphic
  • addLatLons(points:Array):Array /* Array of Graphic */
  • addLine(points:Array, symbol:Symbol = null):Graphic
  • addPolygon(points:Array /* Array of MapPoints */, symbol:Symbol = null):Graphic
  • addressToLocation(address:String, mapLevel:int = -1):void
  • locationToAddress(mapPoint:MapPoint, distance:Number = 30.0):void
  • clearAll():void
  • clearPolygons():void
  • clearPolylines():void
  • clearPoints():void
  • route(source:Array = null, zoomFactor:Number = 2.0, responder:IResponder = null):void
  • showInfoWindow(lat:Number, lon:Number, content:UIComponent, label:String = null):void
  • hideInfoWindow():void
  • driveTimePolygon(times:Array, center:MapPoint = null):void // TODO

###EsriMobileMap adds 1 useful function:

  • whereAmI(zoomLevel:int = 16):void

Clone this wiki locally