Thank you very much! I was starting to get so frustrated with that! On Nov 18, 12:11 pm, "[email protected]" <[email protected]> wrote: > On Nov 18, 9:00 am, Mathew Ballard <[email protected]> wrote: > > > I am currently working on creating an example for a client on how a > > map will function. Right now it doesn't need to call to database or > > anything since it is just a small example. Once it is approved then it > > will be reworked to call from a database. > > > With the current example I am trying to integrate map.closeInfoWindow > > (); when you search for directions. But, I have yet to find a way to > > do so without the directions not coming up or the info window staying > > open. > > >http://dottrend.com/maps/sample.html > > You have a variable scoping issue. The map is created in the map > variable local to "initialize". You need to remove the "var" from in > front of it if you want it to use the global "map" variable. > > -- Larry
-- 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=.
