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.
Related
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.
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.
I am using google map in my application. I have an application regarding to property sales and purchase for that I have used google map.
But now I have to add Bird's Eye view in it. Since there is no such a concept in google map api, I have decided to use Bing map.
But when I implemented a bing map in it, It affected the functionality of google map.
Means it conflicted the google map.
Can't I use bing map with google map?
Have any Idea?
When you want to use both Google map and Bing map in your application, then you can use different iframe for each.
It will prevent conflicting between each other...
Thanks to brian.behling for their post on Google help forum.
Here is the link for that :
http://www.google.com/support/forum/p/maps/thread?tid=0d28300c9c0f585e&hl=en&fid=0d28300c9c0f585e00048bf69617bd9e
I have answered this question just because anyone else can refer to that easily...
Regards.
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).
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.