| Issue 2515: | Changing Map orientation | |
| 124 people starred this issue and may be notified of changes. | Back to list |
My question is with respect to the Google Maps JavaScript API V3. Is there a plan to allow the map orientation to be rotated (i.e. North not always facing up)? If so, do you know when this API would be made available? The main reason for my question is that in a vehicle environment, it would be desirable to have the map rotated so that it faces the same direction as the vehicle. We have several advanced development projects that utilize HTML 5 and JavaScript to display a “connected” vehicle HMI, and I would love to be able to show Google Maps working in this type environment. The ability to rotate the map would be a very desirable feature.
Jun 29, 2010
#1
[email protected]
Owner:
thor.mitchell
Oct 12, 2010
So very seconded! It would be quite useful for many purposes to be able to set a maps heading/orientation or perform a rotation like Earth/KML can do via setting the heading. I would suggest to anchor it somewhere in the map constructor, like a map.setHeading kind of thing. Comparable to i.e. map.setCenter.
Dec 29, 2010
Rotation of map from a design standing would make further use of Google Maps. Think about coastal cities along the East and West coast that could use a vertical block or in my case Panama City Beach and South Padre Island... both don't fit in a box without taking up TONS of design space, but if we could rotate map, I would fit in a very small space.
Jan 12, 2011
This would be awesome, I have a construction project that runs north-south on a road and there is alot of dead space on the map since I can't rotate the map.
Apr 10, 2011
I've noticed that locations that support 45 deg tilt also support rotation. Is there a logical reason why maps can't be rotated unless they are tilted? I have a golf map app and adjusting the orientation so the approach is green facing is indispensable. Could you also allow rotation in standard 90 deg view? As this shouldn't require special imagery like tilt does, it could be implemented anywhere.
Apr 12, 2011
Yes, not all our supported browsers support image rotation.
Apr 12, 2011
Does anyone know which browsers support the type of image rotation needed for a Google Maps V3 that would at minimum provide for a heading type of map alignment (or probably just as important which do not support this)?
Jan 19, 2012
Yes, it is the design issue, and being spoiled by Google earth. Not everything in the world runs in the landscape view of a computer screen. Some things are north south...
Aug 19, 2012
I mean, you can do this with a real map, very easily = -) . Let's help google keep one step away from any competition.
Nov 21, 2012
This is a great idea.. I want to do this with my current project
Nov 21, 2012
This is a great idea.. I want to do this with my current project
Nov 21, 2012
This support is desperately needed and I would ask for both setBearing(...) and setRotation(...) variations. Also, a simple setTrackUp(...) would be nice too.
Feb 22, 2013
Please allow map rotation
Feb 27, 2013
Maybe this would be easier with #4131.
Mar 20, 2013
Why wouldn't this be possible. Google is capable of this. Ridiculous.
Mar 31, 2013
I want this too. for the same reasons others have expressed. in some places the route you want to travel is far longer east-west and would be very useful to use all of the screen real estate on today's newer screens [most of which are 16:9], and therefore be able to use more of the screen real estate in a useful way, and at higher resolution features. Come on Google!!!
Apr 11, 2013
One issue with map rotation is readability. Remember that google pre-renders the map tiles for speed. Therefore all of the map labels are oriented for a "north up" display. If you rotate the map when heading south all of the map labels are upside down. Of course if you are using a vector display engine and rendering on the fly as in some of the mobile apps (like google map app on the iPhone), then this is not a problem.
Jun 1, 2013
Check out sapsailing.com. Sailors love to see wind-up and not north-up. Wouldn't it be cool if Google maps could stay on there?
Jun 13, 2013
Would love to see this feature but [email protected] makes probably the best point here of why this is not currently possible. What we really need is WebGL maps which google is working on for the desktop but where this is really needed if for mobile, and unfortunately not many mobile browser support WebGL.
Jul 15, 2013
I can live without labels being rotated properly, as long as I can see my entire north-south route on one single screen. A simple 90 degree rotation for the map tiles should not be a problem to add as a "click here to rotate" button/option. Heck, even the simplest graphics software lets you rotate an image!
Oct 23, 2013
On my IPad says I live in Port Ewen,N.Y. 12466. I live in Connelly,N.Y.12417 these are part of Esopus. Which is 5 hamlets in NYState but have their own Postal Addresses. Fix your maps.
Feb 2, 2014
Would love to see this.
Feb 3, 2014
Is this out yet? If so then which browser do I need to enable the map rotate feature? This use to be a feature on google maps, why did they take it away. "not enough people use, it", well we want it, so give it back.
Jun 30, 2014
Really need this feature for the world of sailing.
Jun 30, 2014
+1 on this, not only on Javascript v3 but on Android v2 too!!
Jun 30, 2014
I've been on this list receiving updates for over a 2 years. The best thing I've come up with is a DIV that's hack-ed-ly rotated itself and then having the map as the child of that DIV. I haven't had time to try this method (which is in the new GMaps API) but it looks promising.. https://developers.google.com/maps/documentation/javascript/examples/aerial-rotation?hl=it Chris
Oct 17, 2014
Why is this feature still not possible, south up map ? I want to make south up as default. Everyone should have a right to chose the map up-direction. What is the main technical difficulty for this ? Only political reason ? Which direction your house face ? Which direction do you want to see the sun ? I could make it with earth api, but not map api. http://kengen.net/southup/
Dec 5, 2014
And when you think of all the things you can do with Street View... Why is there not a MUCH EASIER TO IMPLEMENT 90 degree rotation option on the Map??????
Mar 6, 2015
> even the simplest graphics software lets you rotate > Everyone should have a right to chose the map up-direction. > Why is there not a MUCH EASIER TO IMPLEMENT 90 degree rotation option on the Map?????? Because IE6. And this is why we can't have nice things. But hey, you can rotate the map with one line of CSS3 as an above poster notes. Example: 1. Go here: https://google-developers.appspot.com/maps/documentation/javascript/examples/full/map-simple 2. In Chrome, go to developer tools -> elements such that you can edit the DOM. 3. Add rotate(x) to the map-canvas div's styles, it will look like this: <div id="map-canvas" style="position: relative; overflow: hidden; transform: translateZ(0px) rotate(20deg); background-color: rgb(229, 227, 223);"> Now, that gets the controls too. But if you go down to where the tiles are in map-canvas.firstChild.firstChild.something.something, you can apply the same thing there instead and leave the UI elements as-is. A little more effort at hacking it would likely solve whatever other problems there were.
Mar 31, 2015
(No comment was entered for this change.)
Status:
Triaged
Mar 31, 2015
:) thanks - Hoping this will provide infinite 360 deg rotation as GEarth did.
Mar 31, 2015
Stoked that this might be happening!
Apr 6, 2015
Thank you for expressing interest in this feature, but we currently don't have any plans to implement it. Unfortunately, one major limitation is that because we use square raster tiles, any rotations are limited to the cardinal directions (N, S, E, W) if we want text to remain horizontal, which doesn't meet many of the use cases described above (rotating the view arbitrarily to face where the car is going, or the view from your house).
Apr 6, 2015
...but this could be supported with a WebGL version of google maps javascript api. Version 4.x maybe? :-D
Apr 26, 2015
Hi Everyone, I am open to alternate solutions to the one I coded in my link. Having a "green" up display in golf is invaluable. Knowing how the shot will cross a hazard, how much green there is to work with and easily readable surroundings really adds to lower scores. I know the solution I entertaining won't fly for some browsers but for most newer browsers and mobile devices it will suffice. Your help and advice is appreciated. http://www.usgolfers.com/Eighteen%20Course%20at%20Augusta%20National%20Golf%20Club%C2%A0Augusta,%20GA/Map/281/Hole/12
Apr 27, 2015
I'm developing a map that will be located around campus on touch screen tvs. Our campus fits better horizontal than vertical facing East instead of North (see: attached image). I would love to just be able to change the cardinal direction. I hope you reconsider this.
May 11, 2015
So #37 says we can not rotate the google map... What is this? https://developers.google.com/maps/documentation/javascript/examples/aerial-rotation
Aug 26, 2015
Issue 6582 has been merged into this issue.
Aug 26, 2015
Issue 6335 has been merged into this issue.
Jan 3, 2016
Can't believe we still can't rotate Labels are the problem ? But if we desactivated labels ?
Jan 5, 2016
You can rotate by 90 degrees though.
var mapOptions = {
center: new google.maps.LatLng(0,0),
zoom: 16,
heading:90,//90,180,270
mapTypeId: google.maps.MapTypeId.SATELLITE //or hybrid
};
Feb 25, 2016
Bien
Feb 26, 2016
I use to be able to rotate the maps when google maps first came out, though it might have been a developer tool. The problem here is that we want to rotate usually not in a 90*x increments, we want values between 0<x<90.
Mar 20, 2016
Pretty please Google?
Mar 22, 2016
Buena |
|
| ► Sign in to add a comment |