You were right for my error with IE, after convert my phpsqlajax_genxml.php to UTF8, I haven't error on IE ! thx for that Ralph & Larry !
I have a question , How know if one variable is global or not ? I Don't know were put my var map, for make it Global . On Aug 3, 1:03 am, "geocode...@gmail.com" <geocode...@gmail.com> wrote: > Looks like you got the xml working for:http://greglg.free.fr/spotme/map.php > > The "zoom to" link doesn't work because the map variable is not > global. It is local to your load function. It needs to be declared > in the global scope, then initialized in the load function. > > var map = null; > function load() { > map = new google.maps.Map(document.getElementById("map"), { > > ... > > -- Larry > > On Aug 2, 11:26 am, "geocode...@gmail.com" <geocode...@gmail.com> > wrote: > > > On Aug 2, 10:42 am, Greg45 <gre...@gmail.com> wrote: > > > hi I'm back :) > > > > after a lot of test. I'm block here : > > > > I test to modify the codage of my page without success > > > > for my error with IE, I think found why I have this error but I don't > > > arrived to fix it . > > > > In my script, I have this code : > > > > downloadUrl("phpsqlajax_genxml3.php", function(data) { > > > > with this code I have An Error JUST with IE with no marker show, > > > -->http://greglg.free.fr/spotme/map_without_slash.html > > > > when I put a slash before" phpsqlajax_genxml3.php" like this: > > > > downloadUrl("/phpsqlajax_genxml3.php", function(data) { > > > > IE get my info marker and put it on map. But he don't get The Other > > > information. > > > > I don't Understand why. > > > > I'm not a developer, I just like make and build website so Many thanks > > > for your patience and for your help > > > > @larry > > > Thanks too. > > > I try your code tomorrow, I hope find and understand why This code > > > work for you and not for me :) > > > I did have to modify your xml (to remove the character that was > > causing problems). I suspect a character encoding issue with your php > > script that creates the xml. It is not really a Google Maps API issue > > and I have solved similar problems with the V2 API (for my "Active > > Volcanos" page). > > > You need to make sure that your xml, your page itself and your > > database all agree on the character encoding being used, and advertise > > the character encoding they are using. > > > -- Larry > > > > On Aug 2, 6:14 pm, "geocode...@gmail.com" <geocode...@gmail.com> > > > wrote: > > > > > On Aug 2, 6:55 am, "geocode...@gmail.com" <geocode...@gmail.com> > > > > wrote: > > > > > > On Aug 2, 6:26 am, Greg45 <gre...@gmail.com> wrote: > > > > > > > thanks Larry for your help ! > > > > > > > I have test your like, it's fine ! but i don't know why, he doesn't > > > > > > work on my script. > > > > > > My link "Zoom to" doesn't work . > > > > > > could you check my script please and say to me where is my mistake > > > > > > ?http://greglg.free.fr/spotme/map.php > > > > > > The first error I get is: > > > > > Line: 134 > > > > > Error: System error: -1072896658 > > > > > > I don't see any markers or any createMarker function on that page. > > > > > This works (with a modified version of your > > > > xml):http://www.geocodezip.com/v3_MW_example_map3_zoom1a.html > > > > > -- Larry > > > > > > > Thx again > > > > > > > On Aug 1, 9:01 pm, "geocode...@gmail.com" <geocode...@gmail.com> > > > > > > wrote: > > > > > > > > On Aug 1, 10:03 am, "geocode...@gmail.com" <geocode...@gmail.com> > > > > > > > wrote: > > > > > > > > > On Aug 1, 9:43 am, Greg45 <gre...@gmail.com> wrote: > > > > > > > > > > hello, > > > > > > > > > > I want to put in my infowindow one button. When we click on > > > > > > > > > this > > > > > > > > > button, we have immidiately a maximum zoom on marker. I found > > > > > > > > > on the > > > > > > > > > web but without success . > > > > > > > > > > So, for you it's possible or not ? And do you have some > > > > > > > > > example ? > > > > > > > > > It is possible. I have done similar functionality for v2 (but > > > > > > > > not for > > > > > > > > v3, but the pieces are there just slightly different syntax). > > > > > > > > The one > > > > > > > > thing that needs to be determined is how you are going to know > > > > > > > > what > > > > > > > > the "maximum zoom" is for that marker. > > > > > > > > Didn't seem too difficult for v3. Does this help > > > > > > > you:http://www.geocodezip.com/v3_MW_example_map3_zoom.html > > > > > > > > -- Larry > > > > > > > > > Where is your map where you have tried to do it? > > > > > > > > > -- Larry > > > > > > > > > > thank you > > > > > > > > > > Regards > > > > > > > > > > ps: sorry for my english- Hide quoted text - > > > > > > > - Show quoted text -- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text - -- 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 google-maps-js-api...@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.