Reviewed & tested by the community
Project:
Geofield
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2013 at 19:29 UTC
Updated:
19 Apr 2016 at 10:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mariacha1 commentedHere's a screenshot of the link, as well.
Comment #2
klucid commentedWorks great. Thanks for the patch!
Comment #3
vlyalko commentedI cannot seem to be able to find where to set this Show a Directions parameter. Can you please assist? Thank you
Comment #4
vlyalko commentedI have found where I can set the show direction property, but even if it is checked, the link is still not showing up. Can you please help? Thank you
Comment #5
cosmo.kramer commentedHow do I install it?
Comment #6
eudaemonia commentedYou can follow directions here to use cygwin to apply the patch. Once you've uploaded the patched files to your server, be sure you update.php.
Create a content type, use addressfield to collect location data, and use geofield to "geocode from another field" (that's the widget you should choose when you add a geofield to your content type).
In "Manage Display," for geofield, choose geofield map. When you click settings for the display (the little gear to the right) you'll see a "Show a Directions Link" check box at the bottom of the list. Check it. Be sure to hit "Save" on the "Manage Display" link and you're done.
Comment #7
RKopacz commentedI'm looking for something like this, but note that this issue is over a year and a half old. I am using the current release of Geofield. Will the patch work on that now? Will have a look at it myself but if someone knows would appreciate an update.
thanks
Comment #8
troybthompson commentedI have other patches so I installed this manually, but it worked great. Thank you! A badly needed feature.
Comment #9
harrrrrrr commentedTested & works.
Patch against current version attached.
Comment #10
ntsekov commentedUpdated text link to View on Google Maps and added class map-direction to link if you want to add some style for it.