3ee0afa60efec97441fc9e0642a68f6821fccb7a
MapLibre GL JS 6 ships ESM only; the UMD bundle and the global maplibregl no longer exist. Load maplibre-gl.mjs via dynamic import into a module-scoped binding instead, keeping the UMD build as a fallback so a server-side rollback needs no code change. styleimagemissing is notify-only in v6, so the transparent 1x1 placeholder is now supplied through setMissingStyleImageResolver, falling back to the event on v5. Also drop the setFog block: MapLibre has never implemented setFog, so the typeof guard never passed. Verified against MapLibre 6.5.0 and pmtiles 4.5.0 in the browser: map init, protomaps vector tiles, globe projection, organisation markers, event clustering, spiderfy including leaf popups, and the satellite style switch all work without console errors. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Eventmanager Bundle
Contao 5 Bundle für Organisations-, Veranstaltungsort- und Event-Verwaltung inkl. Frontend-Module.
Voraussetzungen
- PHP
^8.4 - Contao
^5.7
Installation (lokal via Composer)
composer require mummert/eventmanager-bundle
Installation im Contao Manager (VCS)
- Contao Manager → Composer → Repositories → Repository hinzufügen
- Typ:
vcs - URL:
https://github.com/<owner>/eventmanager-bundle - Paket hinzufügen:
mummert/eventmanager-bundle - Bei Bedarf Version
dev-mainoder ein Tag (z. B.1.0.0) wählen - Änderungen anwenden
Release / Versionierung
SemVer-Tags verwenden:
git tag v1.0.0
git push origin v1.0.0
GitHub Setup
git init
git add .
git commit -m "Initial release"
git branch -M main
git remote add origin git@github.com:<owner>/eventmanager-bundle.git
git push -u origin main
Optional: Packagist
- Repository auf Packagist einreichen
- GitHub Service Hook / Auto-Update aktivieren
- Neue Versionen über Git-Tags veröffentlichen
Languages
PHP
61.9%
JavaScript
19.3%
Twig
18.8%