mcguffin / acf-openstreetmap-field

WordPress ACF Field for OpenStreetMap
https://wordpress.org/plugins/acf-openstreetmap-field/
GNU General Public License v3.0
107 stars 21 forks source link

Option to alter output format via Theme Override #25

Closed spa49 closed 3 years ago

spa49 commented 4 years ago

I propose the following: it is very nice to have the map interface when locating an address. On the frontend however, you might want to display the information without a map, f.e. as strings only. So I suggest the following output formats for the frontend

mcguffin commented 4 years ago

Hi. Thanks for the feedback. Honestly I think this might be the cause of more feature request like "can we have the address above the map instead of below" – "I want the coordinates in degree-minute-second".

For specific adjustments you can always digg through the raw data return format.

However for easier customization, it might be a more general approach option to override the default map output using a theme file. I'll put some thoughts into theme-override, okay?

spa49 commented 4 years ago

absolutely got your point, I think the override is the even better and more general approach, thanks for considering! for the time being, I will see what PHP and RAW can do

thanks again!

Cyrille37 commented 4 years ago

Is that feature solved like explained in #39: use of variables/pattern in translation file?

mcguffin commented 4 years ago

@Cyrille37 nope, #39 is just about the address format. This is about the HTML of the entire map.

mcguffin commented 3 years ago

Voilá, theme overrides since 5e078627a43bb170ef357b9320862df27ad5170d.