-
Notifications
You must be signed in to change notification settings - Fork 0
Thumbnails API
Endpoint for managing Composer Thumbnails.
-
/api/thumbnails/maps/{wsName}/{name}[&hiRes=true]
GET - Thumbnail for a given map
-
/api/thumbnails/layers/{wsName}/{name}[&hiRes=true]
GET - Thumbnail for a given map
Gets the thumbnail for a map. Regenerates the thumbnail if the Map, or any Layers or Styles used in the map have been modified since the last time the thumbnail was generated.
- GET /api/thumbnails/maps/{wsName}/{name}[&hiRes=true]
200 OK Returns the thumbnail as a HTTP byte array.
hiRes=true returns the the thumbnail in 150x150 px resolution. Otherwise, the resolution is 75x75 px.
Gets the thumbnail for a layer. Regenerates the thumbnail if the Layer, or any Styles used by the layer have been modified since the last time the thumbnail was generated.
- GET /api/thumbnails/layers/{wsName}/{name}[&hiRes=true]
200 OK Returns the thumbnail as a HTTP byte array.
hiRes=true returns the the thumbnail in 150x150 px resolution. Otherwise, the resolution is 75x75 px.