Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Display Longtitude/Latitude in CMS (using Addressable/Geocodable)


Go to End


1091 Views

Avatar
vwd

Community Member, 166 Posts

31 October 2011 at 4:57pm

Hi,

I'm experimenting with the Addressable module and would like to display the Longitude and Latitude fields that have been found.

I would like to display the Latitude and Longitude as read-only text fields if the address lookup succeeded. And if the look-up failed, to enable the text fields for manual input.

Also, is it possible to create a "Refresh Look-up" button that will call the GoogleGeocoding::address_to_point(...) upon button-press? How would one implement this in the CMS?

Thank you very much.

VWD.