You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Leaflet
// A basic map is as easy as using the x blade component.
<x-maps-leaflet></x-maps-leaflet>
// Set the centerpoint of the map:
<x-maps-leaflet :centerPoint="['lat' => 52.16, 'long' => 5]"></x-maps-leaflet>
// Set a zoomlevel:
<x-maps-leaflet :zoomLevel="6"></x-maps-leaflet>
// Set markers on the map:
<x-maps-leaflet :markers="[['lat' => 52.16444513293423, 'long' => 5.985622388024091]]"></x-maps-leaflet>
results in 3 Uncaught SyntaxError: Identifier 'urldefaultMapId' has already been declared errors in the console. Not sure what the expected result is on the map since i dont see a marker. This happens with a fresh Laravel 11 project and only this plugin being installed additionally.
So each additional x-maps-leaflet creates an error output.
The text was updated successfully, but these errors were encountered:
Your code snippet
results in 3 Uncaught SyntaxError: Identifier 'urldefaultMapId' has already been declared errors in the console. Not sure what the expected result is on the map since i dont see a marker. This happens with a fresh Laravel 11 project and only this plugin being installed additionally.
So each additional x-maps-leaflet creates an error output.
The text was updated successfully, but these errors were encountered: