Closed ryangurn closed 1 year ago
It appears that if I take the script and duplicate it right before the closing body tag I am able to get the modal to properly render without any issue.
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
</body>
</html>
The library does not currently support livewire, but if you got it working awesome! To be honest i dont use livewire. But feel free to send in a pr for supporting it.
@ryangurn pls see my last message
Closing this as @ryangurn did not respond, feel free to reopen if this is something you want to move further.
When I attempt to use laravel-maps within a wire-elements modal I get the following error.
@LarsWiegers do you have any recommendations for how to address this? I am currently just using one of the examples from the readme for testing purposes.
The above html code is a part of the following livewire component that has the attached class.
I am able to use this component when not including it in a wire-element/modal but I am unsure why I get this error when attempting to load the map within the modal.