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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

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


Go to End


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