Hello I checked this link and gives 404 error. Can you please either send me the file in [email protected] or can u upload the file. I need to look on code. Help me out please.
Do send me code if file is not possible Thanks in advance On Wednesday, December 2, 2009 11:00:33 AM UTC+5:45, Chad Killingsworth wrote: > > Here's an example. Notice that map is defined outside the initialize > function: > > http://search.missouristate.edu/map/mobile/examples/panto.htm > > Chad Killingsworth > > On Dec 1, 7:52 pm, Mike <[email protected]> wrote: > > Thanks for responding Esa, I tried it and it is outside the initialize > > function, but I get a JS error is Firebug: > > > > map is not defined > > javascript:map.panTo(panPoint)() > > > > I am going to play around with it, but if you have any quick thoughts, > > I'd like to hear them. > > > > Thanks again, > > Mike > > > > On Dec 1, 6:06 pm, Esa <[email protected]> wrote: > > > > > Your map and panPoint must be global variables (defined outside > > > intialize()). > > > > > var panPoint = new google.maps.LatLng(number, number); > > > > > In html: > > > > > <a href="javascript:map.panTo(panPoint)">Pan</a> > -- 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/-/IvYJK8mb6Z4J. 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.
