Static Map v4 API

GET
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.

Resource URL

http://www.mapquestapi.com/staticmap/v4/flushicon

Resource Information

Authentication Yes (Requires Key)
Rate Limited Yes

URL Parameters

Request Parameter Description Required?
key
String
The API Key, which is needed to make requests to MapQuest services. Yes
uri
String
The http uri of the icon to be flushed Yes

Description

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

xis=developer.mapquest.com/content/doc/images/money_sign.jpg

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.

Example Request

GET

http://www.mapquestapi.com/staticmap/v4/flushicon?key=KEY&uri=developer.mapquest.com/api-docs/doc/images/money_sign.jpg