On May 11, 10:49 pm, "Google Services, JOIN Internet Solutions" <[email protected]> wrote: > Hi, Larry! > I made the changes, and after the error it doesn't show now, but the kml > doesn't show.
Google Maps still doesn't like it: http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=http:%2F%2Fmapes.bicisprint.com%2Frecursos%2Fjsp%2FmapServer.jsp%3Ffunction%3DgetKmlMapById%26id%3D52&ie=UTF8&z=4 http://mapes.bicisprint.com... could not be displayed because it is not a valid KML or KMZ file. > I put an alert for loadCorrectly inside events functions and it shows > true.... > > Also now the tooltip it shows/hide when i do mouseover/mouseout in the > marker, but not in the table tr.... the tooltip only show but never hides! > > If i removed the mmap.addOverlay(kmls[counter]) / > mmap.removeOverlay(kmls[counter]) the tooltip works properly in events in > marker or in the tr of the table.... > > Any idea? > > ----- Original Message ----- > From: <[email protected]> > To: "Google Maps API" <[email protected]> > Sent: Tuesday, May 12, 2009 7:41 AM > Subject: Re: GGEOXML doesn't show kml > > On May 11, 9:11 pm, "Google Services, JOIN Internet Solutions" > <[email protected]> wrote: > > Hi, Larry. > > > Why is invalid? > > > Before i try to test: > > > GEvent.addListener(kmls[1],'load',function() { > > alert(kmls[1].loadedCorrectly() }) > > and it shows true.... > > That is valid... > > GEvent.addListener(kmls[1],'load', > function() {alert(kmls[1].loadedCorrectly() }) > is different from: > GEvent.addListener(kmls[1], 'load', > addMarkerPoint(-0.3722,42.52013,52,nom1,1)); > > in the first case function() {} is a pointer to an anonymous > function. In the second, addMarkerPoint(...) is executed and its > return value (which is null) is used as a function pointer (not what > you want...). > > GEvent.addListener(kmls[1],'load', > function(){addMarkerPoint(-0.3722,42.52013,52,nom1,1)}); > > Probably does what you want. > > -- Larry > > > What element is null? kmls[1] ? > > > Any proposal of change in the code? > > > Thanks! > > > ----- Original Message ----- > > From: <[email protected]> > > To: "Google Maps API" <[email protected]> > > Sent: Monday, May 11, 2009 11:21 PM > > Subject: Re: GGEOXML doesn't show kml > > > On May 11, 12:57 pm, "Google Services, JOIN Internet Solutions" > > <[email protected]> wrote: > > > Hi! > > > Now the kml is valid, but it shows the same error: > > > > "this.sh is nul....." > > > This is invalid syntax: > > GEvent.addListener( kmls[1], 'load',addMarkerPoint > > (-0.3722,42.52013,52,nom1,1)); > > > It executes addMarker(...) and uses the return value (null) as the > > function pointer for when the 'load' event fires... > > > -- Larry > > > > Thanks! > > > > ----- Original Message ----- > > > From: "Mike Williams" <[email protected]> > > > To: <[email protected]> > > > Sent: Monday, May 11, 2009 9:23 PM > > > Subject: Re: GGEOXML doesn't show kml > > > > >http://mapes.bicisprint.com/recursos/jsp/mapServer.jsp?function=getKm... > > > > ById&id=52 could not be displayed because it is not a valid KML or KMZ > > > > file. > > > > > You can check it at the KML Validator: > > > > >http://www.kmlvalidator.com/home.htm > > > > > -- > > > >http://econym.org.uk/gmap > > > > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
