PDA

View Full Version : Adding a name to a map point


brian358606
06-24-2010, 12:22 PM
I've generated a map from a database. The map shows all the businesses I need to include, however, I can't figure out how to add the Business Name to the Comment Balloon when someone clicks on the flag.

I realize it would have to be added in the google_javascript file, but I can't figure out where or how to add the company names (the names are stored in the same database used to generate the addresses.)

Can anyone help?

Plus it would be nice to be able to add other datafields in the Comment/Balloon in addition to the Business name. For instance a URL link would be nice too. But having the name of the business is essential.

Thanks

Jason Byrnes
06-24-2010, 01:03 PM
you can add any database fields you wish to the info balloon. the simplest way to do this is to design the info balloon on your main page using the recordset bindings from the bindings tab, then copy the code that is created on the main page, and edit the Pro Maps instance.

on the third page of the wizard, set the Info Window to Custom, then paste the code into the info window design box.

brian358606
06-25-2010, 10:58 AM
Of course, I guess I was so tired I just didn't think of pulling the drop down menu to get to "custom."

Thanks.

Jason Byrnes
06-25-2010, 11:30 AM
No worries.