Replies: 1 comment
-
Hi, and thanks for taking the time to open a report in Leaflet. However, in this repository we can only handle issues in "vanilla" Leaflet. This means that we do not handle issues which are specific to frameworks such as:
Please understand that we only have the time and energy to test Leaflet in plain web browsers in a Minimal, Reproducible Example. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
also posted here: https://stackoverflow.com/questions/77495795/leaflet-js-widget-in-filament-wont-execute
For a non-profit I'm creating a Filament admin panel with a widget running a Leaflet.js map.
I've set this up according to the Filemant docs
All goes well, the data gets passed to the JS. But leaflet doesn't create the map. It seems that the L.map() command can't find the DIV I'm referrencing.
i've tried hardcoding it as const map = L.map('map'), L.map(document.getElementById('map')); L.map(this.$refs.leafletMap), L.map(this.$refs.leafletMap.id), ... none does the tric
Any help is hugely appreciated :)
AdminPanelProvider.php
visitor-heatmap-widget.blade
leaflet-heatmap.js (stripped to the bare minimum)
Beta Was this translation helpful? Give feedback.
All reactions