Closed BobbyBabes closed 6 years ago
I think it's executed. Have you tried to zoom ? It's only executed when markers outside clusters are displayed.
You are right. With this particular example, I never drilled down to the unclustered stage (individual markers) because I expected that adding the category would only matter when clustered. Looks like I got some more digging to do. Thanks!
EDIT: I see now that the category is added to the title tooltip. How did i miss that? I'm taking a break now.
What is the purpose of rewriting PrepareLeafletMarker in this example:
/examples/realworld.50000-categories.html
? https://github.com/SINTEF-9012/PruneCluster/blob/master/examples/realworld.50000-categories.html#L158-L164when I add
console.log
to log the category, nothing is logged.The same thing happens in the example without categories:
/examples/realworld.50000.html
.