-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shapes disappear when zoomed inside them #94
Comments
Actually the shape disappears when it's origin point (the location associated to the RMAnnotation) goes off bounds. I managed to get it to work by:
The latter however has the nasty side effect of exhausting available memory if the annotation is a polyline with many points and zoom level is wide enough to allow most of these points to be visible. I'm still investigating this secondary issue, but since I don't really understand the RMQuadTree workings it's a bit difficult for me. |
In the end I just removed the entire RMQuadTree from my route-me fork as I had no need for it (I already had my own marker clustering implementation). That, and setting the proper projectedBoundingBox for the RMAnnotations, is enough to get rid of this problem without memory issues. |
I have this issue too. |
FWIW this no longer happens with https://github.com/mapbox/mapbox-ios-sdk due to fixes in |
Allow delegate to be set via IBOutlet in IB.
If you create an
RMShape
and then zoom in within its bounds far enough that the borders are out of view, the polygon disappears. I discovered this accidentally when I created a filled polygon, then zoomed in, but noticed that the fill color disappeared once the borders out zoomed out of view.The text was updated successfully, but these errors were encountered: