Static Google maps
Template method for generating a static Google map image
Simple map example
Advanced usage
Icon best practices
For the custom icon, it should be sized appropriate for the map since you will not have control over the icon width/height.
Icon URL needs to be a full url (with http/https)
If you are using an uploading image, you can use our image path for the icon.
Example: /img/upload/some-uploaded-icon.png
When providing an icon image, the max pixels (width multiplied by height) for the image can't exceed 4096. So a normal size is 64x64 pixels or less
Last updated