Static Maps (Snapshot) MapkitJS

Is there any way to load a static map using MapkitJS? I see there are some solutions using the Swift implementation using the snapshot functionality, but I can't find anything from the MapkitJS docs.

Replies

You could make the map appear "static" if you opt for server side rendering, and disabling any user interactions with the map.

Yeah, that's what I'm doing now which is the next best thing. Was just wondering if there was any other way/plans to have static maps.

A new service for static map images was announced at WWDC this week, it's called Maps Web Snapshots. Documentation is at https://developer.apple.com/documentation/snapshots, plus there's a GUI tool that makes it easy to get started creating Snapshots and Snapshot URLs at https://maps.developer.apple.com/snapshot.


Hope this helps, try it out and send us your feedback! https://feedbackassistant.apple.com/welcome