Hi!

I want to move the API's version of my custom map from v.2.s to v.2.

I'm not able to configure the overviewMap correctly for having the
overviewMap feature of my custom map and with a functional zoom. At
the time being, I use this old code that make the job with the 2.s but
not with 2:

            var ovcontrol   =   new GOverviewMapControl(new GSize
(200,200));
            map.addControl(ovcontrol);
            var omap = ovcontrol.getOverviewMap();
            if (query   == ""){
                omap.setCenter(new GLatLng
(48.4118840383916,-68.47915649414062), 11, custommap);
            }

See a live example with the v=2.s: 
http://www.ville.rimouski.qc.ca/carte/carte.htm
See a live example with the v=2: 
http://www.ville.rimouski.qc.ca/carte/carteZoom.htm

I know the new way to do this seems to be something like that:
                                                                var ov = new 
GOverviewMapControl(new GSize(200,200));
        ov.setMapType(custommap);
                map.addControl(ov);
but I'm not able to add a functional zoom to the small map.

Thanks in advance!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to