Dynamic Image API

The dynamic Image API allows you to retrieve an image of a saved map. If the map is changed, the image is invalidated and will render again on next request. When images are requested they are put into a queue. Depending on loads, images might take several minutes to generate, though the average is 5-10 seconds. If you have an enterprise license and forsee generating alot of images, please send us a note at [email protected].

URL Fomat:
http://www.scribblemaps.com/api/maps/images/{width}/{height}/{MapID}.png


Meta Data (Detecting Generation)

It is possible to check whether an image has finished generating. This is particularily useful if you need to download the image and move it to another locaion. To check if an image is finished loading use the following url. It is important to note that when a map is saved the image is invalidated, and calling metadata will start the image generation.

URL:
http://scribblemaps.com/api/maps/images/{width}/{height}/{MapID}.png/metadata

the above URL supports JSONP with the "callback" parameter. This url can be polled to check if the image has finished generating.

Additional Parameters

You can pass several other parameters to the image URL to get different views of the map. These parameters are lat, lng, and zoom.

Example:
http://scribblemaps.com/api/maps/images/{width}/{height}/{MapID}.png/metadata?lat=45.14933886916572&lng=-81.27351933593751&zoom=7