Google Earth integrated with Google Maps API v3? - google-maps

I'm trying to integrate Google Earth into Google Maps, and I saw it was possible in v2.
But I can't find any doc about how to do so with v3.

Unfortunately, this is not yet implemented in Google Maps API v3, see the corresponding ticket.
Please note, the more stars a ticket has, the sooner it will be taken care of.

Just a note that there is now an unofficial library at http://code.google.com/p/google-maps-utility-library-v3/ (trunk at http://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/)

Here's my offering: https://github.com/myshen/google-maps-v3-earth-map-type.
It's not from Google but it does do a little more out of the box:
Links polygons, rectangles, circles, kml, in addition to markers.
Links mouse events (click, drag, over, out).

I've been trying to port [jlivni]'s code to OpenLayers and have setup a GitHub project for that (1).
Now you can see a demo with Google Maps on one side and Google Earth on the other side:
http://ziglionz.github.com/GoogleEarth-for-OpenLayers/ol.html
Currently the library supports only unstyled placemarks but it shouldn't be too hard to support other features.
The demo also sports a timeline for OpenLayers, that's part of another project (2).

Related

Google Map API tilt is not working in given LatLng

I am using leaflet.google.js for google map. I have done tilt:45 in initMapObject function. On map this is working for some other location(latlang) but not tilt with my require location(40.4134741, -74.3057727).
I have checked same latlang with maps.google.com and It is tilt(giving button 2D/3D).
Please review my code with link.
"http://jsfiddle.net/fJFWN/211/"
Please Help me I need tilt view in my given location.
Thanks
The official Google Maps JavaScript API documentation says
The Google Maps JavaScript API supports special 45° imagery for certain locations. This high-resolution imagery provides perspective views towards each of the cardinal direction (North, South, East, West). These images are available at higher zoom levels for supported map types.
https://developers.google.com/maps/documentation/javascript/maptypes#45DegreeImagery
I understand aerial imagery is not available everywhere in JavaScript API, it looks like it's not available at 40.4134741, -74.3057727.
Also note that the Google Maps website is a different product managed by different team at Google, so you cannot expect exactly the same behavior in Maps JavaScript API and maps.google.com.
I hope this explains your doubt.

Set camera in Google Maps 3D view using JavaScript

I have recorded flight track data (lat, lon, altitude, angle, speed...) and want to simulate a cockpit view of the recorded flight.
Is there a JavaScript API to do this in 3D Google Maps (set and move camera view in Google Maps 3D)?
I am new to Google Maps API and cannot find documentation for this.
I think you can't do it using Javascript API. But closest thing for this is by using Styled Maps. As of now only Google Maps Android API and Google Maps SDK for iOS
can do it.
I found the very cool framework cesiumjs
which provides excatly what i was searching for.
Set camera with heading, roll, pitch and altitude.

Google directions on OpenLayers

I'm a big fan of OpenLayers. The only thing i'm missing here are directions.
Since google maps supports directions, I want to integrate these with OpenLayers.
Is it possible to use the google maps api to get directions from point A to point B (support for waypoints?) and then display on my map (as an extra vector layer?)?
Google Maps doesn't support directions. and you have to use Google Directions API to get you direction instructions. as for displaying the directions on google maps, it's can be done. head to this post to
first post
or:
second post
to read more.

show google map in flex, actionscript

I want to show the google map of my company in the company website. I read on the google maps site that new keys for google map for actionscript are no longer available. How can I show google map in the site?
These are the two alternatives you have :
Bing Maps Platform in Flash/Flex/ActionScript
Yahoo! Maps AS-Flash API
MapQuest offers both Flash and Mobile Flash APIs and they ARE supported!
Obviously this isn't a solution that involves Google, but I've been happy with the MapQuest Flash APIs. Hope this helps!
These are the alternatives we've been deciding between:
Flex Only
ESRI ArcGIS Flex API
AS3
OpenScales
ModestMaps
MapQuest
As a side note if you are just trying to show a simple map on your website, perhaps you should consider the JS Google Maps API? It's fairly simple to add a small map to a html page. Check out http://code.google.com/apis/maps/documentation/javascript/
Hope that helps.

How do I turn off/hide landmarks on googlemaps

I am using the google maps api v2 to build attraction guide mashup. Currently it shows some landmarks on the tiles it returns. I notice some of the geocoding of certain attractions is off.
Is there a way I can tell google to send back map tiles with no land marks? I cant seem to find any info on the api docs about it.
As of Google Maps API v3, you can use the Google Maps API Styled Map Wizard to do exactly this.
There is no way to request custom tiles from Google. Your only option is to choose from the available map types, or to generate your own tiles.
The Terrain map (G_PHYSICAL_MAP) might be more acceptable for you.