-
-
Notifications
You must be signed in to change notification settings - Fork 489
JS API Proposal
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>
If you have some comments, start a discussion, raise an issue or use one of our other communication channels to talk to us.