close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multiple Addresses destroys map

Thread began 8/04/2011 2:26 am by iansheldon422428 | Last modified 8/05/2011 10:00 am by Jason Byrnes | 3154 views | 11 replies |

iansheldon422428

Multiple Addresses destroys map

Hi,

I have implemented a map that pulls back addresses from a recordset.

The problem is, whilst it pulls back the first address fine it then stops there and in turn destroys the visibility of the map.

Even as you drag around the map area parts dissapear. It works fine if I just pull a single address back from the recordset.

I'm hoping there is an easy fix to this! :-)

Cheers
Ian

Sign in to reply to this post

Jason ByrnesWebAssist

please post a link where i can see the problem.

It's impossible to tell what the fix may be without knowing what is causing the problem, to tell what is causing the problem, I need to see it.

Sign in to reply to this post

iansheldon422428

Hi Jason,

It's all built within a password protected system at the moment.

What I will do is try and create a standalone page to replicate the problem and give you the URL for that.

Cheers
Ian

Sign in to reply to this post

Jason ByrnesWebAssist

another option is to view source on the page in the browser and send a copy of the page source, I might be able to spot the problem that way.

Sign in to reply to this post

iansheldon422428

Hi Jason,

Thanks for your help.

Is the attached enough for you to work with to troubleshoot?

Cheers
Ian

Attached Files
page.txt
Sign in to reply to this post

Jason ByrnesWebAssist

The issue i see is that the street address in the code is coming out as [Address]:


street: '[Address]',
city: '',
state: '',
zip: 'ST2 7LE',
country: '',
infowindow: 'default',


which is causing the map to break.

Sign in to reply to this post

iansheldon422428

Hi Jason,

Thanks for coming back to me.

I've had a quick look and changed the map (recreating it, again based on the multiple addresses from recordset).

Same problem though i'm afraid, and when I look at the source there seems to be no attempt at it getting past the first record (there are 5 records in total).

Let me know what you think.

Best Regards,
Ian

Attached Files
helpdesk_mydiary.zip
Sign in to reply to this post

Jason ByrnesWebAssist

in the source code, i can see that there are 5 addresses, but each one is exactly the same:


var address_0_x = {
street: '',
city: '',
state: '',
zip: 'ST2 7LE',
country: '',
infowindow: 'default',
infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>Address:</strong><br />[Address]<br /> ST2 7LE</span>',
full: '[Address], ST2 7LE',
isdefault: true,
addressType: 'address',
loop: 'rsmaps',
latitude: '',
longitude: '',
markerStyle: 'Google Traditional (flat)',
markerColor: 'Pacifica'
};


the full address for all 5 is:
full: '[Address], ST2 7LE',


can you send a copy of the google_javascript/wagmp_map_2php file so i can see how that was configured.

Sign in to reply to this post

iansheldon422428

Of course Jason, here you.

This is unmodified so as created by the Wizard.

Cheers
Ian

Attached Files
wagmp_map_2.zip
Sign in to reply to this post

Jason ByrnesWebAssist

on your pain page, double click the rsdayjobs recordset and click the test button, send a screen shot showing the data returned from the recordset.

Sign in to reply to this post
loading

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