Documentation menu
Developer guides

Ola Maps Web SDK v1 - Adding Static Maps

Important Notice
The Web SDK v1 support ended on March 31, 2026. We will no longer be providing any support for Web SDK v1. Please migrate to our Web SDK v2 for new features and improvements, and continued support.
This documentation provides methods for adding static maps in web sdk
Add a HTML img element and give id to that element.
Go to Map Tiles APIs, generate URL of the map you want to add from Static Map Tiles and copy the Request URL.
Use getStaticMap method to render a static map and pass the request URL and element id.

Example

Static map