Polygons on Maps & Australian Emergency Alerts

In furtherance of ABC Emergency - Real-time Australian Emergency Alerts for Home Assistant - Share your Projects! / Custom Integrations - Home Assistant Community I needed a way to display polygons on maps - so here we are.

I’ve created a frontend component capable of polygon mapping - troykelly/lovelace-abc-emergency-map: Custom Lovelace card for Home Assistant displaying ABC Emergency incident polygons on a Leaflet map

Although it’s primary role in life is supporting the ABC Emergency mapping - feel free to use it for your other polygon mapping needs.

Add to HACS

This card uses Leaflet.js to render those polygons while maintaining full compatibility with standard Home Assistant map card features.

Feature Native HA Map ABC Emergency Map Card
Point markers Yes Yes
Entity tracking Yes Yes
Zone display Yes Yes
History trails Yes Yes
Polygon boundaries No Yes
Alert level colors No Yes
Incident animations No Yes
Severity-based layering No Yes

Features

Emergency Incident Display

  • Polygon Rendering - Incident boundaries displayed as actual polygons, not just points
  • Australian Warning System Colors - Severity-based coloring (Emergency Warning, Watch and Act, Advice, Information)
  • Severity Layering - Higher severity incidents render on top for visibility
  • Smooth Transitions - Morphing polygon boundaries when incidents update
4 Likes