mapbox / DEPRECATED-mapbox-ios-sdk

REPLACED – use https://www.mapbox.com/ios-sdk instead
https://github.com/mapbox/mapbox-gl-native
Other
322 stars 8 forks source link

System crash when zooming out #587

Open verheyefrancesco opened 9 years ago

verheyefrancesco commented 9 years ago

Hi,

I'm using a shape like this example: https://www.mapbox.com/mapbox-ios-sdk/examples/drawing-shape/

But I have a system crash with the following situtation.

  1. map zoom = 19
  2. add the shapes (4 shapes)
  3. zoom out
  4. System crash (reboot)

When I add the shapes when the currentZoom < 17, the system doesn't crash. Any suggestions?

Thanks in advance

incanus commented 9 years ago

What does the crash log look like? Can you gist it?

metrocitizen commented 9 years ago

Also, are you sure the map can Handle zoom 19?

Often when creating offline maps, if not done correctly, there will be a zoom factor issue that crops up, because that zoom is not available or can't be used.

What version of Mapbox are you using? I can't find that snippet on 1.6.0, so perhaps this issue was resolved in this version?

-Metrocitizen