Skip to content

HTPaddy/coveragemap

Repository files navigation

Scroll down for the english version of this README

🗺️ Geofence Map

Ein responsives, konfigurierbares Webtool zum Anzeigen von Geofences aus einer API – mit Unterstützung für:

  • 🌓 Darkmode
  • 📊 Statistik-Anzeige aus MariaDB
  • 📍 Standortwahl (mehrere Orte direkt ansteuerbar)
  • 🔲 Ein-/Ausblendung einzelner Gebiete
  • 📱 Touch- und Mobile-Unterstützung
  • für die Anzeige eurer Gebiete benötigt Ihr Koji: 📍 Koji
  • bitte beachtet das bei überlagernde Geofences, nur die Oberste klickbar ist

📊 Statistik

Zeigt für den aktuellen Tag:

  • Anzahl gescannter 100% Pokémon
  • Anzahl gescannter Shiny Pokémon

Datenquelle: pokemon_hundo_stats und pokemon_shiny_stats mit Feldern date und count. Die Stats der CoverageMap sind nur kompatibel mit 📍 Golbat

📱 Mobile Features

  • Doppeltipp auf die Karte zoomt hinein
  • Sidebar & Stats-Menü automatisch klappbar
  • Standortwahl über Dropdown-Menü im Header

🌓 Darkmode

Wechselt zwischen Light- und Dark-Style:

  • angepasstes Karten-Theme
  • Header & Panels werden entsprechend dunkler

🧪 Lokales Testen

Einfach lokal mit PHP starten:

php -S localhost:8000
Dann aufrufen: http://localhost:8000/ -> http://localhost:80 

Danke an ReuschelCGN für die Docker files


🗺️ Geofence Map

A responsive, configurable web tool for displaying geofences from an API – with support for:

  • 🌓 Dark mode
  • 📊 Statistics display from MariaDB
  • 📍 Location selection (navigate to multiple places directly)
  • 🔲 Toggle individual areas on/off
  • 📱 Touch and mobile support
  • you also need Koji for your areas: 📍 Koji
  • if you have overlapping geofences only the top one will be clickable

📊 Statistics

Displays for the current day:

  • Number of scanned 100% Pokémon
  • Number of scanned Shiny Pokémon

Data source: pokemon_hundo_stats and pokemon_shiny_stats tables with date and count fields.
The stats of the CoverageMap are only compatible with 📍 Golbat

📱 Mobile Features

  • Double-tap on the map to zoom in
  • Sidebar & stats menu automatically collapsible
  • Location selection via dropdown menu in the header

🌓 Dark Mode

Switches between light and dark styles:

  • Adjusted map theme
  • Header & panels adapt to the selected mode

🧪 Local Testing

Easily start it locally with PHP:

php -S localhost:8000

for Docker you use
http://localhost:8000/ -> http://localhost:80

Thanks to ReuschelCGN for the docker files Main idea of this comes from VersX

Update from 12.06.2025
- Stats per Area ( click on the Geofence )
- distinct shiny stats
- now it generates a areas_cache.json once a week to not penetrate Koji with every refresh of the site
- Set time / Date between EU/US in config
- fixed area menu 
- fixed location menu
-----------------------

Update from 13.06.2025
- Language config Option ( de / en )

-----------------------
Update from 14.06.2025
- zoom fix for location menu 
- popup window with option for Discord Link
  - popup_config.example.php got added (by default it´s disabled)

The Pop up appears the first time you open the Page or in a new tab. (not on refresh) 

-------------------------
Update from 16.06.2025
- added live active count of 100% pokemon ( check Config.example ) 
- changed the view of Geofences in Light / Dark mode for better visibility
- added grouping by Parent of Koji ( you have to delete your area_cache.json first to make changes visible ) 
- fixed search bar zooming in mobile
- added highlighting when you click a area in the menu
- the highlighting fades out after 5 seconds
- when you click a area in the menu it not gets disabled anymore, you have to click the checkbox to disbale/enable the area
- and more little fixes

About

a webpage that displays your areas with geofences

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors