JC Flash Map Events



Overview | Properties | Methods | Events | Markers

Event Description
MapEvent.MAP_CLICKED Event dispatched when the user clicks on the map area but not on the markers.

Example
import com.jumpeye.Events.MapEvent;

myMap.addEventListener(MapEvent.MAP_CLICKED, mapClickHandler);

function mapClickHandler(evtObj:MapEvent):void {
    trace("Center of the map is at ("+evtObj.lat+", "+evtObj.lng+") latitude and longitude");
}
MapEvent.MAP_MOVED Event dispatched when the map finished moving (after a mouse up event). The parameters received from the event object are the new coordinates (latitude/longitude) of the map's center.

Example
import com.jumpeye.Events.MapEvent;

myMap.addEventListener(MapEvent.MAP_MOVED, mapMoveHandler);

function mapMoveHandler(evtObj:MapEvent):void {
    trace("Center of the map is now at ("+evtObj.lat+", "+evtObj.lng+") latitude and longitude");
}
MapEvent.MAP_TYPE_CHANGED Event dispatched when the map type has changed.

Example
import com.jumpeye.Events.MapEvent;

myMap.addEventListener(MapEvent. MAP_TYPE_CHANGED, typeHandler);

function typeHandler(evtObj:MapEvent):void {
    trace("The new map type is "+evtObj.mapType. name);
}
MapEvent.ZOOM_CHANGED Event dispatched before the zoom animation.

Example
import com.jumpeye.Events.MapEvent;

myMap.addEventListener(MapEvent.ZOOM_CHANGED, zoomHandler);

function zoomHandler(evtObj:MapEvent):void {
     trace("The new zoom level is "+evtObj.zoom);
}

Overview | Properties | Methods | Events | Markers


FlashEff 2.0
Create professional flash photo slideshows online

FREE Flash Stuff

Check out these free, fully functional AS3.0 Flash components by Jumpeye:

FlashEff 2.0 Free
(free for non-commercial use)

JC Panorama
(free for non-commercial use)

JC Play List
(fully free)

Basic Menu Pack V3
(free AS3 version)

MCTE V3
(free AS3 version)

JC Player
(free for non-commercial use)

JC Flash Map
(free for non-commercial use)

Flash Bookmarks
(fully free)

ActionScript Bridge AS2-AS3
(fully free)

JS Charts
(free for non-commercial use)

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign