geogugal / quickmapr

An R package for quickly mapping and navigating spatial data
64 stars 10 forks source link

Zooming and panning slow with modestly sized sp objects #2

Closed jhollist closed 9 years ago

jhollist commented 9 years ago

Zooming with zoom seems to have some performance issues, especially with polys.

Initial draw is fast enough, perhaps try to rework zoom to just be a fresh draw based on a new extent. would require creating a quickmapr object and then passing that object plus a new extent for each invocation of zi

jhollist commented 9 years ago

Added in option to zoom/pan without zoom package. This option essentially just re-draws with new x- and y-lims.

On a small test dataset saw about 1.5 - 2 time speed up over zoom.