Conversation
|
This field is not ready for full review yet, maybe remove that label. I'll put the same question here for clarity: @sc0ttkclark @pglewis The default address field would be quite similar to the GF address field this way (just regular fields and select boxes) |
|
Still needs review of PR and that question |
- Add address in backend - Display address in frontend with HTML markup (config with format) - Custom HTML markup format possible with magic tags - Optionally add schema.org microdata
Currently only handles PodsAdmin fields Requires PR: #3711
Also adds classes for use in front-end prepended with `pods-address`
- All maps additions are now in the component folder for consistency - Main component handles default (global) calls and redirects them to the right provider class - Field UI: Use the localization JS object and extend this for more usages like ajax calls to the main component for geodata - Field UI: Geodata lookup when typing a new address - Provider: API key is recently required for Google Maps
- Bring back "lookup" button, seems like a better approach - Validate the view type that this map field is appended to
|
Sounds like it might be a 'structure' question (ie how to combine those fields into an array to be supported by the Map Field. @JoryHogeveen might be able to give some insight on this one. I'll close the other ticket: https://wordpress.org/support/topic/importing-to-address-field/#post-11139966 |
|
@bwdgraphics Also, I think it's better to create a new ticket for topics like this. Let's keep this thread purely for development purposes. |
|
@tiptronic Since I couldn't wait for this to be actually finished and integrated into Pods I created a plugin to work with (actually 2 plugins, the address field and the maps component). |
|
@JoryHogeveen I am not really a PHP Pro, but I will definitely have a look at it asap, as I can definitively use this here and there. Thanks for sharing! |
|
we run into issues with this in pods 2.8. This helps a little |
Patched from https://github.com/pods-framework/pods-address-maps
#657
Bringing over PR from #3623
Address field type
{{address_tag}})Maps component
Backend UI
addressorfree-formdisplay is selectedFrontend UI
get_post_meta, possible workaround for this?display()multiple timesAPI
Providers
Google Maps API handler (priority)
Display
filenot working in the field edit tab @sc0ttkclark )General
Future tasks
Structure
Other API integrations