Skip Navigation

[Resolved] Mapping

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 -
- - - - - - -

Supporter timezone: Pacific/Niue (GMT-11:00)

This topic contains 5 replies, has 2 voices.

Last updated by Yvette Oliveau 5 years, 9 months ago.

Assisted by: Yvette Oliveau.

Author
Posts
#1204049

We specialize in land purchases that require latitude and longitude rather than a physical address. How can I adapt my Google Map API to collect this information?
Alternately, how can I place an embed from a map service?

#1204402

Yvette Oliveau
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Pacific/Niue (GMT-11:00)

Hello

Is is possible to use this form of value in the Address Field provided in the Toolset Maps: {lat,long} In this case, the field value will be stored as a pair – {latitude,longitude}.

This is essentially what happens when an "address" is entered by clicking on a location in the map.
More here: https://toolset.com/documentation/user-guides/display-on-google-maps/#map-address-fields

Would this not meet your objectives?

#1204684

The latitude, longitude option appears to be for a user entry field rather than a back-end address field. I've attempted to use it but it requires an https and I'm on a test site for building my content.

#1204752

Yvette Oliveau
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Pacific/Niue (GMT-11:00)

FieldEditView.png
AddressStoredView.png

Well, the value is still stored as a string in the database, but the backed still interprets it as a long/lat.
(see images).

I am not clear why this would not be sufficient to collect/store the location of the parcel.
But, I believe this is the only field option we offer.

#1204795

Thank you for your detailed help!
I guess I'm stuck on how to create the view you created.
Which type of field did you use to get the latitude/longitude coordinates?
Thanks again.

#1205341

Yvette Oliveau
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Pacific/Niue (GMT-11:00)

AddressField.png

Hello

This is the "Address" field available when you create a Custom Field group. (see image).