예제 #1
0
  public void init() {
    printBaseURL = PropertyUtil.get("service.print.maplink.json.url");
    printBaseGeojsURL = PropertyUtil.get("service.print.maplink.geojson.url");
    printSaveFilePath = PropertyUtil.get("service.print.saveFilePath");

    ACCEPTED_FORMATS.add("application/pdf");
    ACCEPTED_FORMATS.add("image/png");

    ProxyService.init();
  }
예제 #2
0
  public void init() {
    printBaseURL = PropertyUtil.get("service.print.maplink.json.url");
    printBaseGeojsURL = PropertyUtil.get("service.print.maplink.geojson.url");
    printSaveFilePath = PropertyUtil.get("service.print.saveFilePath");

    ACCEPTED_FORMATS.add("application/pdf");
    ACCEPTED_FORMATS.add("image/png");

    EXTRA_PARAMS.add(PARM_GEOJSON);
    EXTRA_PARAMS.add(PARM_TILES);
    EXTRA_PARAMS.add(PARM_TABLE);
    EXTRA_PARAMS.add(PARM_TABLETEMPLATE);
    EXTRA_PARAMS.add(PARM_SAVE);

    ProxyService.init();
  }