On Oct 13, 4:09 pm, Rossko <[EMAIL PROTECTED]> wrote: > > Any thoughts on what might be going on? Cheers, > > No idea. Scope? Now's the time to follow the posting guidelines. > > Remember that any of (overlay, latlng, overlaylatlng) may be > undefined, depending where you click.
Hi Ross. If you take a look at the source for the URL below, you'll see that the map is stored in a variable named "RentalMap": http://99.232.49.231:3000/neighbourhoods/18/map If you then have a look at the Javascript at the end of this file: http://99.232.49.231:3000/javascripts/map_properties_table.js You'll see that I do two things: 1) Check if the variable "RentalMap" is defined. 2) Add a listener to the map (RentalMap). However, within map_properties_table.js , the RentalMap variable is undefined. How can I get the RentalMap variable inside of that Javascript file? Thanks again for your help, mate! Nick --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
