Post marked as solved
Post marked as solved with 3 replies, 900 views
Available today, you can now use custom images for annotations on Maps Web Snapshots.
The full list of available annotation styles for Maps Web Snapshots is now: dot (a small circle)
balloon (default balloon-style annotation)
large (a selected balloon)
*NEW* img (your own custom image)
To use: Specify the images that you want to use in the imgs array. Each item in imgs should be an Image - https://developer.apple.com/documentation/snapshots/image JSON object, which lets you specify parameters like url, height, and width.
Set markerstyle=img on your Annotation - https://developer.apple.com/documentation/snapshots/annotation object. Use imgIdx to choose an image within imgs for this annotation.
To get the full story on creating static map images to use on websites, in email, and more, check out the Maps Web Snapshots - https://developer.apple.com/documentation/snapshots documentation.