Surprising UI behavior when using setUIToDefault and enableRotation
When using setUIToDefault the map appears to get a
GHierarchicalMapTypeControl with satellite included and hybrid as a
sub menu on satellite (show labels).
I find that after enabling rotation, the submenu allowing for toggling
between satellite and hybrid is only available when rotation is not.
As soon as you reach a zoom level where rotation becomes available,
the submenu stops appearing. You can toggle the checkbox before
reaching that zoom level and either map works with rotation. You
simply can't toggle between the two while rotation is available.
This is unexpected behavior. Expected behavior would be for user to
always be able to toggle labels on and off.
While almost no code is required to duplicate this behavior, I will
nonetheless include a link (http://208.252.24.104/BadUI.html). Try
turning on satellite (notice the show labels submenu) and zooming in
on San Jose. As soon as rotation becomes available, show labels will
no longer appear when clicking satellite. Zoom back out, or try a
different area with no rotation (say Manhattan) and it comes back.
Thanks
Stephen
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home