Map Snapshot - Max number of Overlays, longest allowed query?

Hello,

Playing around with the MapJs Snapshot API. How many individual Overlays can it support? The docs say max for Images is 10 but not listing number of Overlays/Annotations it can support.

Trying to generate a gradient path like so:

But it seems the Apple Snapshot api only allows for 10 unique Overlay objects, is that true?

Also, what's the max size of a Snapshot query url? Seems to stop working around 5,000 characters but Google allows for 8000+

Post not yet marked as solved Up vote post of escullz Down vote post of escullz
751 views

Replies

It seems that even Apple's own Activity app would like this feature, too.

When you go to export a GPS workout from Apple's Activity app, it actually screenshots the Javascript map with the gradients, presumably because calling the Snapshot API would not work with > 10 gradient values.

Ex: