Hi,

I used to use Google maps V2 and did work on 
http://www.kangarooisland.com.au/aspx/Home.aspx

After playing around I managed to get the zoom working based on
examples I found using a GLargeMapViewControl and it only scaled to
the max and min zoom settings.

The code is very ugly, I just updated it not built it.

I think this is what was used to set the zoom max and min.

    //SET MAP RESOLUTION
    var mt = map.getMapTypes();
    for (var i = 0; i < mt.length; i++) {
        mt[i].getMinimumResolution = function() { return 9; }
        mt[i].getMaximumResolution = function() { return 16; }
    }


I want to do the same with Google Maps V3 and I set the zoom max and
min using.

       google.maps.event.addListener(map, 'zoom_changed', function ()
{
            if (map.getZoom() > 16) {
                map.setZoom(16);
            }
            if (map.getZoom() < 9) {
                map.setZoom(9);
            }
        });

            navigationControl: true,
            navigationControlOptions: {
                style: google.maps.NavigationControlStyle.ZOOM_PAN,
                position: google.maps.ControlPosition.BOTTOM_RIGHT
            },

QUESTIONS:

What is the best way to setup the max and min zoom settings on a
navigation control?

Can I extend the navigation control?

I have managed to created a custom control which shows the correct
parts of image http://maps.gstatic.com/intl/en_ALL/mapfiles/mapcontrols3d5.png
to show a smaller slider and have the Zoom In/Out buttons at each end
of the slider zooming in and out but I am not sure how to get it to do
the drag of the slider in a custom control to set the zoom.
Does anyone know where I can find an example?

My new site (http://ki.deadline.net.au/aspx/Home.aspx)

Every time I add a control and make it BOTTOM_RIGHT it goes left of
the copyright not above it, how do I set it to go above the copyright?

Thanks

Jeffrey

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to