Actually, this issue is still not solved. Here is my zoom code:
function QuickZoom(location){ if (map.getMapTypeId() == "arcgis"){ map.setMapTypeId(google.maps.MapTypeId.SATELLITE); } switch (location) { case 'Kenya': map.setCenter(new google.maps.LatLng(0.045308, 37.659934)); map.setZoom(22); break; case 'Niger Desert': map.setCenter(new google.maps.LatLng(20.197507, 12.964894)); map.setZoom(22); break; case 'Zinder': map.setCenter(new google.maps.LatLng(13.789515,9.000553)); map.setZoom(22); break; case 'India': map.setCenter(new google.maps.LatLng(21.567350, 76.135597)); map.setZoom(19); break; case 'Filingue': map.setCenter(new google.maps.LatLng(14.355961,3.320918)); map.setZoom(22); break; default: break; } } The actual map can be viewed here. http://save-the-rain.com/SR2/save-the-rain-2.html Click the Kenya, Niger Desert, etc links. If you click on the Kenya link, the map zooms in fine. If you click on the "Niger Desert" link, the map only zooms to zoom level 19. It should be 22. If you click on the "Niger Desert" link again, the map will zoom into 22. Any idea why this is happening? Thanks in advance, M On Saturday, February 25, 2012 8:31:44 PM UTC-8, Mapper99 wrote: > > My bad...FYI - if anyone else is experiencing this, just ensure the map > type is set before you zoom. It appears the HYBRID map type and the > SATELLITE map type share the same imagery, just not the same amount of zoom > levels! > > case 'Filingue': map.setCenter(new google.maps.LatLng(14.355961, > 3.320918));map.setMapTypeId(google.maps.MapTypeId.SATELLITE); > map.setZoom(21); > break; > > Works like a charm. Great imagery by the way. > > M > > On Saturday, February 25, 2012 8:24:54 PM UTC-8, Mapper99 wrote: >> >> I can't get my map to zoom in past level 19 using the v3 API: >> >> case 'Filingue': map.setCenter(new >> google.maps.LatLng(14.355961,3.320918));map.setZoom(21); >> map.setMapTypeId(google.maps.MapTypeId.HYBRID); break; >> >> This area supports more zoom levels: >> >> >> http://maps.google.ca/maps?q=14.355961,3.320918&hl=en&ll=14.355961,3.320918&spn=0.000258,0.00051&sll=49.891235,-97.15369&sspn=45.273403,133.681641&t=h&z=22 >> >> Any idea why this won't work? Is there something I need to set when I >> initialize my map? Works fine in the v2 API. >> >> Thanks in advance, >> >> M >> >> -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/ic-1CU6AodgJ. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.