We've reached the last day of the calendar, and it's time for Santa's visit! Santa has been visiting some famous places all month. With the Geocoder module, Leaflet, a Geofield, and an Address field, you can automatically put each address Santa has visited on the map!
You do need to configure a geocoder source. We're using OpenStreetmap, from the geocoder-php/nominatim-provider.
We had Claude give us a list of addresses of famous landmarks around the world, putting one into each Advent Calendar day. We added a Geofield that is set to geocode the latitude and longitude of the address.
We set up a custom view mode to show just the Geofield rendered as a Leaflet map, and created a view block that uses a Single Directory Component Swiper to show that custom view mode in a carousel, and now you can see where Santa visited each day.
Merry Christmas, Happy Holidays, enjoy this time of celebration, from all of us at Freelock!
Add new comment