Three postcode lookups land on the map at once, each group of pins in its own fill and outline colour.
PlacesModule.createhands back an independent instance per call, so three colour schemes coexist without id juggling.colorfills each module’s built-in pin, and theiconconfig sets its outline, as configuration rather than layer paint.showaccepts eachgeocoderesponse as it arrives, andbboxFromGeoJSONturns those responses into the opening bounds.
Related examples
Places with Custom Layer Configuration
Draw places in the base map's own POI look, with their label, icon and selected colours overridden through MapLibre paint
Customization
Places and POIs
Web
Same place category with different icons
Show places of the same category with different icons
Customization
Places and POIs
Web
Search filters
The same fuel station search run once per filter (brand, fuel type, country), each result set in its own colour
Customization
Search and Geocoding
Places and POIs
Web
Borrowed looks
Places, a route and fetched traffic incidents drawn in the style's own look, following the styling knobs that restyle it, live
Customization
Map Style
Places and POIs
Routing
Traffic
Web