Static Map Service: Flush Icon Service

For any Static Map request with custom icons, the application caches every custom icon for 60 minutes. The Flush Icon service forces the release of the custom icon from the application's cache in case you want to refresh the icon within this time interval.

Parameter Description
uri The http uri of the icon to be flushed
This parameter is required.

Flush Icon Sample

In order to demonstrate the Flush Icon service, let us say that we generated a static map with a sample custom icon.

/staticmap/v4/getmap?size=400,200&scale=2500&center=40.036495,-76.305827&xis=/media/images/money_sign.jpg,1,TR,40.036495,-76.305827,0,0,0,0

Now, below 'flushicon' request will forcefully delete the icon from cache before the expiration of icon's time to live. Subsequent request for the icon will pull the latest image.

/staticmap/v4/flushicon?uri=/media/images/money_sign.jpg

(Output will be displayed below)


  © MapQuest, Inc. All rights reserved.    Privacy Policy | Terms of Use