I checked this option and it does cause a "plan route" link to appear in the info bubble on my marker, but when you click the plan route link you're taken to a page that just shows the map again and says "Page not found The requested page could not be found." The path for that page you're taken to appears to be:

Drupal.GMapBlocks[1].initDirectionsForm()

Comments

skilip’s picture

Title: Location "Use Directions" options doesn't appear to work » Remove filtering of the Directions form
Status: Active » Needs review
StatusFileSize
new1.1 KB

Hey, I've been able to reproduce this by changing the input format. In BETA3 I've added filtering of the info window's content. Right now the form is filtered as well, which obviously shouldn't happen. This patch fixes this. I'll commit this to the next release.

sutharsan’s picture

hmm, trying to apply this patch (patch -up0 < patch_file_name) gives me:

patch: **** Only garbage was found in the patch input.
sutharsan’s picture

Status: Needs review » Needs work

I just see that you have applied this patch, but with standard Filtered HTML filter applied, the "plan route" still gives a page not found error. Using the alternative Full HTML filter results in an additional

tag with all hidden form fields in it!

sutharsan’s picture

Status: Needs work » Needs review
StatusFileSize
new1.12 KB

The attached patch moves the directions form out of the filtered info text.

sutharsan’s picture

Status: Needs review » Fixed

This change is included in beta4 release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.