close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Is there a way to add a legend to Pro Google Maps?

Thread began 6/22/2012 6:29 pm by brian358606 | Last modified 7/02/2012 2:10 pm by Jason Byrnes | 1750 views | 5 replies |

brian358606

Is there a way to add a legend to Pro Google Maps?

Has anyone found a way to add a legend to Pro Google Maps by Webassist?

I would be a great benefit/addition to be add a legend that would allow a user to select which "type" of group of information they wanted to see (i.e., restaurants, shops, hotels, etc.)

Sign in to reply to this post

Ray BorduinWebAssist

You could populate the map from a record set and filter the record set based on the selected "type"

Sign in to reply to this post

brian358606

Using 'Filters' to Create a Legend

I am not sure how to do that.

To create my map, I created six separate recordsets - one recordset for each category (bars, hotels, shopping, etc.). I have separate recordsets so that in Pro Maps for Goggle, I can assign a different icon/flag to each category to provide an easy visual cue to the visitor.

Currently, the map shows all six categories with their assigned icon. What I would like to do is have a legend, where the visitor could click a check box or a link which would then show only the businesses matching that category (bar, hotel, etc.)

I know I could create a recordset with everything in one recordset and then filter a particular category (i.e., hotels), but then I would not be able to give them the different icon/flag, because the icons/flas are assigned to a recordset in Pro Maps.

Or am I missing something? Is there a way to use a Filter to hide/show each recordset separately based on a user's selection?

Sign in to reply to this post

Jason ByrnesWebAssist

In this case you would need to create a separate page for each type, Create one page to show all the restaurants, another to show the shops, etc...

Sign in to reply to this post

brian358606

Creating an additional Recordset gave a good result

Thanks Jason - You go me thinking about it more, and I realized I could just create a 7th recordset which included all the locations, but set it up to require a URL parameter. Then with a listing of the hotels, bars, etc., a user could select the one they wanted, and the request location would appear with a Flag/icon point to it.

The only issue is that to do it this way, you have to give that recordset a default location name so that Pro Google Maps can work, but I added a php ISSET and Else to set the selection on location for my default.

This is a good and workable solution.

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear you where able to sort it out.

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...