OpenStreetMap Service

Interactive Map with Marker and Circle APIs

Add Marker

Add Circle

Map Controls

Add Alert

API Endpoints

GET /api/marker?lat=<lat>&lng=<lng>[&icon=<icon>][&title=<title>]

Add a marker at the specified coordinates

GET /api/circle?lat=<lat>&lng=<lng>&radius=<radius>[&icon=<icon>][&title=<title>]

Add a circle at the specified coordinates with given radius

POST /api/alert?message=<message>&type=<type>

Create an alert (type: danger/warning/info/success)

GET /api/alerts

Get all active alerts

POST /api/alerts/clear

Clear all alerts