Israel Alert Map

Real-time Israel alert map - Pikud HaOref geo-visualization Android app

About This Project

Israel-Alert-Map is an Android application that displays real-time alerts issued by Pikud HaOref, the Israel Home Front Command, on an interactive map. The app polls the Oref alerts endpoint every 15 seconds and renders affected areas as colored polygons over Israel, using red for rocket and missile alerts, orange for early warnings, and green for all-clear status. Alerts remain visible for 30 minutes, or 5 minutes for pre-warnings. The interface is organized into three tabs: a national map, a zoomed view of Jerusalem and surrounding areas, and a scrollable feed of recent alerts labeled in Hebrew and English.

The project is built with vanilla HTML, CSS, and JavaScript, using Leaflet 1.9.4 for mapping and CARTO Voyager tiles based on OpenStreetMap data. It includes 1,450 pre-computed area polygons derived from Pikud HaOref data, sourced from an MIT-licensed repository. Capacitor 8 wraps the web application for Android WebView, and Capacitor's native HTTP capability is used to access the Oref API without browser CORS restrictions.

The application may be of interest to developers exploring geospatial visualization of live data feeds, or to those building mobile apps with Capacitor and Leaflet. Because the Oref API is geo-restricted, the app is only functional on devices connected to an Israeli network, which limits its use outside that context.

Project Details

Explore More Projects