forked from dwilhelm89/LeafletSlider
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
ello! Is there a way to display more data (markers) that share the same datetime?
It looks like it creates a "step slider" for each marker in the layerGroup. So ... to solve this, I did the following:
if (date.includes(layer.options.time)) {
options.markers[index_temp] = layer;
}
else {
options.markers[index_temp] = layer;
date.push(layer.options.time)
++index_temp;
}
I am manipulating the size of the slider if there are equal times. If the datetime exists it doesn't increase the size and if it doesn't exist it increases. And it worked!!
But now ... data that shares the same datetime is not displayed, just one marker instead of two (for example)! How can I make this work?
PS:
I have 2 layers (polygon and custom marker) with the same datetime : 04/07/2020 13:00:00, but only the polygon is displayed, I just want to displayed both at the same time.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
