Posts

Showing posts with the label Geoserver Print Module with Mapfile default configurations
Geoserver Map Fish Print Configuration & Example Script index. html  <head>     <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.3.1/css/ol.css" type="text/css">     <style>       .map {         height: 400px;         width: 100%;       }     </style>     <script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.3.1/build/ol.js"></script>   <title>OpenLayers example</title>   </head> <div id="map"></div>    <a id="export-pdf"><span id="button-label" class="btn btn-info"> Export(pdf)</span></a> <script>  var URL = 'http://localhost:9090/geoserver/test/wms';  var centerpos = [84.2, 28.2];  var newpos = ol.proj.transform(centerpos, 'EPSG...