javascript - Google maps Zoom Effect -


I am busy creating a Google Maps v3 site. If you take a look at the Google Maps site, you will see that they view physically zoom (CSS like deep zoom) before loading the tile.

I want to reproduce it on my behalf. The problem is that I can not find anything in the API context, which I can do with it. I thought of creating a imagemaptype and just received the node of the IIG tag and zoomed the CSS on it and called the general mapptus gateline, but there is no benefit. I try to use bound_change to see if the boundary changes, but I can not get the actual node (IMG tag).

Any help would be appreciated

thanks

In V2 API you can call the method to enable this feature. There is no such way in the V3 API because this feature is enabled by default in browsers which support it.

  • Read more from source:

I tried to have the following brief examples in Chrome 5.0.375.99 and Firefox 3.6.6 (both for Mac) And in Chrome only the map came with continuous zoom enabled:

   & Lt; Title & gt; Google Maps v3 Continuous Zoom & lt; / Title & gt; & Lt; Script src = "http://maps.google.com/maps/api/js?sensor=false" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div id = "map" style = "width: 500px; height: 400px;" & Gt; & Lt; / Div & gt; & Lt; Script type = "text / javascript" & gt; Var map = new google.maps.Map (document.getElementById ('map'), {zoom: 6, center: new google.maps.LatLng (-41.00, 174.00), type the map: google.maps.MapTypeId.ROADMAP }); & Lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

Comments