-
Notifications
You must be signed in to change notification settings - Fork 31
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
Path limit #76
Comments
I'm not aware of any limitations on the snapshot. Would you mind sharing a code snippet? |
I wrote this code:
|
I don't see any issues when using 3000 coordinates but I start getting "MBStaticErrorDomain Code=-1 server errors" after 4000. Might be due to the custom style. @1ec5 do you know if we have any hard limitations on the number of coordinates in a path? If you are using the Maps SDK for iOS, it might be of interest to use the newly introduced MGLMapSnaphotter which renders the snapshot client side. |
How can I set path overlay to Thank you |
You would have to add an |
Sorry but I don't have a map view. I only have an array of |
Ok, then the static api is the way to go. Trying to figure out if there is a limit. |
Not on the number of coordinates specifically, but according to the Static API documentation, there is a restriction on the number of features in a GeoJSON overlay, as well as a restriction on the length of the string encoding of all the overlays combined:
A |
Hi, a long time passed, how is this issue going? |
Hi, is there a limit to coordinates array length to build a path overlay?
I need to draw about 3000
CLLocationCoordinate2D
on the map, but i'm gettingMBStaticErrorDomain" - code: 18446744073709551615
when getting image from
Snapshot
object.Until 1500
CLLocationCoordinate2D
works well, I'm getting right the map.Thank you.
The text was updated successfully, but these errors were encountered: