On Oct 13, 9:17 pm, Rossko <[EMAIL PROTECTED]> wrote: > > However, within map_properties_table.js , the RentalMap variable is > > undefined. How can I get the RentalMap variable inside of that > > Javascript file? > > Make it global in scope, by declaring it outside of ANY function > var RentalMap > No values required at that stage > > cheers, Ross K
Hi Ross. The variable RentalMap is being defined just like you suggest. It's at the end of the line that starts with "var marker71 ...": http://99.232.49.231:3000/neighbourhoods/18/map But for some reason, RentalMap is undefined when this file is loaded: http://99.232.49.231:3000/javascripts/map_properties_table.js However, the variable marker37, which is defined only a few lines above RentalMap, isn't undefined. Any idea what's going on? -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 -~----------~----~----~----~------~----~------~--~---
