Need to have a listing of all my markers diplayed
I have seen many goolge maps the have a listing of all the markers as a list on the left or right of the map. Anyway I can do theis with Promaps?
I have seen many goolge maps the have a listing of all the markers as a list on the left or right of the map. Anyway I can do theis with Promaps?
you can do this by adding a repeat region next to the map that uses the same recordset you use to populate the map.
With the examples I have seen when you click on the name of the marker in the list, it pops up on the map
see the "How to change which address your map centers on" tutorial in the How To section of the pro maps support page:
pro-maps-for-google/
the tutorial i sent you to is for creating a listing of links that will display the associated address balloon just like the site you linked to.
Maybe I am crazy but the only thing I see in that tutorial is how to set the initial focus point to a specif address (which I did via my recordset sort order) and zooming in to 14. Still lost
If you read the tutorial more carefully, you will see that it has you create links with a javascript onclick event that passes the street address, this onclick event loads the address balloon for the clicked address.
I created a repeat region as I should have. My map points to wagmp_map_6.asp.
In the repeat region I placed the following code:
<a href="#" onClick="wagmp_map_6_obj.getPointByAddress('<%=(Recordset1.Fields.Item("LocationName").Value)%>').
marker.openInfoWindowHtml(wagmp_map_6_obj.getPointByAddress('<%=(Recordset1.Fields.Item("LocationName").Value)%>').address.infowindowtext);"><%=(Recordset1.Fields.Item("LocationName").Value)%></a>
where location name is what displays but it still doesn't work. Here is the
osceola.asp
there are no gaps in the code as shown in the previous post
<a href="#" onClick="wagmp_map_6_obj.getPointByAddress('<%=(Recordset1.Fields.Item("LocationName").Value)%>').
marker.openInfoWindowHtml(wagmp_map_6_obj.getPointByAddress('<%=(Recordset1.Fields.Item("LocationName").Value)%>').address.infowindowtext);"><%=(Recordset1.Fields.Item("LocationName").Value)%></a>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.