zoomToLayer
on TemplatedFeatureLayer causes feature duplication
#634
Labels
zoomToLayer
on TemplatedFeatureLayer causes feature duplication
#634
2021-12-14.10-25-31.mp4
It also seems to only happen when the current zoom level is greater than the layers zoom level.
@prushforth Turns out the reason it needed multiple tab presses is because the features are duplicated in the DOM. The bug is related to
zoomToLayer
in combination withTemplatedFeaturesLayer
, where the_pullFeatureFeed
is called twice (through the moveend handler) instead of once, not sure why yet.Originally posted by @ahmadayubi in #596 (comment)
The text was updated successfully, but these errors were encountered: