Larry, you right again. I am surprise I didn't notice that. but I make the change and I get another error.
http://www.simip.co.il/map2.html is there any debugger that can run over javascript? can you help me with this code? thank you again, Naor On Oct 22, 4:39 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Oct 22, 6:46 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > You right, it fix it. > > > Another bug that happened to me in several pages. > > Instead of: > > GEvent.addListener(marker, "click", function() { > > map.openInfoWindowHtml(point,infoHtml); > > }); > > I used: > > GEvent.addListener(marker, "click", function() { > > marker.openInfoWindowHtml(point,infoHtml); > > }); > > Because the syntax for marker.openInfoWindowHtml(...) is different > from map.openInfoWindowHtml. > Please use the > documentation.http://code.google.com/apis/maps/documentation/reference.html#GMarker...http://code.google.com/apis/maps/documentation/reference.html#GMap2.M... > -- Larry > > > > > > > And then when I click the marker - I get an error. > > The source code is at:http://www.simip.co.il/map2.html > > > Why does it happen? > > > On Oct 22, 9:37 am, William <[EMAIL PROTECTED]> wrote: > > > > On Oct 22, 1:09 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > var point = new GLatLng(this.latitdue, this.longitude); > > > > this.latitude- 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 API" group. To post to this group, send email to Google-Maps-API@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---