I am working on a development in which I have implemented the google maps Javascript api. As far as working on the 2D map is all very clear and documented, but I would love to know if there is any option or possibility to transform the map into 3D view which allows me to see 3D buildings, change tilt in view ... etc. Is there such a possibility ?.
No, Google Maps API only gives access to the 2D maps as well as Streetview.
3D maps and Google Earth is only available in google apps or the maps.google.com solution.
Related
Google Maps now includes an "Earth" setting similar to the Google Earth Plugin. I was hoping to replace the Google Earth Plugin with this feature since it has more modern touch interaction and is continually being updated, but it's not built into the Google Maps API so far as I can tell.
I've done a fair amount of searching on it, but I've only ever gotten results for the Google Earth Plugin API and the Satellite view in Google Map, which doesn't give me the 3D globe that I'm hoping for.
Is there any way to accomplish the Google Earth Style globe like Google has in a simpler way than drudging through and trying to make sense of the minified javascript on the Google Maps site?
No, at least not with the Google Maps API at the present time. 'Earth' is not one of the supported map types yet; see
https://developers.google.com/maps/documentation/javascript/reference#MapTypeId
For a school project we are making an application that can track the location of a garbage truck.
To calculate the fastest direction for the truck we are using the Google Maps embed API, but there is one "problem". The API returns 3 optional directions but we only need one.
Is there an possibility to show only one direction, or do we need the JavaScript API of Google Maps then?
Thanks in advance.
I suggest using the Google Maps JavaScript API. I am using it for my website and it works like a charm, with many functionalities.
I want to use the Google Maps v3 api to generate an interactive Google Map interface that uses custom tiles for a map from a video game. The app needs to be able to zoom-in out and display the proper tiles for each zoom level as well.
I'm looking for some resources or a tutorial on how to accomplish this. The Google Maps v3 API appears to only discuss using custom tiles that lay on top of the normal Google Maps tiles. That wouldn't make sense in my application since my map is for a fictional world and wouldn't line up with anything in the real world maps. Perhaps I'm just not seeing what I need in the API guide...
Check out the ImageMapType class in the reference. There's a nifty example showing Moon tiles.
One of my favourite applications is The Internet map, the developer wrote a pretty sweet article on how it was developed.
You need to either cut up your custom game map image into the appropriate file/directory structure that makes integration into Maps API easy (here's an example using Photoshop and some example HTML/JS code). Or use a more friendly tool like TileMill, but this expects data in a standard spatial data format and you probably don't have your game map stored in such a format. If you can go that route, they also provide a Node.js-based server called TileServe that makes integration a cinch.
If you are expecting a boatload of traffic, then maybe look at Google Maps Engine to host your custom game map image directly in Google's infrastructure.
I have a list of canadian postal codes that I want tobe able to map on google maps. SO far I have only found this site :
http://batchgeo.com/ | My Attempt and what I want - http://batchgeo.com/map/3b634fc7cbf942db14284c925ff8631b
How can I achieve the same on my own? Can someone share a script?
I'm not sure if you can do the circles like batchgeo- I've never seen that with google maps before. But you can certainly map out multiple places and drop pins on each place.
Check out google's Maps API, it has a lot in there to help you get started, and is all javascript.
have a look at the google maps v3 api for reverse geocoding. This should give you the needed information to place markers on the map
how do I add a wms layer to a bing map using javascript? anyone know any good examples?
Typically I've used a proxy service that translates the quad key to the proper coordinates of the wms. A good start for writing such a proxy service in C# as a web handler can be found here: http://www.viawindowslive.com/Articles/VirtualEarth/AccessingWMSfromVirtualEarth.aspx
The problem lies in the way that bings maps requires you to specify a tile url. If you're not locked into bing maps, this sort of thing is much easier with Google Maps version 2.0 or Open layers as the above poster suggested.
if you have to use WMS for the tile server, then I would seriously look at OpenLayers.
This is excellent at mixing different toolkits and formats. Eg. putting KML overlays over WMS, or (as in your case) WMS over Bing Maps.
If you have your own choice of tile server and you have rasters, then I would use MapCruncher instead and load it natively in Bing Maps.