feat: add frontend map module with maplibre and spiderfy
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<div
|
||||
id="{{ mapContainerId|e('html_attr') }}"
|
||||
class="eventmanager-map"
|
||||
data-eventmanager-map="1"
|
||||
data-map-style="{{ mapStyleUrl|e('html_attr') }}"
|
||||
data-map-data-id="{{ mapDataElementId|e('html_attr') }}"
|
||||
></div>
|
||||
|
||||
<style>
|
||||
.eventmanager-map {
|
||||
width: 100%;
|
||||
min-height: 420px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="application/json" id="{{ mapDataElementId|e('html_attr') }}">{{ mapItemsJson|raw }}</script>
|
||||
<script type="module" src="{{ asset('bundles/eventmanager/assets/map-module.js') }}"></script>
|
||||
Reference in New Issue
Block a user