forked from msmalley/polymaps
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of re-adding a layer.
Previously, when re-adding a layer to its map, the layer would be removed from the map only to be immediately added back. This prevents the browser from efficiently updating the display. Now we do the minimal amount of work, while still guaranteeing that layers appear in the order they were added.
- Loading branch information
Mike Bostock
committed
Jul 27, 2010
1 parent
da40e9d
commit 2a1a5e2
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters