troubleshooting Question

Want to display an InfoWindow when clicking a Marker on a Google Map

Avatar of twands
twandsFlag for United States of America asked on
Microsoft AccessWeb BrowsersScripting Languages
12 Comments1 Solution817 ViewsLast Modified:
Hello:   This is a followup to a earlier wuestion dealing with using Google Maps within Access.  I am having an issue getting an InfoWindow to Popup on my map when I click a marker.  I have what I believe to be the right code but it is giving me a syntax error when I try to map the markers.  If I rem out the code the markers plot fine.  I have attached a Database and the associated map.

Here is the code that is giving me the problem.

// Create an InfoWindow to display a Message about the Marker when clicked
  var infowindow = new google.maps.InfoWindow({
       content: 'It Works'

// Adding a click Event for the Marker
 google.maps.event.addListener(oMap.markers, 'click', function() {
//  Call the open method of the InfoWindow, oMap.markers);

You can run the code by opening the New Properties and selecting New Properties from the Mapping Options drop down and then click Map my Properties.

Any help or suggestions will be greatly appreciated.


Simon Ball
Chief information Officer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros