|
Google Map Flash 8 Component displays geographical locations and allows for easy map navigation. Component uses Google Map Data by connecting to Google Maps API. Google Map Flash 8 Component is an experimental project and has been developed without the knowledge or permission of Google Inc.
* ATTENTION *
Advanced Flash Components are not associated with Google Inc. in any way. Please consult Google Map API for more information. Google MAP API Terms of Use. |
|
- FREE
- Google Map API
- Location Markers
- Control Map Zoom
- Longitude, Latitude Coordinates
- Tooltip Component
- Mouse Wheel Zoom
- Flash 8  |
|
|
|
 |
Easily install new extensions and manage the ones you already have with the Macromedia Extension Manager. It runs side-by-side with Macromedia Dreamweaver, Macromedia Fireworks, and Macromedia Flash. |
 |
Learn more about Google Maps API |
 |
Need help with G Map Component? Visit component forum. |
|
|
|
GMap.background |
GMap |
A Boolean value that indicates whether background is displayed (true) or not (false). |
GMap.backgroundAlpha |
GMap |
A Number (0-100) that indicates background's transparency. |
GMap.backgroundColor |
GMap |
A hexadecimal color value of the background. |
GMap.border |
GMap |
A Boolean value that indicates whether border is displayed (true) or not (false). |
GMap.borderColor |
GMap |
A hexadecimal color value of the border. |
GMap.centerCross |
GMap |
A Boolean value that indicates whether center cross is displayed (true) or not (false). |
GMap.centerCrossColor |
GMap |
A hexadecimal color value of the center cross. |
GMap.showType |
GMap |
A String that defines when to show the map ("on load" or "on init"). |
GMap.centerCrossColor |
GMap |
A hexadecimal color value of the center cross. |
GMap.showType |
GMap |
A String that indicates how to show the map:
1). on load - map will be shown when all the images will be loaded with a fade in effect
2). on init - map will be shown initially
|
GMap.markerBorderColor |
GMap |
A hexadecimal color value of the markers' border. |
GMap.markerFillAlpha |
GMap |
A number (0-100) that indicates markers' fill transparency. |
GMap.markerFillColor |
GMap |
A hexadecimal color value of the markers' fill. |
GMap.guiAlignment |
GMap |
A String that indicates GUI controls alignment (left or right). |
GMap.guiControls |
GMap |
Object that that defines visibility of GUI controls:
1). position - control that displays current latitude and longitude (on/off)
2). movement - control that provides basic map movement (on/off)
3). zoom - control that displays current zoom level and allows user to change it (on/off)
4). maptype - control that provides different map type selection (on/off)
5). loading - control that is dispalyed when images are being loaded from the server (on/off)
|
GMap.dragging |
GMap |
A Boolean value that indicates whether dragging of the map is enabled (true) or not (false). |
GMap.keyboard |
GMap |
A Boolean value that indicates whether map will handle keyboard events (true) or not (false).
- use left, right, up, down to move around the map
- use +/- to zoom in and out of the map
|
GMap.mouse |
GMap |
A Boolean value that indicates whether map will handle mouse events (true) or not (false).
- press and hold left mouse button to drag the map
- double click the map to pan smoothly to target point
|
GMap.mouseWheel |
GMap |
A Boolean value that indicates whether map will handle mouse wheel events (true) or not (false).
- use mouse wheel to zoom in and out of the map
|
GMap.latitude |
GMap |
A Number that indicates latitude of the center point in current view.
It is strongly recommended to use panTo() or setCenter() methods to set Latitude and Longitude,
to avoid unnecessary map updates. |
GMap.longitude |
GMap |
A Number that indicates longitude of the center point in current view.
It is strongly recommended to use panTo() or setCenter() methods to set Latitude and Longitude,
to avoid unnecessary map updates. |
GMap.zoom |
GMap |
A Number that indicates current map zoom.
Note, that you can also use setZoom(), zoomIn() and zoomOut() methods. |
|
|
|
GMap.getMapTypes() |
GMap |
Returns an array of all the map types. |
GMap.setMapType(type:String) |
GMap |
Sets the map type, refreshes layers. Accepts only valid map types returned by getMapTypes(). |
GMap.getCenter() |
GMap |
Returns point object that represents the geographical coordinates of the center point.
Point contains x and y fields
|
GMap.getBounds() |
GMap |
Returns rect object that represents visible
rectangular region of the map view in geographical coordinates.
Rect object contains left and top, right and bottom fields,
which indicate coordinates of top-left and bottom-right corners of a rectangle
|
GMap.setCenter(lat:Number, lng:Number, [z:Number], [type:String]) |
GMap |
Sets the map view to the given center. Optionally also sets zoom and map type. |
GMap.panTo(lat:Number, lng:Number) |
GMap |
Changes the center of the map to the given point.
If the center point is already visible in the current map view,
change the center with smooth animation. |
GMap.setZoom(zoom:String) |
GMap |
Change the zoom level (0-17) |
GMap.zoomIn() |
GMap |
Shortcut to increase zoom level. |
GMap.zoomOut() |
GMap |
Shortcut to decrease zoom level. |
GMap.savePosition() |
GMap |
Save map position and zoom level for later use. |
GMap.returnToSavedPosition() |
GMap |
Restores map view that was saved by savePosition().
If saved position is undefined restores to 0, 0 and zoom 2 |
GMap.addMarker(lat:Number, lng:Number, [txt:String]) |
GMap |
Adds new overlay marker at given position.
If txt is specified, sets a tooltip object with the given text.
Returns reference to created marker object |
GMap.returnToSavedPosition() |
GMap |
Restores map view that was saved by savePosition().
If saved position is undefined restores to 0, 0 and zoom 2 |
|
|
|
GMap.click |
GMap |
Triggered when the map was clicked, broadcasts the following properties:
1). lat – A Number that indicates Latitude of the map’s center point.
2). lng – A Number that indicates Longitude of the map’s center point.
|
GMap.moveStart |
GMap |
Triggered, when map view begins changing. |
GMap.moving |
GMap |
Triggered, possibly several times, when map view is changing. Also triggered, when map is being dragged. |
GMap.moveEnd |
GMap |
Triggered, when map view ends changing. |
GMap.dragStart |
GMap |
Triggered, when user starts dragging the map. |
GMap.dragging |
GMap |
Triggered, possibly several times, when user is dragging the map. |
GMap.dragEnd |
GMap |
Triggered, when user ends dragging the map. |
GMap.mapTypeChanged |
GMap |
Triggered, when map type has changed. |
GMap.zoomEnd |
GMap |
Triggered, zoom level has changed, broadcasts the following properties:
1). oldLevel – A Number that indicates previous zoom level.
2). newLevel – A Number that indicates current zoom level.
|
GMap.show |
GMap |
Triggered, when the map is shown.
If showType is set to "on load", triggered when the map is completly shown.
Otherwise triggered right after loading the movie. |
Example |
var eventListener = new Object();
eventListener.click = function (evnt){
trace("User clicked the map x:" + evnt.lat + " y:" + evnt.lng);
}
GMap.addEventListener("click", eventListener); |
|
|
|