I have gotten this example working and worked plenty with the Google Earth
plugin and V2 of Maps. I was curious as to how to access the flyto and
lookat functions onclick.
Previously you could call a function like this within an anchor link and it
will flyto when clicked
function viewSouth() {
var lookAt = ge.getView().copyAsLookAt(ge.ALTITUDE_RELATIVE_TO_GROUND);
// Set the position values
lookAt.setLatitude(28.54626988796781);
lookAt.setLongitude(-81.37704984953177);
lookAt.setRange(1070.448301908147); //default is 0.0
lookAt.setTilt(67.84202025905072);
lookAt.setHeading(-179.9640072336487);
ge.getView().setAbstractView(lookAt);
}
This it seems doesnt work with the new integration method. Could I possibly
get some quick instruction as to how to access this function withing the
Maps V3/Google Earth Integration
Thanks in advance!
On Wednesday, March 23, 2011 9:08:15 PM UTC-4, Josh Livni (Google Employee)
wrote:
>
> Hi all,
>
> I wanted to let you know that there is a new library available at
> http://code.google.com/p/google-maps-utility-library-v3/ that helps
> you easily integrate the Earth API with your mashup.
>
> You can download directly from
> http://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/
>
> Please feel free to leave comments or feedback about it in this
> thread.
>
> Cheers,
>
> -Josh
On Wednesday, March 23, 2011 9:08:15 PM UTC-4, Josh Livni (Google Employee)
wrote:
>
> Hi all,
>
> I wanted to let you know that there is a new library available at
> http://code.google.com/p/google-maps-utility-library-v3/ that helps
> you easily integrate the Earth API with your mashup.
>
> You can download directly from
> http://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/
>
> Please feel free to leave comments or feedback about it in this
> thread.
>
> Cheers,
>
> -Josh
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/nGK6RnvblI4J.
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-js-api-v3?hl=en.