OpenFreeMap Coordinate Finder is a lightweight Chrome extension that allows users to:
- 🔎 Search for coordinates by entering a city or street name.
- 🧭 Automatically display real-time coordinates under the mouse cursor on websites using OpenFreeMap (via MapLibre GL).
- Geolocation search – Uses the Nominatim API to resolve place names into geographic coordinates.
- Live coordinate tracking – Detects MapLibre GL maps on any site and shows cursor position in latitude and longitude.
- Modern UI – Minimal popup with responsive styling.
File | Description |
---|---|
manifest.json |
Chrome extension manifest (v3). Declares permissions, scripts and popup. |
popup.html |
Popup HTML interface with input field and results area. |
popup.js |
JavaScript logic for sending geocoding requests and showing results. |
style.css |
Basic styling for the popup. |
content.js |
Injected into every page – detects MapLibre GL maps and overlays coordinates. |
icon.png |
Icon for the extension (16×16 PNG). |
-
Popup interface:
Click the extension icon → Enter a location name → View matching coordinates from OpenStreetMap. -
Content script:
On pages using MapLibre GL (like OpenFreeMap), the extension adds a coordinate overlay that updates with mouse movement.
- JavaScript (ES6)
- HTML/CSS
- MapLibre GL detection
- OpenStreetMap Nominatim API
- Download or clone this repository.
- Open
chrome://extensions
in Chrome. - Enable Developer mode.
- Click Load unpacked and select the extracted folder.