I fixed it with some try and catches. I was not familiar with try ... catch, but it seems to work exactly like I want it to work. No need for arrays with countries which are exceptions anymore.
There are only still problems with Ireland and Sweden (maybe more countries, but I only know about these two). I can't seem to get the LocalityName for Swedish and Irish cities. Any idea? On 22 mrt, 17:37, Rossko <[email protected]> wrote: > Perhaps it's not 'undefined' but null. Inspect what the typeof > actually is to debug. -- 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.
