Serious performance problem in RMTileImageSet addTiles:ToDisplayIn: loading unnecessary zooms #37

michaeltyson opened this Issue Oct 24, 2010 · 0 comments


None yet

1 participant


When my application initializes, there is a very long pause, because it's add
a whole bunch of tiles at zooms that it doesn't need.

RMTileImageSet addTiles:ToDisplayIn: has a for (;;) loop that loops from
the zoom level passed in, down to [tileSource minZoom], adding tiles at
zooms that are not needed.

I can't figure out why it's doing this, but it really slows down my
I fixed the code so that addTiles only adds the tiles at the current zoom,
and it's much faster, and it works just fine.

What is the reason it's doing this? Is there a way to disable it besides
hacking the code? The performance is horrible because of this behavior,
which seems totally unnecessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment