Packageorg.apache.flex.maps.google.beads
Classpublic class GoogleMapView
InheritanceGoogleMapView Inheritance BeadViewBase Inheritance EventDispatcher Inheritance flash.events.EventDispatcher
Implements IBeadView

The AS3 version of GoogleMapView is geared toward its use with HTMLLoader for AIR.



Public Properties
 PropertyDefined By
 Inheritedhost : IUIBase
[read-only] The host component.
BeadViewBase
  strand : IStrand
[override] [write-only] The host component for this bead.
GoogleMapView
 Inherited_strand : IStrand
The strand.
BeadViewBase
Public Methods
 MethodDefined By
  
Constructor.
GoogleMapView
  
centerOnAddress(address:String):void
Centers the map on the address given.
GoogleMapView
  
Clears the previous search results.
GoogleMapView
  
Creates a marker for placement on the map.
GoogleMapView
  
mapit(lat:Number, lng:Number, zoomLevel:Number):void
Adjusts the map to the given coordinate and zoom level.
GoogleMapView
  
markAddress(address:String):void
Finds the given address and places a marker on it.
GoogleMapView
  
Marks the current center of the map.
GoogleMapView
  
nearbySearch(placeName:String):void
Performs a search near the center of map.
GoogleMapView
  
Removes all of the markers from the map
GoogleMapView
  
setCenter(location:LatLng):void
Sets the center of the map.
GoogleMapView
  
setZoom(zoom:Number):void
Sets the zoom factor of the map.
GoogleMapView
Property Detail
strandproperty
strand:IStrand  [write-only] [override]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The host component for this bead.


Implementation
    public function set strand(value:IStrand):void
Constructor Detail
GoogleMapView()Constructor
public function GoogleMapView()

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Constructor.

Method Detail
centerOnAddress()method
public function centerOnAddress(address:String):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Centers the map on the address given.

Parameters

address:String

clearSearchResults()method 
public function clearSearchResults():void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Clears the previous search results.

createMarker()method 
public function createMarker(location:LatLng):Marker

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Creates a marker for placement on the map.

Parameters

location:LatLng

Returns
Marker
mapit()method 
public function mapit(lat:Number, lng:Number, zoomLevel:Number):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Adjusts the map to the given coordinate and zoom level.

Parameters

lat:Number
 
lng:Number
 
zoomLevel:Number

markAddress()method 
public function markAddress(address:String):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Finds the given address and places a marker on it. This function may be dropped since centerOnAddress + markCurrentLocation does the same thing.

Parameters

address:String

markCurrentLocation()method 
public function markCurrentLocation():void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Marks the current center of the map.

nearbySearch()method 
public function nearbySearch(placeName:String):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Performs a search near the center of map. The result is a set of markers displayed on the map.

Parameters

placeName:String

removeAllMarkers()method 
public function removeAllMarkers():void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Removes all of the markers from the map

setCenter()method 
public function setCenter(location:LatLng):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Sets the center of the map.

Parameters

location:LatLng

setZoom()method 
public function setZoom(zoom:Number):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Sets the zoom factor of the map.

Parameters

zoom:Number