sylvainjule / kirby-locator

A simple map & geolocation field, built on top of open-source services and Mapbox. Kirby 3 and 4.
99 stars 15 forks source link

Change(able) order of info #9

Closed medienbaecker closed 6 years ago

medienbaecker commented 6 years ago

While you can already change the displayed information, the order is fixed. But for German clients I would rather like to display the number after the street. That's how we write it. And I guess some people would like to use a completely different order.

For this you would have to change the display.includes('address') in your Locator.vue to a loop iterating over the display array.

hausnummer

sylvainjule commented 6 years ago

Changed, the whole table can be re-arranged!

medienbaecker commented 6 years ago

Wow, you're fast. I was just in the process of doing it myself but got stuck at the lat != latitude point 😅