Skip to content
Upendra Oli edited this page Jan 31, 2019 · 14 revisions
<title>GeoNetwork JS API testing page</title>
<script src="/geonetwork/static/lib.js"></script> <script src="/geonetwork/static/lib3d.js"></script>--> <script src="/geonetwork/static/gn_search_default.js"></script> <script type="text/javascript"> // Init an application to search only for dataset var config = {mods: {search: {filters: {type: 'dataset'}}}}; var module = angular.module('gn_search'); module.config(['gnViewerSettings', 'gnSearchSettings', 'gnGlobalSettings', function (gnViewerSettings, gnSearchSettings, gnGlobalSettings) { gnGlobalSettings.init(config, 'http://localhost:8080/geonetwork/srv/', gnViewerSettings, gnSearchSettings); }]); </script>
Clone this wiki locally