REST API - Map of Feature Type Web resource
The service delivers a map presentation of certain Feature Type. It allows to retrieve an interactive map presentation (html format) or static image (png format).
URL
http://localhost:8080/easygis/services/data/featuretypes/FEATURE TYPE IDENTIFIER/map.format
Formats
html, png
HTTP methods
GET
Requires Authentication
No.
Parameters
- featureid: identifier of a feature to select on the rendered map. The feature will be added to selection layer.
- WIDTH: width of the map
- HEIGHT: height of the map
- BBOX: bounding box of the requested map. The parameter must be encoded according to the following format: minX,minY,maxX,maxY
- TRANSPARENT: boolean flag indicating transparency of the requested map. "true" and "false" are possible values. The parameter ignored for interactive (html format) maps.
- BGCOLOR: background color of the map. Applied only to png maps.
Example queries
- Select a feature on the map: http://localhost:8080/easygis/services/data/featuretypes/countriesFT/map/AUS