Disabling Mouse Controls in Google Earth

16 views
Skip to first unread message

Killer

unread,
Jul 3, 2009, 10:08:05 PM7/3/09
to KML Developer Support - Google Earth Plug-in
Hello.

I have a question about how to disable mouse clicks in Google Earth.
I've searched high and low and haven't been able to un-earth (pun,
yes) the answer.

I'm using Adobe Flex to load Google Earth for a Kiosk. I've programmed
buttons to manipulate the Earth, and want to disable mouse clicks on
the Earth so people can't zoom or pan from the Earth.

Here's the kiosk I'm working on:

- http://wickedsmartstudios.com/mnh/kiosk_newengland_wss_090702/

Here's a link to the .mxml, and to the .js files. (Forgive me if the
code is a bit messy ... I'm new at this, am learning and cobbling
things together and plan to clean it up after I've conquered some of
the basic functionality.)

- http://wickedsmartstudios.com/mnh/kiosk_newengland_wss_090702/GoogleMaps.mxml

- http://wickedsmartstudios.com/mnh/kiosk_newengland_wss_090702/js/asagm.js

* * *

I appreciate your thoughts,

KillKill

Jonathan_me

unread,
Jul 6, 2009, 7:59:21 AM7/6/09
to KML Developer Support - Google Earth Plug-in
Hi,
I feel entirely vindicated now, I asked the same thing about two weeks
ago having come up with similar results to the same question.
See this thread:

http://groups.google.com/group/google-earth-browser-plugin/browse_thread/thread/2ce2e85b09a19fd0/b21a03e809771029#b21a03e809771029

Short answer:
ge.getOptions()..setMouseNavigationEnabled(false);

Jonathan

On Jul 4, 3:08 am, Killer wrote:
> Hello.
>
> I have a question about how to disable mouse clicks in Google Earth.
> I've searched high and low and haven't been able to un-earth (pun,
> yes) the answer.
>
> I'm using Adobe Flex to load Google Earth for a Kiosk. I've programmed
> buttons to manipulate the Earth, and want to disable mouse clicks on
> the Earth so people can't zoom or pan from the Earth.
>
> Here's the kiosk I'm working on:
>
> -http://wickedsmartstudios.com/mnh/kiosk_newengland_wss_090702/
>
> Here's a link to the .mxml, and to the .js files. (Forgive me if the
> code is a bit messy ... I'm new at this, am learning and cobbling
> things together and plan to clean it up after I've conquered some of
> the basic functionality.)
>
> -http://wickedsmartstudios.com/mnh/kiosk_newengland_wss_090702/GoogleM...
>
> -http://wickedsmartstudios.com/mnh/kiosk_newengland_wss_090702/js/asag...

Killer

unread,
Jul 6, 2009, 10:15:26 AM7/6/09
to KML Developer Support - Google Earth Plug-in
There it is,,. thanks for not chastising me for duplicating a posted
question.

I appreciate you pointing me in the right direction.

Cheers.

On Jul 6, 7:59 am, Jonathan_me wrote:
> Hi,
> I feel entirely vindicated now, I asked the same thing about two weeks
> ago having come up with similar results to the same question.
> See this thread:
>
> http://groups.google.com/group/google-earth-browser-plugin/browse_thr...
Reply all
Reply to author
Forward
0 new messages