Apple Maps Web 快照覆盖的正确格式是什么?

Whats the correct format for the Apple Maps web snapshot overlay?

我正在尝试创建一个 Apple Maps mapkit web snapshot. What's the correct way to format an overlay object 以传递到 url?

我最终得到 following url,其中对象的格式如下:

overlays=%3Fpoints%3D37.8323%252C-122.5401%252C37.83761%252C-122.54399%26strokeColor%3D%2523935DFF%26lineWidth%3D2

在 URL 中一切正常,除了我不明白在叠加层中传递的正确格式。

它实际上需要将 json 对象包装在数组中才能正常工作。