Boundaries and Driving Side (v5.4)

Submitted by plepe on

There are some new functions for category developers:

  • A Twig function 'boundaries(lat, lon)' which returns a list of boundaries the coordinate lies within (Countries).
  • A property of the map object called boundaries which holds the list of boundaries at the map center.
  • A property of the map object called driving_side which is either "left" or "right" with regards to the map center.