spstreets / gtfs_manager

A GUI for viewing and editing GTFS data
MIT License
30 stars 3 forks source link

Draw map instead of using cache for zoom > 5x #35

Closed maxwell8888 closed 2 years ago

maxwell8888 commented 2 years ago

The max resolution bitmap it seems to be possible to use to cache the map is around 5000 * 5000, anything over this and performance will degrade or the app will crash. Zooming into the bitmap past around 5x we loose clean lines, however at this point it should be possible to draw the map directly on every frame instead of using a bitmap cache, since only a small proportion of the map is being drawn.