Open nolatron opened 1 month ago
Hello!
Have you set a width and height to your markers in CSS somewhere like in the example https://github.com/Meteo-Concept/leaflet-inflatable-markers-group/blob/gh-pages/example1.html?
The width and height options in the InflatableMarkersGroup options is necessary to compute the collisions but you still have to control how you want to display the markers. By default, your divs may have a size of 0x0, you can check in the browser inspector.
Is it possible to integrate this plugin with the Leaflet-Realtime plugin?
https://github.com/perliedman/leaflet-realtime
I've been trying to add markers to this layer but so far not having any luck figuring this out. No markers are showing up on the map.
I changed "var Train = L.layerGroup(); " to the below.
And these are the RealTime functions.
And this the data.php that's fetching the data from a MYSQl database.
Thanks in advance for any help can provide.