REST API - Map Web resource
The service allows to retrieve a map definition, rendered map (as image) by its identifier.
URL
http://localhost:8080/easygis/services/data/maps/map_identifier.format
http://localhost:8080/easygis/services/data/maps/map_identifier/map.format
Formats
html, json, png
HTTP methods
GET, POST, DELETE
Requires Authentication
Only POST, DELETE methods
Parameters
- title: map title (POST method)
- description: description of the map (POST method)
- tags: comma separated list of tags (POST method)
- WIDTH: width of resulting image (GET method)
- HEIGHT: height of the map (GET method)
Example queries
- Interactive map (OpenLayers): http://localhost:8080/easygis/services/data/maps/worldmapserverside/map?WIDTH=400&HEIGHT=500
- Retrieve the map image specifying the image size: http://localhost:8080/easygis/services/data/maps/worldmapserverside/map.png?WIDTH=200
- Map definition : http://localhost:8080/easygis/services/data/maps/worldmapserverside.json