close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Bubble shows without directions, but not with

Thread began 11/20/2009 3:05 pm by WilliFixit | Last modified 11/23/2009 2:58 pm by Ray Borduin | 1522 views | 4 replies |

WilliFixit

Bubble shows without directions, but not with

Today I decided to add the directions for a Google Map. When I enabled the Include Directions in step 5 of the WA interface, then I lose the bubble on the main (only one) map point just as the map loads. If I disable the Include Directions, it comes back.

How do I enable the directions AND get the bubble to show?


Thanks,

Sign in to reply to this post

Eric Mittman

Are you gathering the origin location for the directions on the same map page? If so and you would like the normal map to show until the address is entered you could have two maps on the page, one with the directions enabled that won't display unless the user enters the location, and the other would just be the normal map.

If you need to have just the single map but have it change to the directions map only after a user enters the directions you may need to add in a little custom code to get the map to display like this.

Do you have a link to the page with the map on it? I think having a reference for your current setup would be helpful.

Sign in to reply to this post

WilliFixit

Link and answer

Yes, the map and form for putting in the directions are on the same page.

See: ourlocation.php

Sign in to reply to this post

jon_upton

Problem appears to be with form submit...

I have tried your page a couple of times the form doesn't submit because regardless of whatever you enter it fails your validation even your selection from the state list fails

see attached image.

If the form doesn't submit then promaps can't create the driving instructions.

Best regards

Jon

Sign in to reply to this post

Ray BorduinWebAssist

You can try updating this line the two places it occurs:

if(!fromAddress.enabled || 'address_0' != 'address_0') {

update it to:

if(fromAddress.street == '' || 'address_0' != 'address_0') {

I think that will fix it.

Sign in to reply to this post
Did this help? Tips are appreciated...

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