close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Unable to bind dataset to map

Thread began 12/01/2009 11:45 pm by tom395097 | Last modified 12/10/2009 12:28 pm by millerb395386 | 1945 views | 4 replies |

tom395097

Unable to bind dataset to map

Hey Guys,

I've been trying all night to get multiple addresses to show up on the google map from a dataset that has been binded into the php file that contains the map, with no success. The addresses will not show up.

I successfully added a static address. But I cannot get the 2nd address from the list to show multiple addresses from a dataset. I clicked the lightning button and added the "Address" value to the Pro Map's "Street Name" and also added the zip code for good measures.

When I do this, the code for the address looks like this:

Street: {ds1::Address}
Zip / Postal Code: {ds1::ZipCode}

the page with the map is:
map.php

the dataset source is:
ds1.html

The PHP page has ds1.html binded properly as a dataset, so I do not know why Google Maps will not show the locations. Please help!!!!!!!!

Thanks,

Thomas

Sign in to reply to this post

Jason ByrnesWebAssist

Pro Maps will only be able to retrieve dynamic data from a database using a recordset. It is not compatible with the type of data set you are trying to use.


You should create a MySQL database. In the database add a locations table:
locationID - Primary Key
locationAddress - varchar(45)
locationCity - varchar(45)
locationState - varchar(45)
locationZIP - varchar(45)
locationCountry - varchar(45)

Then add the addresses to the location table.

In Dreamweaver you can create a recordset to retrieve the addresses from the database, then use the recordset in Pro Maps.

Sign in to reply to this post

millerb395386

The kind of data Map Pro is looking for looks like this

$row_Google_Recordset['business_name']

if you are using PHP.

Sign in to reply to this post

tom395097

Thanks!

Thanks. It would of made my life 100x easier if it was comparable with datasets. But I finally figured out MySQL and php.

Sign in to reply to this post

millerb395386

I hear you. I was doing this all by hand until I discovered that Dreamweaver can do it quickly and with less typos :o

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