Hi,
I'm a little confused: does
the http://code.google.com/p/earth-api-utility-library/ still work (with
V3) or do we need to use this library and is there some more information
available about what's inside the library?
On Wednesday, April 6, 2011 2:19:39 AM UTC+2, Josh Livni (Google Employee)
can get the underlying Google Earth instance, with getInstance()
so just need to add something like
var ge = googleEarth.getInstance();
to the top of that function. Where googleEarth is the global variable
containing the GoogleEarth object.
On Mon, Sep 10, 2012 at 9:14 PM, Sean Frank wrote:
>
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()
Hi there,
Yes you are correct and you need to explicitly call
google.load('earth','1') in your code. Now that I think about it,
however, I should put the google.load function within the utility
library, and I will do that with the next release.
In the meantime, be sure you first loaded the javas
Hi, I'm trying insert the option Earth in my page, this is in google
maps v3,
then I'm put this code in my page:
[code]
var Qro = new google.maps.LatLng(20.60,-100.40);
var myOptions = {
zoom: 13,
center: Qro,
mapTypeId: google.maps.MapTypeId.ROADMAP,
streetViewC
We prefer the utility libraries don't use the same namespace as the API to
avoid confusion between open source libraries and the core API.
-- Luke
On Thu, Mar 31, 2011 at 9:20 PM, en4ce wrote:
> good work and thoughts, keep it comming
>
> i tested the map.setMapTypeId(GoogleEarth.MAP_TYPE_ID);
good work and thoughts, keep it comming
i tested the map.setMapTypeId(GoogleEarth.MAP_TYPE_ID); and it works
like the old version "map.setMapTypeId('GoogleEarthAPI');"
but shouldn't it be something like
"map.setMapTypeId(google.maps.MapTypeId.EARTH);" or am i missing
something there ?
thanks josh
Hi all,
I've just pushed a minor update to this library that
- protects setMapOriginal_
- provides a MAP_TYPE_ID constant you can use, a la:
map.setMapTypeId(GoogleEarth.MAP_TYPE_ID);
- updates the reference html
I'm not around the rest of this week but next week I'll look at some
of the other
Hi Nianwei,
Thanks for the detailed feedback, greatly appreciated. I was unable
to replicate the issue you were having in Firefox, can you tell me the
version and operating system you are using?
Also you make a great point that the setMapOriginal_ method should
have been protected; I will get a
i cant wait to have my map finally in 3D, please keep us updated, if
you need more testing just tell us
i noticed another error with the map controls
- if mapTypeControl: false, it throws the "c is undefined" error
- if mapTypeControl: true, everything works as expected but the custom
controls th
as usually the error was on me
i had the http://www.google.com/
jsapi"> still in my script, that wont work and throw the
error
On 26 Mrz., 19:19, en4ce wrote:
> i cant wait to have my map finally in 3D, please keep us updated, if
> you need more testing just tell us
>
> cheers
>
> On 26 Mrz
i cant wait to have my map finally in 3D, please keep us updated, if
you need more testing just tell us
cheers
On 26 Mrz., 19:06, Josh Livni wrote:
> Ah thanks for pointing that out. There are a couple other things I will
> also make available in an update next week.
> On Mar 26, 2011 11:02 AM,
Ah thanks for pointing that out. There are a couple other things I will
also make available in an update next week.
On Mar 26, 2011 11:02 AM, "en4ce" wrote:
> sorry that dont work, it throws an "c is undefined" error in the
> googleearth-compiled.js, i did include the file from the google server
sorry that dont work, it throws an "c is undefined" error in the
googleearth-compiled.js, i did include the file from the google server
it self
there is no error msg in chrome but in ff within firebug
see it here: http://www.youspots.com/search_startpage2.php
Cheers,
-Enrico
On 26 Mrz., 16:52
Hi there,
Good question: The MapTypeId is not registered in
google.maps.mapTypeId, but you can set it directly by using:
map.setMapTypeId('GoogleEarthAPI'); -- I will add this to the
documentation as well.
Cheers,
-Josh
On Mar 25, 1:39 pm, en4ce wrote:
> i saw that as well and i´am really e
i saw that as well and i´am really exited, finally its here, its not a
super performer and the cool transition from the other maptypes to
earth from V2 is not there, but still, finally something!
i tryed to implement it, i think it can work but i wonder how to set
the map type like "map.setMapType
One more observation:
This lib used a unique (and clever) technique to track overlays been
added to the map instance. It overwrites the Class.prototype.setMap
method by creating an alias pointer to the original function and call
it afterward using the alias. There is a potential risk introduced by
Josh,
Thanks for the lib, much appreciated.
However, there are a few issues that I noticed:
.-- The code wipes off any custom map types, or settings in the
mapOptions.
-- There are shim code to allow maptype control to display on top of
the plugin, but somehow it did not show up on my firefox afte
18 matches
Mail list logo