Last active
December 16, 2015 09:28
-
-
Save Vampouille/9ad43a6e1d35f3a473f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"layout": "A4 portrait", | |
"outputFormat": "pdf", | |
"attributes": { | |
/* Here you can set title and subtitle */ | |
"title": "Restorante", | |
"subtitle": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras egestas, massa eget placerat fermentum, nunc massa facilisis enim, id eleifend orci lacus sed sem.", | |
"datasource": [{ | |
"map": { | |
"dpi" : 216, | |
"projection": "EPSG:900913", | |
/* bounding box can be replace by center and scale */ | |
"bbox": [-193136.533539059, 6130268.4459373, -177682.716549174, 6118498.42261642], /* [5.848626, 45.680609, 5.921247, 45.621023] */ | |
"layers": [ | |
{ "type": "wms", /* Definition of main layer, layer with interesting objects */ | |
"baseURL" : "http://sdi.georchestra.org/geoserver/pmauduit_test/wms", | |
"layers" : ["pmauduit_test:toilettes_publiques"], | |
"version" : "1.1.1"}, | |
{ "type": "osm", /* Definition of first base layer */ | |
"baseURL" : "http://otile1.mqcdn.com/tiles/1.0.0/map/", | |
"imageExtension" : "png"}, | |
{ "type": "osm", /* Definition of second base layer */ | |
"baseURL" : "http://otile1.mqcdn.com/tiles/1.0.0/sat/", | |
"imageExtension" : "png"} | |
] | |
} | |
}] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment