Our customer has requested the option to display the GPS location as a link to Google Maps, because they don't know what location corresponds to the GPS coordinates.
Adding a link to Google Maps isn't that difficult while providing an easy way of looking up what location is given.

Comments

paulvandenburg created an issue. See original summary.

paulvandenburg’s picture

Status: Active » Needs review
StatusFileSize
new3.72 KB

Add an extra setting to the GPS component to allow rendering the value the default way or using the new style with a Google Maps URL.

paulvandenburg’s picture

StatusFileSize
new3.8 KB

Modified the patch so that the google maps link opens in a new tab so you don't lose your webform progress.

heine’s picture

This is a rather nice and quick addition. One nit: the query arguments to the map URL should IMO be passed uncheck_plained to the query option of l().

  • Heine committed fcede82 on 7.x-1.x authored by paulvandenburg
    Issue #2893480 by paulvandenburg: Show GPS value as Google Maps link to...
heine’s picture

Status: Needs review » Fixed

I committed a slightly modified patch. Thanks!

Status: Fixed » Closed (fixed)

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