Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.28 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.28 KB

ckan-geosuite-previewer

This repo provides the means to get GeoSolution's WMS and WMTS previewing extension to work with BoundlessGeo's GeoServer software.

How to install

In your opengeo geoexplorer directory, replace the files composer.html and viewer.html with the files of the same name found in this repo. You should find these under /<install path>/opengeo/geoexplorer/WEB-INF/app/templates/.

Add the files geoparams.js and jquery-git2.min.js to /<install path>/opengeo/geoexplorer/WEB-INF/app/static/script/.

Install the WMS and WMTS previewing via the mapstore extension as explained in the repo wiki. However, instead of basing your configuration in preview_config.js from the wiki, base it on the following:

var preview_config = {
        viewerConfigName: "preview",
        viewerPath: "viewer/",
        composerPath: "composer/",
        mapStoreBaseURL: "http://yoursite.org/geoexplorer/",
        basketStatus: false,
        storageMethod: "cookies",
        forceLocaleTo: "en",
        storeSize: 5000
}

That should be it! NB The above method has been tested and is working with CKAN 2.2.1