PDA

View Full Version : How to get 3D Zoom Control


ian42475
11-01-2009, 04:30 PM
The very rubbish looking flat zoom elements define everything i do with this extension as years old

How do i get the 3D look for the maps?

this is vital for any sensible implementation of this extension

Ian

Jason Byrnes
11-02-2009, 10:58 AM
In the map js file, find the line that creates the map control and change it to the 3D control.

depending on how you define the map control in the wizard, the line will be slightly different, for example, if I select a small map control in the wizard it will look like:

map.addControl(new GSmallMapControl());

to change this to use the 3d control:
map.addControl(new GSmallZoomControl3D());


The following page lists all of the possible values:
http://code.google.com/apis/maps/documentation/controls.html

ian42475
11-03-2009, 09:54 AM
Awesome, that helps a lot
Really appreciate the ability to display more professional results

Jason Byrnes
11-03-2009, 10:56 AM
you're welcome.