close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Have map display item selected in a table

Thread began 3/18/2010 5:15 pm by Dennis | Last modified 3/24/2010 2:53 pm by Jimmy Wu | 1463 views | 5 replies |

Dennis

Have map display item selected in a table

Hi,

This is my first experience with WA Google Maps.

I have a table on my page 2010NationalMap.html with a few items listed, with the map displayed below. I have entered the items listed in the table into the WA Map Wizard.

Now I would like to add the ability so when someone clicks the icon in the table, that location on the map will display the info window for that location.

Thanks,
Dennis

Sign in to reply to this post

Jimmy Wu

You should take a look at the How to change which address your map centers on PDF in the How To's section of the support page:
pro-maps-for-google/

There's some other helpful tutorials in there as well.

Sign in to reply to this post

Dennis

military boardman

Thanks Jimmy,

Worked great. I had skimmed through those documents, but I didn't catch on to what it ment at first.

I have one entry that uses coordinates. Can this code be changed to accept them, and how would I enter Lat: 42.79275, Lon: -77.608817 ?

<a href="#" onClick="wagmp_map_1_obj.getPointByAddress('Address').marker.openInfoWindowHtml(wagmp_map_1_obj.getPointByAddress('Address').address.infowindowtext);">Link to map</a>

Also when I click on an icon (in my table) to bring it up in the map, instead of the page moving down to the map, it actually jumps up to the top of the page. Can you suggest a way to get the focus (of the page) to jump down to the map?

Thanks
Dennis

Sign in to reply to this post

Jimmy Wu

To scroll it down to a certain point in the page, there are some suggestions here:
590402-scroll-move-webpage-location-upon-load

To scroll to the latitude or longitude point, you would have to write the link code slightly differently:
<a href="#" onClick="wagmp_map_1_obj.getPointByAddress('42.79275', 'latitude').marker.openInfoWindowHtml(wagmp_map_1_obj.getPointByAddress('42.79275', 'latitude').address.infowindowtext);" >Link to map</a>

If you wanted to reference the point by longitude, you could do the same thing, just change latitude to longitude and replace the 42.79275 with the -77.608817.

Sign in to reply to this post

Dennis

Jimmy,

Thank You for the good infomation.

Denis

Sign in to reply to this post

Jimmy Wu

No problem. If you run into any additional issues, feel free to open a new thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...