On Jan 13, 5:06 pm, aks9800 <[email protected]> wrote: > Hi Andrew, > I changed the code to > > if (point) { > map.setCenter(point, 13); > var marker = new GMarker(point); > map.addOverlay(marker); > marker.openInfoWindowHtml(address); > } else { > alert(address + point + " not found"); > } > > I still get the same "invalid label" error.
I don't. I've plugged that code into my test page and it works fine. In any case, the JSON output is returned from a getLocations() request; and if you're still getting the same error, it mentions isCachable, which is a method of the GGeocoderCache class. So I'm not convinced that the code you have posted is representative, I'm afraid. That's not an invitation to post the lot! > unfortunately i don't own a hosting so I am doing this locally... and > don't have means of showing it online. Get some free hosting (Yahoo, Geocities, whatever) and put your code online. That advice is in the posting guidelines. Without being able to reproduce the problem, it's not going to be possible to advise. I can't make your code go wrong. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
