Search filters

The same fuel station search run once per filter (brand, fuel type, country), each result set in its own colour

View on GitHub
SDK 1.0.0

The same fuel station search around Maastricht runs once per filter, and each result set lands on the map in its own colour.

  • filters drops every station that fails it, so poiBrands, fuelTypes and countries each return fewer results, not reordered ones.
  • geoBias with radiusMeters holds all three searches to one circle across the Dutch and Belgian border, so only the filter differs.
  • Each set gets its own PlacesModule, and icon.categoryIcons swaps the style’s fuel station pin for one in that module’s colour.

Related examples