Hi Booie-

Did you take a look at the context menu demo?
http://code.google.com/apis/maps/documentation/flash/demogallery.html?searchquery=context&classname=

It does create a marker near the right-clicked point.
If that isn't accurate enough, you could track the current moused over point
using the MOUSE_MOVE event in a global var, and use that as the zoom-to
point in the context menu event.

- pamela

On Tue, Dec 15, 2009 at 3:21 AM, Booie <[email protected]> wrote:

> Has anyone created a custom zoom button in a ContextMenu which zooms/
> zooms out?  I am able to zoom the map based on the center, but how can
> I do it based on the point the user right clicks.  Do I need to track
> the mouse location at all times and then on right click simply use the
> last location? Or is the location of the click passed in the event
> somewhere?  Thanks.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Maps API For Flash" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-api-for-flash%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.


Reply via email to