Skip to content

Provides a way to get the ckan mapstore extension working with GeoSuite

Notifications You must be signed in to change notification settings

digitalWestie/ckan-geosuite-previewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Provides a way to get the ckan mapstore extension working with GeoSuite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published