Skip to content

Render zoom levels ahead of time. #7

@jjrh

Description

@jjrh

We should render the zooms only once. I don't know how much CPU speed vs memory one uses.
There are a couple of ways to do this.

One way is to render each zoom level at load time. Pros of this is easy implementation and fast runtime speed(after loading). The cons are excessive memory usage which could become a problem if we display multiple maps and many zoom levels.

Another way is when a zoom level is activated we store this. Pros of this is we don't use memory in cases the user never goes to a certain zoom level. The cons are the zooms will be choppy at first.

The other option is a combination of the two methods. We render some of them ahead of time and then render more (and store them) if the user requests it.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions