mapbox / mapbox/MapboxStatic.swift

Path limit

Open
#76 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
192
Forks
31
PR merge metrics
No merged PRs in 30d

Description

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 getting
`MBStaticErrorDomain" - code: 18446744073709551615`
when getting image from `Snapshot` object.
Until 1500 `CLLocationCoordinate2D` works well, I'm getting right the map.

Thank you.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Snapshot failure with a path overlay containing about 1,500 and 3,000 CLLocationCoordinate2D values. Inspect the Snapshot path-overlay entry point and the reported MBStaticErrorDomain error, then determine and document the supported coordinate limit or expected behavior when it is exceeded.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.