mirror of
https://github.com/sebastianpauli/netgis-client.git
synced 2025-06-05 09:34:14 +02:00
Update: initial html documenation
This commit is contained in:
parent
4c54e79fed
commit
53ccc83e65
docs
Client.js.htmlImport.js.htmlInfo.js.htmlLayerID.js.htmlLayerTypes.js.htmlMap.js.htmlPopup.js.htmlUtil.js.html
fonts
OpenSans-Bold-webfont.eotOpenSans-Bold-webfont.svgOpenSans-Bold-webfont.woffOpenSans-BoldItalic-webfont.eotOpenSans-BoldItalic-webfont.svgOpenSans-BoldItalic-webfont.woffOpenSans-Italic-webfont.eotOpenSans-Italic-webfont.svgOpenSans-Italic-webfont.woffOpenSans-Light-webfont.eotOpenSans-Light-webfont.svgOpenSans-Light-webfont.woffOpenSans-LightItalic-webfont.eotOpenSans-LightItalic-webfont.svgOpenSans-LightItalic-webfont.woffOpenSans-Regular-webfont.eotOpenSans-Regular-webfont.svgOpenSans-Regular-webfont.woff
global.htmlindex.htmlnetgis%0AThe%20main%20NetGIS%20Client%20class.netgis.Client.htmlnetgis.Attribution.htmlnetgis.Client.htmlnetgis.Controls.htmlnetgis.Export.htmlnetgis.Geolocation.htmlnetgis.Import.htmlnetgis.Info.htmlnetgis.LayerTree.htmlnetgis.Legend.htmlnetgis.Map.htmlnetgis.Menu.htmlnetgis.OWS.htmlnetgis.SearchParcel.htmlnetgis.SearchPlace.htmlnetgis.TimeSlider.htmlnetgis.Toolbox.htmlnetgis.WMC.htmlnetgis.htmlscripts
styles
util.html
937
docs/Client.js.html
Normal file
937
docs/Client.js.html
Normal file
@ -0,0 +1,937 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Source: Client.js</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Source: Client.js</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<article>
|
||||
<pre class="prettyprint source linenums"><code>"use strict";
|
||||
|
||||
/**
|
||||
* The netgis namespace.
|
||||
* @namespace
|
||||
*/
|
||||
var netgis = netgis || {};
|
||||
|
||||
/**
|
||||
* The main NetGIS Client class.
|
||||
* @param {Element} container
|
||||
* @param {JSON} config
|
||||
* @constructor
|
||||
* @name Client
|
||||
* @memberof netgis
|
||||
*/
|
||||
netgis.Client = function( container, config )
|
||||
{
|
||||
this.container = this.initContainer( container );
|
||||
this.logEvents = false;
|
||||
|
||||
if ( netgis.util.isString( config ) )
|
||||
{
|
||||
// Config URL
|
||||
this.showLoader( true );
|
||||
netgis.util.request( config, this.onConfigResponse.bind( this ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
// Config Object
|
||||
this.init( this.container, config );
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.init = function( container, config )
|
||||
{
|
||||
this.config = config;
|
||||
|
||||
this.initParams( config );
|
||||
this.initConfig( config );
|
||||
this.initElements( container );
|
||||
this.initModules( config );
|
||||
this.initEvents();
|
||||
this.initOutput( config );
|
||||
|
||||
// TODO: test stuff...
|
||||
|
||||
var menu = new netgis.ContextMenu();
|
||||
menu.attachTo( this.container );
|
||||
|
||||
this.modules.contextmenu = menu;
|
||||
|
||||
this.popup = new netgis.Popup();
|
||||
this.popup.attachTo( this.container );
|
||||
|
||||
/*
|
||||
this.popup.setPosition( 200, 300 );
|
||||
this.popup.setHeader( "Popup" );
|
||||
this.popup.setContent( "Hello World..." );
|
||||
this.popup.show();
|
||||
*/
|
||||
|
||||
//netgis.util.invoke( this.container, netgis.Events.TIMESLIDER_SHOW, { title: "", url: config[ "timeslider" ][ "url" ], id: config[ "timeslider" ][ "id" ] } );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.initContainer = function( container )
|
||||
{
|
||||
// Client Container Element
|
||||
if ( netgis.util.isString( container ) )
|
||||
container = document.getElementById( container );
|
||||
|
||||
container.classList.add( "netgis-client", "netgis-font" );
|
||||
|
||||
return container;
|
||||
};
|
||||
|
||||
netgis.Client.prototype.initParams = function( config )
|
||||
{
|
||||
// Get Parameters
|
||||
var params = window.location.search.substr( 1 );
|
||||
params = params.split( "&" );
|
||||
|
||||
this.params = {};
|
||||
|
||||
for ( var i = 0; i < params.length; i++ )
|
||||
{
|
||||
var p = params[ i ].split( "=" );
|
||||
var k = p[ 0 ].toLowerCase();
|
||||
var v = p[ 1 ];
|
||||
|
||||
if ( ! k || k === "" ) continue;
|
||||
|
||||
this.params[ k ] = v;
|
||||
}
|
||||
|
||||
// Apply Params To Config
|
||||
for ( var k in this.params )
|
||||
{
|
||||
var v = this.params[ k ];
|
||||
|
||||
switch ( k )
|
||||
{
|
||||
case "wmc_id":
|
||||
{
|
||||
if ( config[ "wmc" ] )
|
||||
{
|
||||
config[ "wmc" ][ "id" ] = v;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.initConfig = function( config )
|
||||
{
|
||||
// WMC
|
||||
if ( config[ "wmc" ] && config[ "wmc" ][ "url" ] )
|
||||
{
|
||||
this.requestContextWMC( config[ "wmc" ][ "url" ], config[ "wmc" ][ "id" ] );
|
||||
}
|
||||
|
||||
// OWS
|
||||
if ( config[ "ows" ] && config[ "ows" ][ "url" ] )
|
||||
{
|
||||
this.requestContextOWS( config[ "ows" ][ "url" ] );
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.initElements = function( container )
|
||||
{
|
||||
// Container Attributes
|
||||
if ( container.hasAttribute( "data-lon" ) )
|
||||
{
|
||||
var lon = Number.parseFloat( container.getAttribute( "data-lon" ) );
|
||||
|
||||
if ( ! this.config[ "map" ][ "center_lonlat" ] ) this.config[ "map" ][ "center_lonlat" ] = [];
|
||||
this.config[ "map" ][ "center_lonlat" ][ 0 ] = lon;
|
||||
}
|
||||
|
||||
if ( container.hasAttribute( "data-lat" ) )
|
||||
{
|
||||
var lat = Number.parseFloat( container.getAttribute( "data-lat" ) );
|
||||
|
||||
if ( ! this.config[ "map" ][ "center_lonlat" ] ) this.config[ "map" ][ "center_lonlat" ] = [];
|
||||
this.config[ "map" ][ "center_lonlat" ][ 1 ] = lat;
|
||||
}
|
||||
|
||||
if ( container.hasAttribute( "data-zoom" ) )
|
||||
{
|
||||
var zoom = Number.parseFloat( container.getAttribute( "data-zoom" ) );
|
||||
this.config[ "map" ][ "zoom" ] = zoom;
|
||||
}
|
||||
|
||||
if ( container.hasAttribute( "data-bounds" ) )
|
||||
{
|
||||
var bounds = container.getAttribute( "data-bounds" );
|
||||
this.config[ "tools" ][ "bounds" ] = bounds;
|
||||
}
|
||||
|
||||
if ( container.hasAttribute( "data-editable" ) )
|
||||
{
|
||||
var editable = ( container.getAttribute( "data-editable" ) === "true" );
|
||||
|
||||
if ( ! this.config[ "tools" ] ) this.config[ "tools" ] = {};
|
||||
this.config[ "tools" ][ "editable" ] = editable;
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.initOutput = function( config )
|
||||
{
|
||||
if ( config[ "output" ] && config[ "output" ][ "id" ] )
|
||||
{
|
||||
var output = document.getElementById( config[ "output" ][ "id" ] );
|
||||
|
||||
if ( output && output.value && output.value.length > 0 )
|
||||
{
|
||||
var geojson = JSON.parse( output.value );
|
||||
netgis.util.invoke( this.container, netgis.Events.MAP_EDIT_LAYER_LOADED, { geojson: geojson } );
|
||||
|
||||
/*this.map.addEditFeaturesGeoJSON( json, false );
|
||||
|
||||
var self = this;
|
||||
|
||||
window.setTimeout( function() {
|
||||
self.map.map.updateSize();
|
||||
self.map.zoomGeoJSON( json );
|
||||
}, 50 );
|
||||
|
||||
this.editFolder.classList.remove( "netgis-hide" );
|
||||
*/
|
||||
}
|
||||
|
||||
this.output = output;
|
||||
}
|
||||
|
||||
if ( ! this.output )
|
||||
{
|
||||
this.output = document.createElement( "input" );
|
||||
this.output.setAttribute( "type", "hidden" );
|
||||
this.output.className = "netgis-storage";
|
||||
this.container.appendChild( this.output );
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.initModules = function( config )
|
||||
{
|
||||
this.modules = {};
|
||||
|
||||
var configModules = config[ "modules" ];
|
||||
|
||||
if ( ! configModules ) return;
|
||||
|
||||
if ( configModules[ "map" ] ) this.addModule( "map", netgis.Map );
|
||||
if ( configModules[ "controls" ] ) this.addModule( "controls", netgis.Controls );
|
||||
if ( configModules[ "attribution" ] ) this.addModule( "attribution", netgis.Attribution );
|
||||
if ( configModules[ "legend" ] ) this.addModule( "legend", netgis.Legend );
|
||||
if ( configModules[ "geolocation" ] ) this.addModule( "geolocation", netgis.Geolocation );
|
||||
if ( configModules[ "info" ] ) this.addModule( "info", netgis.Info );
|
||||
if ( configModules[ "menu" ] ) this.addModule( "menu", netgis.Menu );
|
||||
if ( configModules[ "layertree" ] ) this.addModule( "layertree", netgis.LayerTree );
|
||||
/*if ( configModules[ "switcher" ] ) this.addModule( "switcher", netgis.Switcher );
|
||||
if ( configModules[ "iconbar" ] ) this.addModule( "iconbar", netgis.Iconbar );*/
|
||||
if ( configModules[ "searchplace" ] ) this.addModule( "searchplace", netgis.SearchPlace );
|
||||
if ( configModules[ "searchparcel" ] ) this.addModule( "searchparcel", netgis.SearchParcel );
|
||||
//if ( configModules[ "geolocation" ] ) this.addModule( "geolocation", netgis.Geolocation );
|
||||
if ( configModules[ "toolbox" ] ) this.addModule( "toolbox", netgis.Toolbox );
|
||||
if ( configModules[ "import" ] ) this.addModule( "import", netgis.Import );
|
||||
if ( configModules[ "export" ] ) this.addModule( "export", netgis.Export );
|
||||
if ( configModules[ "timeslider" ] ) this.addModule( "timeslider", netgis.TimeSlider );
|
||||
|
||||
// TODO: automate module loading from config?
|
||||
// TODO: config modules script constructors?
|
||||
|
||||
//this.logic = new netgis.Logic( this );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.initEvents = function()
|
||||
{
|
||||
// Check For Event Errors
|
||||
this.container.addEventListener( undefined, function( e ) { console.error( "undefined event invoked", e ); } );
|
||||
|
||||
// Listen To All Client Events
|
||||
for ( var key in netgis.Events )
|
||||
{
|
||||
var val = netgis.Events[ key ];
|
||||
this.container.addEventListener( val, this.handleEvent.bind( this ) );
|
||||
}
|
||||
|
||||
|
||||
// Common
|
||||
/*this.container.addEventListener( "menu-button-click", this.onMenuButtonClick.bind( this ) );
|
||||
this.container.addEventListener( "controls-button-click", this.onControlsButtonClick.bind( this ) );
|
||||
this.container.addEventListener( "iconbar-icon-click", this.onIconbarIconClick.bind( this ) );
|
||||
this.container.addEventListener( "iconbar-item-click", this.onIconbarItemClick.bind( this ) );
|
||||
this.container.addEventListener( "switcher-button-click", this.onSwitcherButtonClick.bind( this ) );
|
||||
this.container.addEventListener( "geolocation-toggle", this.onGeolocationToggle.bind( this ) );
|
||||
this.container.addEventListener( "geolocation-change", this.onGeolocationChange.bind( this ) );*/
|
||||
|
||||
// TODO: move module event handling to modules?
|
||||
/*
|
||||
// Layer Tree
|
||||
this.modules.layertree.panel.container.addEventListener( "panel-toggle", this.onLayerPanelToggle.bind( this ) );
|
||||
this.modules.layertree.panel.container.addEventListener( "item-change", this.onLayerItemChange.bind( this ) );
|
||||
|
||||
// Search Place
|
||||
this.modules.searchplace.container.addEventListener( "search-change", this.onSearchPlaceChange.bind( this ) );
|
||||
this.modules.searchplace.container.addEventListener( "search-select", this.onSearchPlaceSelect.bind( this ) );
|
||||
this.modules.searchplace.container.addEventListener( "search-clear", this.onSearchPlaceClear.bind( this ) );
|
||||
*/
|
||||
|
||||
this.container.addEventListener( netgis.Events.MAP_EDIT_LAYER_CHANGE, this.onMapEditLayerChange.bind( this ) );
|
||||
|
||||
// Test Events
|
||||
////this.container.addEventListener( netgis.Events.MAP_CLICK, this.onMapClick.bind( this ) );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.showLoader = function( on )
|
||||
{
|
||||
if ( ! this.loader )
|
||||
{
|
||||
this.loader = document.createElement( "div" );
|
||||
this.loader.className = "netgis-loader netgis-color-e netgis-text-a";
|
||||
this.loader.innerHTML = "<i class='fas fa-cog'></i>";
|
||||
|
||||
if ( this.config[ "client" ] && this.config[ "client" ][ "loading_text" ] )
|
||||
this.loader.innerHTML += "<h2>" + this.config[ "client" ][ "loading_text" ] + "</h2>";
|
||||
|
||||
this.container.appendChild( this.loader );
|
||||
}
|
||||
|
||||
if ( on === false )
|
||||
{
|
||||
this.loader.classList.add( "netgis-fade" );
|
||||
|
||||
this.loaderTimeout = window.setTimeout( function() { this.loader.classList.add( "netgis-hide" ); this.loaderTimeout = null; }.bind( this ), 600 );
|
||||
}
|
||||
else
|
||||
{
|
||||
this.loader.classList.remove( "netgis-hide" );
|
||||
this.loader.classList.remove( "netgis-fade" );
|
||||
|
||||
if ( this.loaderTimeout )
|
||||
{
|
||||
window.clearTimeout( this.loaderTimeout );
|
||||
this.loaderTimeout = null;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.handleEvent = function( e )
|
||||
{
|
||||
var type = e.type;
|
||||
var params = e.detail;
|
||||
|
||||
if ( this.logEvents === true ) console.info( "EVENT:", type, params );
|
||||
|
||||
//console.trace( "EVENT:", type, params );
|
||||
|
||||
/*for ( var key in this.modules )
|
||||
{
|
||||
var module = this.modules[ key ];
|
||||
|
||||
if ( module.handleEvent ) module.handleEvent( type, params );
|
||||
}*/
|
||||
};
|
||||
|
||||
netgis.Client.prototype.addModule = function( id, construct )
|
||||
{
|
||||
var module = new construct( /*this,*/ this.config );
|
||||
|
||||
if ( module.attachTo ) module.attachTo( this.container );
|
||||
|
||||
this.modules[ id ] = module;
|
||||
|
||||
return module;
|
||||
};
|
||||
|
||||
netgis.Client.prototype.isMobile = function()
|
||||
{
|
||||
//return ( document.body.getBoundingClientRect().width < 600 );
|
||||
//return ( this.container.getBoundingClientRect().width < 600 );
|
||||
return netgis.util.isMobile( this.container );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onConfigResponse = function( data )
|
||||
{
|
||||
var config = JSON.parse( data );
|
||||
|
||||
this.init( this.container, config );
|
||||
this.showLoader( false );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.requestContextWMC = function( url, id )
|
||||
{
|
||||
if ( url.indexOf( "{id}" ) > -1 )
|
||||
{
|
||||
if ( ! id )
|
||||
{
|
||||
console.warn( "No WMC id set in config for url", url );
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
url = netgis.util.replace( url, "{id}", id );
|
||||
}
|
||||
}
|
||||
|
||||
var wmc = new netgis.WMC();
|
||||
wmc.requestContext( url, this.onContextResponseWMC.bind( this ) );
|
||||
|
||||
this.showLoader( true );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onContextResponseWMC = function( context )
|
||||
{
|
||||
console.info( "WMC Response:", context );
|
||||
|
||||
// TODO: pass only final config instead of context ?
|
||||
|
||||
// Apply Changes To Current Config
|
||||
for ( var i = 0; i < context.config.layers.length; i++ )
|
||||
{
|
||||
var layer = context.config.layers[ i ];
|
||||
this.config[ "layers" ].push( layer );
|
||||
}
|
||||
|
||||
if ( context.config[ "map" ][ "bbox" ] )
|
||||
{
|
||||
this.config[ "map" ][ "bbox" ] = context.config[ "map" ][ "bbox" ];
|
||||
}
|
||||
|
||||
// Update Modules
|
||||
netgis.util.invoke( this.container, netgis.Events.CLIENT_CONTEXT_RESPONSE, { context: context } );
|
||||
|
||||
this.showLoader( false );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.requestContextOWS = function( url )
|
||||
{
|
||||
console.info( "Request OWS:", url );
|
||||
|
||||
netgis.util.request( url, this.onContextResponseOWS.bind( this ) );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onContextResponseOWS = function( data )
|
||||
{
|
||||
var json = JSON.parse( data );
|
||||
|
||||
console.info( "OWS Response:", json );
|
||||
|
||||
var config = netgis.OWS.read( json, this );
|
||||
|
||||
console.info( "OWS Config:", config );
|
||||
};
|
||||
|
||||
/*
|
||||
netgis.Client.prototype.onMenuButtonClick = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
switch ( params[ "id" ] )
|
||||
{
|
||||
case "layertree":
|
||||
{
|
||||
this.modules.layertree.panel.toggle();
|
||||
break;
|
||||
}
|
||||
|
||||
case "searchplace":
|
||||
{
|
||||
this.modules.searchplace.search.toggle();
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
console.error( "unhandled menu button", params );
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
*/
|
||||
/*
|
||||
netgis.Client.prototype.onControlsButtonClick = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
switch ( params.id )
|
||||
{
|
||||
case "zoom_in":
|
||||
{
|
||||
this.modules.map.zoom( 1.0 );
|
||||
break;
|
||||
}
|
||||
|
||||
case "zoom_out":
|
||||
{
|
||||
this.modules.map.zoom( -1.0 );
|
||||
break;
|
||||
}
|
||||
|
||||
case "zoom_gps":
|
||||
{
|
||||
this.modules.geolocation.setActive( ! this.modules.geolocation.isActive() );
|
||||
break;
|
||||
}
|
||||
|
||||
case "zoom_home":
|
||||
{
|
||||
var lonlat = this.config[ "map" ][ "centerLonLat" ];
|
||||
this.modules.map.zoomLonLat( lonlat[ 0 ], lonlat[ 1 ], this.config[ "map" ][ "zoom" ] );
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
*/
|
||||
/*
|
||||
netgis.Client.prototype.onLayerPanelToggle = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
if ( params.visible )
|
||||
this.modules.iconbar.hide();
|
||||
else
|
||||
this.modules.iconbar.show();
|
||||
};
|
||||
*/
|
||||
/*
|
||||
netgis.Client.prototype.onLayerItemChange = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
if ( params.checked )
|
||||
{
|
||||
var layers = this.config[ "layers" ];
|
||||
|
||||
for ( var i = 0; i < layers.length; i++ )
|
||||
{
|
||||
var layer = layers[ i ];
|
||||
|
||||
if ( layer[ "id" ] !== params.id ) continue;
|
||||
|
||||
this.modules.map.addLayer( params.id, layer );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.modules.map.removeLayer( params.id );
|
||||
}
|
||||
|
||||
// Shift Switcher Items
|
||||
if ( this.modules.switcher.getIndex( params.id ) === 0 ) this.modules.switcher.shift( 1, 0 );
|
||||
};
|
||||
*/
|
||||
|
||||
netgis.Client.prototype.onIconbarIconClick = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
switch ( params.id )
|
||||
{
|
||||
case "home":
|
||||
{
|
||||
var layers = this.config[ "layers" ];
|
||||
|
||||
for ( var i = 0; i < layers.length; i++ )
|
||||
{
|
||||
var layer = layers[ i ];
|
||||
var id = layer[ "id" ];
|
||||
|
||||
if ( layer[ "active" ] === true )
|
||||
{
|
||||
this.modules.map.addLayer( id, layer );
|
||||
this.modules.layertree.tree.setItemChecked( id, true );
|
||||
}
|
||||
else
|
||||
{
|
||||
this.modules.map.removeLayer( id );
|
||||
this.modules.layertree.tree.setItemChecked( id, false );
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onIconbarItemClick = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
var layers = this.config[ "layers" ];
|
||||
|
||||
for ( var i = 0; i < layers.length; i++ )
|
||||
{
|
||||
var layer = layers[ i ];
|
||||
var id = layer[ "id" ];
|
||||
|
||||
if ( layer[ "folder" ] === "background" ) continue;
|
||||
|
||||
if ( id === params.id )
|
||||
{
|
||||
this.modules.map.addLayer( id, layer );
|
||||
this.modules.layertree.tree.setItemChecked( id, true );
|
||||
}
|
||||
else
|
||||
{
|
||||
this.modules.map.removeLayer( id );
|
||||
this.modules.layertree.tree.setItemChecked( id, false );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onSwitcherButtonClick = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
var buttons = this.config[ "switcher" ][ "buttons" ];
|
||||
var layers = this.config[ "layers" ];
|
||||
|
||||
for ( var i = 0; i < buttons.length; i++ )
|
||||
{
|
||||
var button = buttons[ i ];
|
||||
var id = button[ "id" ];
|
||||
|
||||
if ( id === params.id )
|
||||
{
|
||||
for ( var j = 0; j < layers.length; j++ )
|
||||
{
|
||||
var layer = layers[ j ];
|
||||
|
||||
if ( layer[ "id" ] !== id ) continue;
|
||||
|
||||
this.modules.map.addLayer( id, layer );
|
||||
this.modules.layertree.tree.setItemChecked( id, true );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.modules.map.removeLayer( id );
|
||||
this.modules.layertree.tree.setItemChecked( id, false );
|
||||
}
|
||||
}
|
||||
|
||||
// Shift Switcher Items
|
||||
if ( this.modules.switcher.getIndex( params.id ) === 0 ) this.modules.switcher.shift( 1, 0 );
|
||||
};
|
||||
|
||||
/*
|
||||
netgis.Client.prototype.onSearchPlaceChange = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
var url = this.config[ "searchplace" ][ "url" ];
|
||||
url = netgis.util.replace( url, "{query}", window.encodeURIComponent( params.query ) );
|
||||
|
||||
netgis.util.request( url, this.onSearchPlaceResponse.bind( this ) );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onSearchPlaceResponse = function( data )
|
||||
{
|
||||
var json = JSON.parse( data );
|
||||
var results = json[ "data" ];
|
||||
|
||||
this.modules.searchplace.search.clearResults();
|
||||
|
||||
for ( var i = 0; i < results.length; i++ )
|
||||
{
|
||||
var result = results[ i ];
|
||||
var title = result[ "name" ];
|
||||
|
||||
var resultData =
|
||||
{
|
||||
type: "street",
|
||||
id: result[ "strid" ],
|
||||
lon: Number.parseFloat( result[ "wgs_x" ] ),
|
||||
lat: Number.parseFloat( result[ "wgs_y" ] )
|
||||
};
|
||||
|
||||
this.modules.searchplace.search.addResult( title, JSON.stringify( resultData ) );
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onSearchPlaceSelect = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
var data = JSON.parse( params.data );
|
||||
|
||||
this.modules.map.zoomLonLat( data.lon, data.lat, this.config[ "searchplace" ][ "zoom" ] );
|
||||
|
||||
this.modules.map.setSearchMarkerLonLat( data.lon, data.lat );
|
||||
this.modules.map.setSearchMarkerVisible( true );
|
||||
|
||||
// Search Detail Request
|
||||
if ( data.type === "street" )
|
||||
{
|
||||
var url = this.config[ "searchplace" ][ "url_detail" ];
|
||||
|
||||
if ( url )
|
||||
{
|
||||
// TODO: replace all result props to support any url variable (like popup html)?
|
||||
|
||||
url = netgis.util.replace( url, "{id}", data.id );
|
||||
netgis.util.request( url, this.onSearchPlaceDetailResponse.bind( this ) );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onSearchPlaceDetailResponse = function( data )
|
||||
{
|
||||
var json = JSON.parse( data );
|
||||
var results = json[ "hsnrarr" ];
|
||||
|
||||
if ( results.length === 0 ) return;
|
||||
|
||||
this.modules.searchplace.search.clearResults();
|
||||
this.modules.map.setSearchMarkerVisible( true );
|
||||
|
||||
for ( var i = 0; i < results.length; i++ )
|
||||
{
|
||||
var result = results[ i ];
|
||||
var title = json[ "strname" ] + " " + result[ "hsnr" ];
|
||||
|
||||
var resultData =
|
||||
{
|
||||
type: "address",
|
||||
lon: Number.parseFloat( result[ "wgs_x" ] ),
|
||||
lat: Number.parseFloat( result[ "wgs_y" ] )
|
||||
};
|
||||
|
||||
this.modules.searchplace.search.addResult( title, JSON.stringify( resultData ) );
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onSearchPlaceClear = function( e )
|
||||
{
|
||||
this.modules.map.setSearchMarkerVisible( false );
|
||||
};
|
||||
*/
|
||||
|
||||
netgis.Client.prototype.onGeolocationToggle = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
this.modules.map.setGeolocMarkerVisible( params.on );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onGeolocationChange = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
this.modules.map.zoomLonLat( params.lon, params.lat, this.config[ "geolocation" ][ "zoom" ] );
|
||||
this.modules.map.setGeolocMarkerLonLat( params.lon, params.lat );
|
||||
|
||||
//this.modules.geolocation.setActive( false );
|
||||
};
|
||||
|
||||
netgis.Client.prototype.onMapEditLayerChange = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
var geojson = JSON.stringify( params.geojson );
|
||||
|
||||
this.output.value = geojson;
|
||||
//this.attribution.onEditFeaturesChange( e.detail );
|
||||
};
|
||||
|
||||
netgis.Client.handleCommand = function( src, command )
|
||||
{
|
||||
// TODO: having a common event invoke scheme for buttons, inputs, items etc. would get rid of this ?
|
||||
|
||||
//console.info( "Handle Command:", arguments );
|
||||
|
||||
// Translate Command IDs To Events
|
||||
switch ( command )
|
||||
{
|
||||
case netgis.Commands.LAYERTREE:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.LAYERTREE_TOGGLE, null );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.SEARCHPLACE:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.SEARCHPLACE_TOGGLE, null );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.SEARCHPARCEL:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.SEARCHPARCEL_TOGGLE, null );
|
||||
//netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.SEARCH_PARCEL } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.TOOLBOX:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.TOOLBOX_TOGGLE, null );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.LEGEND:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.LEGEND_TOGGLE, null );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.VIEW_PREV:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.MAP_VIEW_PREV, null );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.VIEW_NEXT:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.MAP_VIEW_NEXT, null );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.VIEW:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.VIEW } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.ZOOM_BOX:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.ZOOM_BOX } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.ZOOM_SCALE:
|
||||
{
|
||||
var text = src.innerText;
|
||||
var scale = Number.parseInt( text.split( ":" )[ 1 ] );
|
||||
netgis.util.invoke( src, netgis.Events.MAP_ZOOM_SCALE, { scale: scale, anim: true } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.MEASURE_LINE:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.MEASURE_LINE } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.MEASURE_AREA:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.MEASURE_AREA } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.MEASURE_CLEAR:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.MEASURE_CLEAR, null );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.DRAW_POINTS:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.DRAW_POINTS } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.DRAW_LINES:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.DRAW_LINES } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.DRAW_POLYGONS:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.DRAW_POLYGONS } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.MODIFY_FEATURES:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.MODIFY_FEATURES } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.DELETE_FEATURES:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.DELETE_FEATURES } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.BUFFER_FEATURES:
|
||||
{
|
||||
//netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.BUFFER_FEATURES } );
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.BUFFER_FEATURES_DYNAMIC } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.CUT_FEATURES:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.CUT_FEATURES } );
|
||||
//netgis.util.invoke( src, netgis.Events.CLIENT_SET_MODE, { mode: netgis.Modes.CUT_FEATURES_DYNAMIC } );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.IMPORT_LAYER:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.IMPORT_LAYER_SHOW, null );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.EXPORT:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.EXPORT_SHOW, null );
|
||||
break;
|
||||
}
|
||||
|
||||
case netgis.Commands.GEOLOCATION:
|
||||
{
|
||||
netgis.util.invoke( src, netgis.Events.GEOLOCATION_SHOW_OPTIONS, null );
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
console.error( "unhandled command id", command );
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
</code></pre>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Import.html">Import</a></li></ul><h3>Global</h3><ul><li><a href="global.html#OSM">OSM</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Apr 25 2025 14:07:12 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
1473
docs/Import.js.html
Normal file
1473
docs/Import.js.html
Normal file
File diff suppressed because it is too large
Load Diff
443
docs/Info.js.html
Normal file
443
docs/Info.js.html
Normal file
@ -0,0 +1,443 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Source: Info.js</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Source: Info.js</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<article>
|
||||
<pre class="prettyprint source linenums"><code>"use strict";
|
||||
|
||||
var netgis = netgis || {};
|
||||
|
||||
netgis.Info = function( config )
|
||||
{
|
||||
this.config = config;
|
||||
|
||||
this.queryLayers = {};
|
||||
|
||||
this.popup = new netgis.Popup();
|
||||
this.popup.setHeader( "Abfrage" );
|
||||
|
||||
this.initConfig( config );
|
||||
};
|
||||
|
||||
netgis.Info.prototype.initConfig = function( config )
|
||||
{
|
||||
// Add Active Layers (Top To Bottom Order)
|
||||
var configLayers = config[ "layers" ];
|
||||
|
||||
for ( var i = configLayers.length - 1; i >= 0; i-- )
|
||||
{
|
||||
var layer = configLayers[ i ];
|
||||
|
||||
if ( layer[ "active" ] === true && this.isLayerQueryable( layer ) )
|
||||
{
|
||||
this.queryLayers[ layer[ "id" ] ] = layer;
|
||||
}
|
||||
else if ( this.queryLayers[ layer[ "id" ] ] )
|
||||
{
|
||||
delete this.queryLayers[ layer[ "id" ] ];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Info.prototype.attachTo = function( parent )
|
||||
{
|
||||
this.popup.attachTo( parent );
|
||||
|
||||
parent.addEventListener( netgis.Events.CLIENT_CONTEXT_RESPONSE, this.onClientContextResponse.bind( this ) );
|
||||
|
||||
parent.addEventListener( netgis.Events.MAP_LAYER_TOGGLE, this.onMapLayerToggle.bind( this ) );
|
||||
parent.addEventListener( netgis.Events.IMPORT_LAYER_ACCEPT, this.onImportLayerAccept.bind( this ) );
|
||||
parent.addEventListener( netgis.Events.IMPORT_GEOPORTAL_SUBMIT, this.onImportGeoportalSubmit.bind( this ) );
|
||||
|
||||
parent.addEventListener( netgis.Events.MAP_CLICK, this.onMapClick.bind( this ) );
|
||||
parent.addEventListener( netgis.Events.MAP_FEATURE_CLICK, this.onMapFeatureClick.bind( this ) );
|
||||
};
|
||||
|
||||
/**
|
||||
* Checks for a queryable layer.
|
||||
* Does not check layer active state.
|
||||
* @param {object} layer Layer Config Parameters
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
netgis.Info.prototype.isLayerQueryable = function( layer )
|
||||
{
|
||||
//if ( ! layer[ "active" ] ) return false;
|
||||
|
||||
var queryable = false;
|
||||
|
||||
if ( layer[ "query" ] === true )
|
||||
{
|
||||
// Queryable Config Layers
|
||||
queryable = true;
|
||||
}
|
||||
else if ( layer[ "query" ] !== false )
|
||||
{
|
||||
// Default Query Behavior For WMS
|
||||
switch ( layer[ "type" ] )
|
||||
{
|
||||
case netgis.LayerTypes.WMS:
|
||||
case netgis.LayerTypes.WMST:
|
||||
{
|
||||
queryable = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return queryable;
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {string} title
|
||||
* @param {string} content HTML
|
||||
*/
|
||||
netgis.Info.prototype.addSection = function( title, content, open )
|
||||
{
|
||||
var html =
|
||||
[
|
||||
( open === true ) ? "<details open='open'>" : "<details>",
|
||||
"<summary class='netgis-button netgis-noselect netgis-clip-text netgis-color-d netgis-hover-text-a netgis-hover-d'>",
|
||||
title,
|
||||
"</summary>",
|
||||
"<div class='netgis-border-d'>",
|
||||
content,
|
||||
"</div>",
|
||||
"</details>"
|
||||
];
|
||||
|
||||
this.popup.addContent( html.join( "" ) );
|
||||
|
||||
// TODO: create element without html strings
|
||||
};
|
||||
|
||||
netgis.Info.prototype.onClientContextResponse = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
this.initConfig( params.context.config );
|
||||
};
|
||||
|
||||
netgis.Info.prototype.onMapLayerToggle = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
var id = params.id;
|
||||
|
||||
//console.info( "Info Layer Toggle:", params );
|
||||
|
||||
if ( params.on )
|
||||
{
|
||||
// Get Layer By ID
|
||||
var layers = this.config[ "layers" ];
|
||||
var layer = null;
|
||||
|
||||
for ( var i = 0; i < layers.length; i++ )
|
||||
{
|
||||
if ( layers[ i ][ "id" ] === id )
|
||||
{
|
||||
layer = layers[ i ];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Add Queryable Layer
|
||||
if ( layer )
|
||||
{
|
||||
if ( this.isLayerQueryable( layer ) ) this.queryLayers[ id ] = layer;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Remove Queryable Layer
|
||||
delete this.queryLayers[ id ];
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Info.prototype.onImportLayerAccept = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
var layer = params;
|
||||
|
||||
if ( this.isLayerQueryable( layer ) ) this.queryLayers[ layer.id ] = layer;
|
||||
};
|
||||
|
||||
netgis.Info.prototype.onImportGeoportalSubmit = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
//console.info( "Info Geoportal Submit:", params );
|
||||
|
||||
// TODO: make imported layers queryable
|
||||
};
|
||||
|
||||
netgis.Info.prototype.onMapClick = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
|
||||
//console.info( "Info Map Click:", params, params.lon, params.lat );
|
||||
|
||||
if ( params.mode !== netgis.Modes.VIEW ) return;
|
||||
|
||||
var cfg = this.config[ "info" ];
|
||||
|
||||
// Popup
|
||||
if ( this.popup.container !== params.overlay )
|
||||
{
|
||||
this.popup.attachTo( params.overlay );
|
||||
}
|
||||
|
||||
this.popup.clearContent();
|
||||
|
||||
// Query Layers
|
||||
var count = 0;
|
||||
|
||||
for ( var id in this.queryLayers )
|
||||
{
|
||||
var layer = this.queryLayers[ id ];
|
||||
|
||||
// Auto Query For WMS With Undefined Config
|
||||
if ( ! layer[ "query_url" ] || layer[ "query_url" ] === "" )
|
||||
{
|
||||
switch ( layer[ "type" ] )
|
||||
{
|
||||
case netgis.LayerTypes.WMS:
|
||||
case netgis.LayerTypes.WMST:
|
||||
{
|
||||
var url = layer[ "url" ];
|
||||
|
||||
////if ( layer[ "query_url" ] ) url = layer[ "query_url" ];
|
||||
|
||||
// TODO: layer config query url template params replace
|
||||
|
||||
var request =
|
||||
[
|
||||
"service=WMS",
|
||||
"version=1.1.0",
|
||||
"request=GetFeatureInfo",
|
||||
"styles=",
|
||||
"layers=" + window.encodeURIComponent( layer[ "name" ] ),
|
||||
"query_layers=" + window.encodeURIComponent( layer[ "name" ] ),
|
||||
"bbox=" + params.view.bbox.join( "," ),
|
||||
"srs=" + params.view.projection,
|
||||
"width=" + params.view.width,
|
||||
"height=" + params.view.height,
|
||||
"x=" + Math.round( params.pixel[ 0 ] ),
|
||||
"y=" + Math.round( params.pixel[ 1 ] ),
|
||||
"info_format=" + ( cfg && cfg[ "default_format" ] ? cfg[ "default_format" ] : "text/plain" )
|
||||
//"info_format=" + "text/html"
|
||||
];
|
||||
|
||||
url = url + ( url.indexOf( "?" ) === -1 ? "?" : "" ) + request.join( "&" );
|
||||
|
||||
netgis.util.request( url, this.onLayerResponseWMS.bind( this ), { title: layer[ "title" ] } );
|
||||
|
||||
// TODO: handle wms query error responses
|
||||
|
||||
count += 1;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Query Using Config URL
|
||||
var url = layer[ "query_url" ];
|
||||
|
||||
if ( url && url !== "" )
|
||||
{
|
||||
//if ( ! url || url === "" ) continue;
|
||||
|
||||
url = netgis.util.replace( url, "{bbox}", params.view.bbox.join( "," ) );
|
||||
url = netgis.util.replace( url, "{proj}", params.view.projection );
|
||||
url = netgis.util.replace( url, "{width}", params.view.width );
|
||||
url = netgis.util.replace( url, "{height}", params.view.height );
|
||||
url = netgis.util.replace( url, "{x}", params.coords[ 0 ] );
|
||||
url = netgis.util.replace( url, "{y}", params.coords[ 1 ] );
|
||||
url = netgis.util.replace( url, "{px}", params.pixel[ 0 ] );
|
||||
url = netgis.util.replace( url, "{py}", params.pixel[ 1 ] );
|
||||
url = netgis.util.replace( url, "{lon}", params.lon );
|
||||
url = netgis.util.replace( url, "{lat}", params.lat );
|
||||
|
||||
//console.info( "WMS REQUEST 2:", url );
|
||||
|
||||
netgis.util.request( url, this.onLayerResponseWMS.bind( this ), { title: layer[ "title" ] } );
|
||||
|
||||
count += 1;
|
||||
}
|
||||
|
||||
// Force Query From Config For Vector Features
|
||||
/*
|
||||
if ( layer[ "query" ] === true && ( ! layer[ "query_url" ] || layer[ "query_url" ] === "" ) )
|
||||
{
|
||||
count += 1;
|
||||
}
|
||||
*/
|
||||
|
||||
// TODO: handle vector feature info on map feature click
|
||||
}
|
||||
|
||||
if ( count > 0 )
|
||||
{
|
||||
this.popup.showLoader();
|
||||
this.popup.show();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.popup.hide();
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Info.prototype.onLayerResponseWMS = function( data, requestData, request )
|
||||
{
|
||||
//console.info( "INFO RESPONSE:", data, requestData, request );
|
||||
|
||||
var title = requestData.title;
|
||||
var content = data;
|
||||
|
||||
// Nothing Returned
|
||||
if ( ! data || data === "" ) data = "<p style='padding: 0mm 2mm;'><i>Keine Daten gefunden...</i></p>";
|
||||
|
||||
// Check Content Type
|
||||
var contentType = request.getResponseHeader( "Content-Type" );
|
||||
|
||||
if ( contentType )
|
||||
{
|
||||
switch ( contentType.split( ";" )[ 0 ] )
|
||||
{
|
||||
case "text/plain":
|
||||
{
|
||||
content = "<pre>" + content + "</pre>";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Add To Content
|
||||
this.popup.hideLoader();
|
||||
this.addSection( title, content, false );
|
||||
};
|
||||
|
||||
netgis.Info.prototype.onMapFeatureClick = function( e )
|
||||
{
|
||||
var params = e.detail;
|
||||
var props = params.properties;
|
||||
|
||||
//console.info( "Info Feature Click:", params, this.popup.wrapper.innerHTML, this.popup.wrapper.childNodes );
|
||||
|
||||
var open = false; //( this.popup.wrapper.childNodes.length === 0 );
|
||||
var show = false;
|
||||
|
||||
// Filter Feature Properties
|
||||
var title = null;
|
||||
var filtered = [];
|
||||
var blacklist = [ "geometry", "fill", "fill-opacity", "stroke", "stroke-opacity", "stroke-width", "styleUrl" ];
|
||||
|
||||
for ( var k in props )
|
||||
{
|
||||
if ( blacklist.indexOf( k ) > -1 ) continue;
|
||||
|
||||
var v = props[ k ];
|
||||
filtered.push( [ k, v ] );
|
||||
|
||||
if ( ! title )
|
||||
{
|
||||
if ( k === "name" && v !== "" ) title = v;
|
||||
else if ( k === "title" && v !== "" ) title = v;
|
||||
else if ( k === "id" && v ) title = v;
|
||||
}
|
||||
}
|
||||
|
||||
// Build Title
|
||||
if ( ! title && params.id ) title = params.id;
|
||||
title = title ? 'Feature "' + title + '"' : "Feature";
|
||||
|
||||
if ( params.id === "geolocation" )
|
||||
{
|
||||
title = this.config[ "geolocation" ][ "marker_title" ];
|
||||
if ( ! title || title === "" ) title = "Geolocation";
|
||||
|
||||
filtered.push( [ "Längengrad (Lon.)", params.lon ] );
|
||||
filtered.push( [ "Breitengrad (Lat.)", params.lat ] );
|
||||
}
|
||||
|
||||
// Build Table
|
||||
var html = [];
|
||||
|
||||
if ( filtered.length > 0 )
|
||||
{
|
||||
html.push( "<table>" );
|
||||
|
||||
for ( var i = 0; i < filtered.length; i++ )
|
||||
{
|
||||
var item = filtered[ i ];
|
||||
var k = item[ 0 ];
|
||||
var v = item[ 1 ];
|
||||
|
||||
html.push( "<tr class='netgis-hover-d'>" );
|
||||
html.push( "<th>" + k + "</th>" );
|
||||
html.push( "<td>" + v + "</td>" );
|
||||
html.push( "</tr>" );
|
||||
}
|
||||
|
||||
html.push( "</table>" );
|
||||
}
|
||||
else
|
||||
{
|
||||
html.push( "<i>Keine Eigenschaften vorhanden...</i>" );
|
||||
}
|
||||
|
||||
html = html.join( "" );
|
||||
|
||||
// Add To Popup Content
|
||||
this.addSection( title, html, open );
|
||||
show = true;
|
||||
|
||||
if ( ! this.popup.isVisible() && show )
|
||||
{
|
||||
this.popup.show();
|
||||
}
|
||||
};</code></pre>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Import.html">Import</a></li></ul><h3>Global</h3><ul><li><a href="global.html#OSM">OSM</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Apr 25 2025 14:07:12 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
66
docs/LayerID.js.html
Normal file
66
docs/LayerID.js.html
Normal file
@ -0,0 +1,66 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Source: LayerID.js</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Source: LayerID.js</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<article>
|
||||
<pre class="prettyprint source linenums"><code>"use strict";
|
||||
|
||||
var netgis = netgis || {};
|
||||
|
||||
/**
|
||||
* Default Layer IDs.
|
||||
* @type Object
|
||||
*/
|
||||
netgis.LayerID = Object.freeze
|
||||
(
|
||||
{
|
||||
EDITABLE: "editable-layer",
|
||||
NON_EDITABLE: "non-editable-layer"
|
||||
//TIMESLIDER: "timeslider-layer"
|
||||
}
|
||||
);</code></pre>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Import.html">Import</a></li></ul><h3>Global</h3><ul><li><a href="global.html#OSM">OSM</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Apr 25 2025 14:07:12 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
81
docs/LayerTypes.js.html
Normal file
81
docs/LayerTypes.js.html
Normal file
@ -0,0 +1,81 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Source: LayerTypes.js</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Source: LayerTypes.js</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<article>
|
||||
<pre class="prettyprint source linenums"><code>"use strict";
|
||||
|
||||
var netgis = netgis || {};
|
||||
|
||||
netgis.LayerTypes = Object.freeze
|
||||
(
|
||||
{
|
||||
HIDDEN: "HIDDEN",
|
||||
|
||||
// Raster Layers
|
||||
TMS: "TMS",
|
||||
WMTS: "WMTS",
|
||||
WMS: "WMS",
|
||||
WMST: "WMST",
|
||||
|
||||
// Vector Layers
|
||||
GEOJSON: "GEOJSON",
|
||||
VTILES: "VTILES",
|
||||
WFS: "WFS",
|
||||
GML: "GML",
|
||||
KML: "KML",
|
||||
GEOPACKAGE: "GEOPACKAGE",
|
||||
SPATIALITE: "SPATIALITE",
|
||||
SHAPEFILE: "SHAPEFILE",
|
||||
WKT: "WKT",
|
||||
|
||||
/** NOTE: deprecated, see layer type TMS */
|
||||
OSM: "OSM",
|
||||
XYZ: "XYZ"
|
||||
}
|
||||
);</code></pre>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Import.html">Import</a></li></ul><h3>Global</h3><ul><li><a href="global.html#OSM">OSM</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Apr 25 2025 14:07:12 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
4544
docs/Map.js.html
Normal file
4544
docs/Map.js.html
Normal file
File diff suppressed because it is too large
Load Diff
251
docs/Popup.js.html
Normal file
251
docs/Popup.js.html
Normal file
@ -0,0 +1,251 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Source: Popup.js</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Source: Popup.js</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<article>
|
||||
<pre class="prettyprint source linenums"><code>"use strict";
|
||||
|
||||
var netgis = netgis || {};
|
||||
|
||||
netgis.Popup = function( options )
|
||||
{
|
||||
if ( ! options )
|
||||
{
|
||||
options =
|
||||
{
|
||||
direction: "down"
|
||||
};
|
||||
}
|
||||
|
||||
this.options = options;
|
||||
|
||||
this.initElements();
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.initElements = function()
|
||||
{
|
||||
// TODO: remove this on destroy?
|
||||
document.body.addEventListener( "pointerdown", this.onDocumentPointerDown.bind( this ) );
|
||||
|
||||
this.container = document.createElement( "div" );
|
||||
this.container.className = "netgis-popup";
|
||||
this.container.addEventListener( "pointerdown", this.onPointerDown.bind( this ) );
|
||||
|
||||
this.content = document.createElement( "div" );
|
||||
this.content.className = "netgis-content netgis-color-e netgis-round";
|
||||
this.container.appendChild( this.content );
|
||||
|
||||
switch ( this.options[ "direction" ] )
|
||||
{
|
||||
default:
|
||||
case "down":
|
||||
{
|
||||
this.container.classList.add( "netgis-dir-down" );
|
||||
break;
|
||||
}
|
||||
|
||||
case "right":
|
||||
{
|
||||
this.container.classList.add( "netgis-dir-right" );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
this.arrow = document.createElement( "div" );
|
||||
this.arrow.className = "netgis-arrow-down";
|
||||
this.container.appendChild( this.arrow );
|
||||
*/
|
||||
|
||||
this.arrow = document.createElement( "div" );
|
||||
this.arrow.className = "netgis-arrow";
|
||||
this.container.appendChild( this.arrow );
|
||||
|
||||
// Closer
|
||||
this.closer = document.createElement( "button" );
|
||||
this.closer.setAttribute( "type", "button" );
|
||||
this.closer.className = "netgis-closer netgis-color-e netgis-text-a";
|
||||
this.closer.innerHTML = "<span></span><i class='fas fa-times'></i>";
|
||||
this.closer.onclick = this.onCloserClick.bind( this );
|
||||
this.content.appendChild( this.closer );
|
||||
|
||||
// Loader
|
||||
this.loader = document.createElement( "div" );
|
||||
this.loader.className = "netgis-loader netgis-color-e netgis-text-a";
|
||||
this.loader.innerHTML = "<i class='netgis-icon netgis-anim-spin fas fa-sync-alt'></i>";
|
||||
|
||||
// Wrapper
|
||||
this.wrapper = document.createElement( "div" );
|
||||
this.wrapper.className = "netgis-wrapper";
|
||||
this.content.appendChild( this.wrapper );
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.attachTo = function( parent )
|
||||
{
|
||||
parent.appendChild( this.container );
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.show = function()
|
||||
{
|
||||
this.container.classList.add( "netgis-show" );
|
||||
|
||||
// Update Width On Small Screens
|
||||
if ( netgis.util.isMobile() )
|
||||
{
|
||||
this.container.style.width = ( document.body.getBoundingClientRect().width - 10 ) + "px";
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.hide = function()
|
||||
{
|
||||
this.container.classList.remove( "netgis-show" );
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.isVisible = function()
|
||||
{
|
||||
return this.container.classList.contains( "netgis-show" );
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.showLoader = function()
|
||||
{
|
||||
this.content.appendChild( this.loader );
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.hideLoader = function()
|
||||
{
|
||||
if ( this.loader.parentNode !== this.content ) return;
|
||||
|
||||
this.content.removeChild( this.loader );
|
||||
};
|
||||
|
||||
/**
|
||||
* Set the arrow tip pixel coordinates inside the container.
|
||||
* Make sure to call show before this to allow bounds checking.
|
||||
* @param {Number} x
|
||||
* @param {Number} y
|
||||
*/
|
||||
netgis.Popup.prototype.setPosition = function( x, y )
|
||||
{
|
||||
// Point Bounds
|
||||
var parent = this.container.parentNode;
|
||||
var bounds = parent.getBoundingClientRect();
|
||||
var arrow = this.arrow.getBoundingClientRect();
|
||||
|
||||
if ( x > bounds.width - arrow.width ) x = bounds.width - arrow.width;
|
||||
if ( x < arrow.width ) x = arrow.width;
|
||||
|
||||
// Point Position
|
||||
switch ( this.options[ "direction" ] )
|
||||
{
|
||||
default:
|
||||
case "down":
|
||||
{
|
||||
this.container.style.left = x + "px";
|
||||
this.container.style.top = y + "px";
|
||||
break;
|
||||
}
|
||||
|
||||
case "right":
|
||||
{
|
||||
this.container.style.right = ( bounds.width - x ) + "px";
|
||||
this.container.style.top = y + "px";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Keep Popup Content Inside Bounds
|
||||
this.content.style.left = "";
|
||||
|
||||
var rect = this.content.getBoundingClientRect();
|
||||
|
||||
if ( rect.x < 0 )
|
||||
{
|
||||
this.content.style.left = -rect.x + "px";
|
||||
}
|
||||
else if ( rect.x + rect.width > bounds.width )
|
||||
{
|
||||
this.content.style.left = -( rect.x + rect.width - bounds.width ) + "px";
|
||||
}
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.setHeader = function( title )
|
||||
{
|
||||
var span = this.closer.getElementsByTagName( "span" )[ 0 ];
|
||||
span.innerHTML = title;
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.setContent = function( html )
|
||||
{
|
||||
this.wrapper.innerHTML = html;
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.clearContent = function()
|
||||
{
|
||||
this.wrapper.innerHTML = "";
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.addContent = function( html )
|
||||
{
|
||||
this.wrapper.innerHTML += html;
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.onDocumentPointerDown = function( e )
|
||||
{
|
||||
////this.hide();
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.onPointerDown = function( e )
|
||||
{
|
||||
e.stopPropagation();
|
||||
};
|
||||
|
||||
netgis.Popup.prototype.onCloserClick = function( e )
|
||||
{
|
||||
this.hide();
|
||||
//netgis.util.invoke( this.container, netgis.Events.POPUP_CLOSE, null );
|
||||
};</code></pre>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Import.html">Import</a></li></ul><h3>Global</h3><ul><li><a href="global.html#OSM">OSM</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Apr 25 2025 14:07:12 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
556
docs/Util.js.html
Normal file
556
docs/Util.js.html
Normal file
@ -0,0 +1,556 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Source: Util.js</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Source: Util.js</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<article>
|
||||
<pre class="prettyprint source linenums"><code>var netgis = netgis || {};
|
||||
|
||||
/**
|
||||
* General Purpose Pure Static Utility Functions.
|
||||
*/
|
||||
netgis.util =
|
||||
(
|
||||
function ()
|
||||
{
|
||||
"use strict";
|
||||
|
||||
var isDefined = function( v )
|
||||
{
|
||||
return ( typeof v !== "undefined" );
|
||||
};
|
||||
|
||||
var isObject = function( v )
|
||||
{
|
||||
if ( typeof v === "object" && ! Array.isArray( v ) && v !== null ) return true;
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
var isString = function( v )
|
||||
{
|
||||
return ( typeof v === "string" || v instanceof String );
|
||||
};
|
||||
|
||||
var isMobile = function( container )
|
||||
{
|
||||
if ( ! container )
|
||||
return ( document.body.getBoundingClientRect().width < 600 );
|
||||
else
|
||||
return ( container.getBoundingClientRect().width < 600 );
|
||||
};
|
||||
|
||||
var clone = function( obj )
|
||||
{
|
||||
return JSON.parse( JSON.stringify( obj ) );
|
||||
};
|
||||
|
||||
var stringToID = function( str, seperator )
|
||||
{
|
||||
if ( ! seperator ) seperator = "-";
|
||||
|
||||
// TODO: constant blacklist array of forbidden characters ?
|
||||
|
||||
var id = str.trim();
|
||||
id = id.toLowerCase();
|
||||
|
||||
id = this.replace( id, " ", seperator );
|
||||
id = this.replace( id, "\n", seperator );
|
||||
id = this.replace( id, "\t", seperator );
|
||||
id = this.replace( id, "\\.", seperator );
|
||||
id = this.replace( id, "\\,", seperator );
|
||||
id = this.replace( id, "\\!", seperator );
|
||||
id = this.replace( id, "\\?", seperator );
|
||||
id = this.replace( id, ":", seperator );
|
||||
id = this.replace( id, ";", seperator );
|
||||
id = this.replace( id, "\"", seperator );
|
||||
id = this.replace( id, "\'", seperator );
|
||||
id = this.replace( id, "\\§", seperator );
|
||||
id = this.replace( id, "\\$", seperator );
|
||||
id = this.replace( id, "\\%", seperator );
|
||||
id = this.replace( id, "\\&", seperator );
|
||||
id = this.replace( id, "\\/", seperator );
|
||||
id = this.replace( id, "\\\\", seperator );
|
||||
id = this.replace( id, "\\(", seperator );
|
||||
id = this.replace( id, "\\)", seperator );
|
||||
id = this.replace( id, "\\{", seperator );
|
||||
id = this.replace( id, "\\}", seperator );
|
||||
id = this.replace( id, "\\[", seperator );
|
||||
id = this.replace( id, "\\]", seperator );
|
||||
id = this.replace( id, "=", seperator );
|
||||
id = this.replace( id, "\\+", seperator );
|
||||
id = this.replace( id, "\\*", seperator );
|
||||
id = this.replace( id, "\\~", seperator );
|
||||
id = this.replace( id, "\\^", seperator );
|
||||
id = this.replace( id, "\\°", seperator );
|
||||
id = this.replace( id, "²", seperator );
|
||||
id = this.replace( id, "³", seperator );
|
||||
id = this.replace( id, "\\#", seperator );
|
||||
id = this.replace( id, "\\<", seperator );
|
||||
id = this.replace( id, "\\>", seperator );
|
||||
id = this.replace( id, "\\|", seperator );
|
||||
id = this.replace( id, "\\@", seperator );
|
||||
id = this.replace( id, "€", seperator );
|
||||
id = this.replace( id, "µ", seperator );
|
||||
|
||||
id = this.trim( id, seperator );
|
||||
|
||||
id = this.replace( id, "ä", "ae" );
|
||||
id = this.replace( id, "ö", "oe" );
|
||||
id = this.replace( id, "ü", "ue" );
|
||||
id = this.replace( id, "ß", "ss" );
|
||||
|
||||
id = this.replace( id, "á", "a" );
|
||||
id = this.replace( id, "à", "a" );
|
||||
id = this.replace( id, "â", "a" );
|
||||
id = this.replace( id, "é", "e" );
|
||||
id = this.replace( id, "è", "e" );
|
||||
id = this.replace( id, "ê", "e" );
|
||||
id = this.replace( id, "í", "i" );
|
||||
id = this.replace( id, "ì", "i" );
|
||||
id = this.replace( id, "î", "i" );
|
||||
id = this.replace( id, "ó", "o" );
|
||||
id = this.replace( id, "ò", "o" );
|
||||
id = this.replace( id, "ô", "o" );
|
||||
id = this.replace( id, "ú", "u" );
|
||||
id = this.replace( id, "ù", "u" );
|
||||
id = this.replace( id, "û", "u" );
|
||||
|
||||
return id;
|
||||
};
|
||||
|
||||
/**
|
||||
* Replace all string occurences.
|
||||
* @param {String} str
|
||||
* @param {String} find
|
||||
* @param {String} newstr
|
||||
* @returns {String}
|
||||
*/
|
||||
var replace = function( str, find, newstr )
|
||||
{
|
||||
return str.replace( new RegExp( find, "g" ), newstr );
|
||||
};
|
||||
|
||||
var trim = function( str, char )
|
||||
{
|
||||
// NOTE: https://masteringjs.io/tutorials/fundamentals/trim
|
||||
|
||||
str = str.replace( new RegExp( "^" + char + "+" ), "" );
|
||||
str = str.replace( new RegExp( char + "+$" ), "" );
|
||||
|
||||
return str;
|
||||
};
|
||||
|
||||
var foreach = function( obj, fn )
|
||||
{
|
||||
for ( var k in obj )
|
||||
{
|
||||
if ( obj.hasOwnProperty( k ) )
|
||||
{
|
||||
fn( k, obj[ k ] );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Replace template strings in html string.
|
||||
* @param {type} html String with "{key}" placeholders.
|
||||
* @param {type} data Object of key value pairs to insert.
|
||||
* @returns {String} The modified html string.
|
||||
*/
|
||||
var template = function( html, data )
|
||||
{
|
||||
// Get Template: $( "#template-" + name ).text();
|
||||
|
||||
foreach
|
||||
(
|
||||
data,
|
||||
function( key, value )
|
||||
{
|
||||
html = html.replace( new RegExp( "{" + key + "}", "g" ), value );
|
||||
}
|
||||
);
|
||||
|
||||
return html;
|
||||
};
|
||||
|
||||
/**
|
||||
* Create HTML element from string.
|
||||
* @param {String} html
|
||||
* @returns {Element}
|
||||
*/
|
||||
var create = function( html )
|
||||
{
|
||||
var temp = document.createElement( "tbody" );
|
||||
temp.innerHTML = html;
|
||||
|
||||
return temp.children[ 0 ];
|
||||
};
|
||||
|
||||
var insideElement = function( container, x, y )
|
||||
{
|
||||
var bounds = container.getBoundingClientRect();
|
||||
|
||||
if ( x < bounds.left ) return false;
|
||||
if ( y < bounds.top ) return false;
|
||||
if ( x > bounds.right ) return false;
|
||||
if ( y > bounds.bottom ) return false;
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
* Replace new line characters with HTML line breaks.
|
||||
* @param {String} str
|
||||
* @returns {String}
|
||||
*/
|
||||
var newlines = function( str )
|
||||
{
|
||||
return str.replace( new RegExp( "\n", "g" ), "<br />" );
|
||||
};
|
||||
|
||||
/**
|
||||
* Calculate the byte size of an object.
|
||||
* @param {Object} json
|
||||
* @returns {Object} Object with size info ( bytes, kilobytes, megabytes )
|
||||
*/
|
||||
var size = function( json )
|
||||
{
|
||||
var bytes = new TextEncoder().encode( JSON.stringify( json ) ).length;
|
||||
var kilobytes = bytes / 1024;
|
||||
var megabytes = kilobytes / 1024;
|
||||
|
||||
return { bytes: bytes, kilobytes: kilobytes, megabytes: megabytes };
|
||||
};
|
||||
|
||||
/**
|
||||
* Send async GET request.
|
||||
* @param {String} url
|
||||
* @param {function} callback
|
||||
*/
|
||||
var request = function( url, callback, requestData, request )
|
||||
{
|
||||
// NOTE: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSNotSupportingCredentials
|
||||
|
||||
var request = new XMLHttpRequest();
|
||||
if ( requestData ) request._requestData = requestData;
|
||||
|
||||
request.onload = function() { callback( this.responseText, this._requestData, this ); };
|
||||
request.withCredentials = false;
|
||||
request.open( "GET", url, true );
|
||||
request.send();
|
||||
|
||||
return request;
|
||||
};
|
||||
|
||||
var downloadJSON = function( exportObj, exportName )
|
||||
{
|
||||
var dataStr = "data:text/json;charset=utf-8," + encodeURIComponent( JSON.stringify( exportObj ) );
|
||||
|
||||
var downloadAnchorNode = document.createElement( 'a' );
|
||||
downloadAnchorNode.setAttribute( "href", dataStr );
|
||||
downloadAnchorNode.setAttribute( "download", exportName );
|
||||
document.body.appendChild( downloadAnchorNode );
|
||||
|
||||
downloadAnchorNode.click();
|
||||
downloadAnchorNode.remove();
|
||||
};
|
||||
|
||||
/**
|
||||
* Pad string with leading zeros.
|
||||
* @param {String} s The string to pad.
|
||||
* @param {Integer} n Minimum number of digits.
|
||||
* @returns {String} The padded string.
|
||||
*/
|
||||
var padstr = function( s, n )
|
||||
{
|
||||
var o = s.toString();
|
||||
while ( o.length < n ) o = "0" + o;
|
||||
|
||||
return o;
|
||||
};
|
||||
|
||||
/**
|
||||
* Merge object properties.
|
||||
* @param {Object} target Merged object properties will be written to this.
|
||||
* @param {Object} other The object to append to the target object.
|
||||
* @returns {Object} The modified target object.
|
||||
*/
|
||||
var merge = function( target, other )
|
||||
{
|
||||
return Object.assign( target, other );
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {Boolean} ymd If true format to YYYYMMDD_HHMMSS, pretty locale otherwise
|
||||
* @returns {String} Formatted Date Time String (German Locale)
|
||||
*/
|
||||
var getTimeStamp = function( ymd )
|
||||
{
|
||||
var timestamp;
|
||||
var date = new Date();
|
||||
|
||||
if ( ymd === true )
|
||||
{
|
||||
var yyyy = date.getFullYear();
|
||||
var mm = date.getMonth() + 1;
|
||||
var dd = date.getDate();
|
||||
var hh = date.getHours();
|
||||
var mi = date.getMinutes();
|
||||
var ss = date.getSeconds();
|
||||
|
||||
if ( mm < 10 ) mm = "0" + mm;
|
||||
if ( dd < 10 ) dd = "0" + dd;
|
||||
if ( hh < 10 ) hh = "0" + hh;
|
||||
if ( mi < 10 ) mi = "0" + mi;
|
||||
if ( ss < 10 ) ss = "0" + ss;
|
||||
|
||||
timestamp = [ yyyy, mm, dd, "_", hh, mi, ss ].join( "" );
|
||||
}
|
||||
else
|
||||
{
|
||||
timestamp = date.getDate() + "." + ( date.getMonth() + 1 ) + "." + date.getFullYear();
|
||||
timestamp += " " + date.getHours() + ":" + date.getMinutes();
|
||||
}
|
||||
|
||||
return timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* @returns {String} The users language locale string (defaults to German)
|
||||
*/
|
||||
var getUserLanguage = function()
|
||||
{
|
||||
var lang = navigator.language || "de-DE";
|
||||
|
||||
return lang;
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {String} path
|
||||
* @returns {String} file extension or empty string if none found
|
||||
*/
|
||||
var getFileExtension = function( path )
|
||||
{
|
||||
var parts = path.split( "." );
|
||||
return ( parts.length <= 1 ) ? "" : parts[ parts.length - 1 ];
|
||||
};
|
||||
|
||||
var formatDistance = function( distance )
|
||||
{
|
||||
var output;
|
||||
|
||||
if ( distance > 100 )
|
||||
output = ( Math.round( distance / 1000 * 100 ) / 100 ) + " km";
|
||||
else
|
||||
output = ( Math.round( distance * 100 ) / 100 ) + " m";
|
||||
|
||||
return output;
|
||||
};
|
||||
|
||||
var formatLength = function( len, decimals )
|
||||
{
|
||||
var output;
|
||||
|
||||
// Normal / Large Value
|
||||
var threshold = 1000;
|
||||
var large = ( len > threshold );
|
||||
|
||||
// Round Value
|
||||
var i = 0;
|
||||
|
||||
if ( large )
|
||||
{
|
||||
var METERS_PER_KILOMETER = 1000;
|
||||
|
||||
if ( decimals )
|
||||
i = Math.round( len / METERS_PER_KILOMETER * 1000 ) / 1000;
|
||||
else
|
||||
i = Math.round( len / METERS_PER_KILOMETER );
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( decimals )
|
||||
i = Math.round( len * 100 ) / 100;
|
||||
else
|
||||
i = Math.round( len );
|
||||
}
|
||||
|
||||
if ( i === 0 ) large = false;
|
||||
|
||||
// Thousands Seperators
|
||||
/*seperate = seperate || false;
|
||||
if ( seperate ) i = i.toLocaleString( getUserLanguage() );*/
|
||||
|
||||
// Build String
|
||||
output = i + ( large ? " km" : " m" );
|
||||
|
||||
// NOTE: HTML Superscript / Unicode (&sup2; etc.) not supported in OL Labels
|
||||
|
||||
return output;
|
||||
};
|
||||
|
||||
/*
|
||||
* @param {Number} area Raw Area in Square Meters
|
||||
* @param {Boolean} decimals Output Rounded Decimals
|
||||
* @param {Number} threshold Threshold for normal (square meters) vs. large (square kilometers) values
|
||||
* @param {Boolean} seperate Use thousands seperators
|
||||
* @returns {String} Formatted Area String (Square Meters/Square Kilometers)
|
||||
*/
|
||||
var formatArea = function( area, decimals, threshold, seperate )
|
||||
{
|
||||
var output;
|
||||
|
||||
// Normal / Large Value
|
||||
threshold = threshold || 100000;
|
||||
var large = ( area > threshold );
|
||||
|
||||
// Round Value
|
||||
var i = 0;
|
||||
|
||||
if ( large )
|
||||
{
|
||||
var METERS_PER_KILOMETER = 1000000;
|
||||
|
||||
if ( decimals )
|
||||
i = Math.round( area / METERS_PER_KILOMETER * 1000 ) / 1000;
|
||||
else
|
||||
i = Math.round( area / METERS_PER_KILOMETER );
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( decimals )
|
||||
i = Math.round( area * 100 ) / 100;
|
||||
else
|
||||
i = Math.round( area );
|
||||
}
|
||||
|
||||
if ( i === 0 ) large = false;
|
||||
|
||||
// Thousands Seperators
|
||||
seperate = seperate || true;
|
||||
if ( seperate ) i = i.toLocaleString( getUserLanguage() );
|
||||
|
||||
// Build String
|
||||
output = i + ( large ? " km²" : " m²" );
|
||||
|
||||
// NOTE: HTML Superscript / Unicode (&sup2; etc.) not supported in OL Labels
|
||||
|
||||
return output;
|
||||
};
|
||||
|
||||
var hexToRGB = function( hex )
|
||||
{
|
||||
if ( hex.charAt( 0 ) === "#" ) hex = hex.substr( 1 );
|
||||
|
||||
var i = Number.parseInt( hex, 16 );
|
||||
|
||||
var rgb =
|
||||
[
|
||||
( i >> 16 ) & 255,
|
||||
( i >> 8 ) & 255,
|
||||
i & 255
|
||||
];
|
||||
|
||||
return rgb;
|
||||
};
|
||||
|
||||
var invoke = function( src, type, params )
|
||||
{
|
||||
src.dispatchEvent( new CustomEvent( type, { bubbles: true, detail: params } ) );
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns a default unbound event handler / callback function.
|
||||
* @param {netgis.Events} type
|
||||
* @param {Object} params
|
||||
* @returns {Function}
|
||||
*/
|
||||
var handler = function( type, params )
|
||||
{
|
||||
return function( e )
|
||||
{
|
||||
if ( ! params ) params = e;
|
||||
netgis.util.invoke( this, type, params );
|
||||
};
|
||||
};
|
||||
|
||||
// Public Interface
|
||||
var iface =
|
||||
{
|
||||
isDefined: isDefined,
|
||||
isObject: isObject,
|
||||
isString: isString,
|
||||
isMobile: isMobile,
|
||||
clone: clone,
|
||||
stringToID: stringToID,
|
||||
replace: replace,
|
||||
trim: trim,
|
||||
foreach: foreach,
|
||||
template: template,
|
||||
newlines: newlines,
|
||||
create: create,
|
||||
insideElement: insideElement,
|
||||
size: size,
|
||||
request: request,
|
||||
downloadJSON: downloadJSON,
|
||||
padstr: padstr,
|
||||
merge: merge,
|
||||
getTimeStamp: getTimeStamp,
|
||||
getUserLanguage: getUserLanguage,
|
||||
getFileExtension: getFileExtension,
|
||||
formatDistance: formatDistance,
|
||||
formatLength: formatLength,
|
||||
formatArea: formatArea,
|
||||
hexToRGB: hexToRGB,
|
||||
invoke: invoke,
|
||||
handler: handler
|
||||
};
|
||||
|
||||
return iface;
|
||||
}
|
||||
)();</code></pre>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Import.html">Import</a></li></ul><h3>Global</h3><ul><li><a href="global.html#OSM">OSM</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Apr 25 2025 14:07:12 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
BIN
docs/fonts/OpenSans-Bold-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-Bold-webfont.eot
Normal file
Binary file not shown.
1830
docs/fonts/OpenSans-Bold-webfont.svg
Normal file
1830
docs/fonts/OpenSans-Bold-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After (image error) Size: 116 KiB |
BIN
docs/fonts/OpenSans-Bold-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-Bold-webfont.woff
Normal file
Binary file not shown.
BIN
docs/fonts/OpenSans-BoldItalic-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-BoldItalic-webfont.eot
Normal file
Binary file not shown.
1830
docs/fonts/OpenSans-BoldItalic-webfont.svg
Normal file
1830
docs/fonts/OpenSans-BoldItalic-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After (image error) Size: 118 KiB |
BIN
docs/fonts/OpenSans-BoldItalic-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-BoldItalic-webfont.woff
Normal file
Binary file not shown.
BIN
docs/fonts/OpenSans-Italic-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-Italic-webfont.eot
Normal file
Binary file not shown.
1830
docs/fonts/OpenSans-Italic-webfont.svg
Normal file
1830
docs/fonts/OpenSans-Italic-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After (image error) Size: 120 KiB |
BIN
docs/fonts/OpenSans-Italic-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-Italic-webfont.woff
Normal file
Binary file not shown.
BIN
docs/fonts/OpenSans-Light-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-Light-webfont.eot
Normal file
Binary file not shown.
1831
docs/fonts/OpenSans-Light-webfont.svg
Normal file
1831
docs/fonts/OpenSans-Light-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After (image error) Size: 114 KiB |
BIN
docs/fonts/OpenSans-Light-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-Light-webfont.woff
Normal file
Binary file not shown.
BIN
docs/fonts/OpenSans-LightItalic-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-LightItalic-webfont.eot
Normal file
Binary file not shown.
1835
docs/fonts/OpenSans-LightItalic-webfont.svg
Normal file
1835
docs/fonts/OpenSans-LightItalic-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After (image error) Size: 120 KiB |
BIN
docs/fonts/OpenSans-LightItalic-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-LightItalic-webfont.woff
Normal file
Binary file not shown.
BIN
docs/fonts/OpenSans-Regular-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-Regular-webfont.eot
Normal file
Binary file not shown.
1831
docs/fonts/OpenSans-Regular-webfont.svg
Normal file
1831
docs/fonts/OpenSans-Regular-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After (image error) Size: 117 KiB |
BIN
docs/fonts/OpenSans-Regular-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-Regular-webfont.woff
Normal file
Binary file not shown.
1603
docs/global.html
Normal file
1603
docs/global.html
Normal file
File diff suppressed because it is too large
Load Diff
65
docs/index.html
Normal file
65
docs/index.html
Normal file
@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Home</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Home</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3> </h3>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,233 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: netgis.Client</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: netgis.Client</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>netgis.Client<span class="signature">(container, config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="netgis.Client"><span class="type-signature"></span>new netgis.Client<span class="signature">(container, config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>container</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Element</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis%250AThe%2520main%2520NetGIS%2520Client%2520class.netgis.Client.html">netgis.Client</a></li><li><a href="netgis.Import.html">Import</a></li></ul><h3>Global</h3><ul><li><a href="global.html#OSM">OSM</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Sat Apr 26 2025 18:21:27 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
328
docs/netgis.Attribution.html
Normal file
328
docs/netgis.Attribution.html
Normal file
@ -0,0 +1,328 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: Attribution</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: Attribution</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>Attribution<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="Attribution"><span class="type-signature"></span>new Attribution<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Attribution Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.Attribution.html#.Config">Attribution.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "attribution"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>prefix</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Prefix string to prepend</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
461
docs/netgis.Client.html
Normal file
461
docs/netgis.Client.html
Normal file
@ -0,0 +1,461 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: Client</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: Client</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>Client<span class="signature">(container, config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="Client"><span class="type-signature"></span>new Client<span class="signature">(container, config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
The main NetGIS Client class.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>container</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Element</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">The HTML element to contain the client app</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">The main client config object. Specific section options can be found inside the <a href="global.html#Modules">Modules</a>.<br/>
|
||||
<a href="netgis.Client.html#.Output">Client.Output</a><br/></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "client"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>loading_text</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Text for the main loading indicator.</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Output"><span class="type-signature">(static) </span>Output<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "output"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>id</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Element id to write edit output to (sets the input value)</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
331
docs/netgis.Controls.html
Normal file
331
docs/netgis.Controls.html
Normal file
@ -0,0 +1,331 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: Controls</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: Controls</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>Controls<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="Controls"><span class="type-signature"></span>new Controls<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Map Controls Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.Controls.html#.Config">Controls.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "controls"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>buttons</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Array</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Map control buttons. See <a href="global.html#Commands">Commands</a> for special ID values.
|
||||
<ul>
|
||||
<li>Button Items:<br/><code>{ "id": {String}, "icon": {String}, "title": {String} }</code></li>
|
||||
</ul></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
420
docs/netgis.Export.html
Normal file
420
docs/netgis.Export.html
Normal file
@ -0,0 +1,420 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: Export</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: Export</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>Export<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="Export"><span class="type-signature"></span>new Export<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Export Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.Export.html#.Config">Export.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "export"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>title</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Modal title</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>logo</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Exported image logo</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>gif_worker</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Path to GIFJS web worker script</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>default_filename</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Default exported file name</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>default_margin</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Number</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Default exported image margin</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
351
docs/netgis.Geolocation.html
Normal file
351
docs/netgis.Geolocation.html
Normal file
@ -0,0 +1,351 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: Geolocation</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: Geolocation</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>Geolocation<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="Geolocation"><span class="type-signature"></span>new Geolocation<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Geolocation Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.Geolocation.html#.Config">Geolocation.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "geolocation"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>marker_color</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Marker color</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>marker_title</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Marker title</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
512
docs/netgis.Import.html
Normal file
512
docs/netgis.Import.html
Normal file
@ -0,0 +1,512 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: Import</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: Import</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>Import<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="Import"><span class="type-signature"></span>new Import<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Import Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.Import.html#.Config">Import.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "import"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>title</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Import modal title</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>preview</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Boolean</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Show feature preview for certain formats</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>wms_options</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Array</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">List of string options for the URL input</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>wfs_options</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Array</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">List of string options for the URL input</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>wfs_proxy</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Path to a proxy script to prepend for WFS requests</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>geopackage_lib</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Path to the GeoPackage library</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>geoportal_tab</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Boolean</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Show Geoportal tab in import modal</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>geoportal_search_url</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">URL to send search requests to, should contain <code>{query}</code> placeholder</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>geoportal_autocomplete</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Boolean</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Enable Geoportal search autocomplete on key press</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
328
docs/netgis.Info.html
Normal file
328
docs/netgis.Info.html
Normal file
@ -0,0 +1,328 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: Info</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: Info</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>Info<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="Info"><span class="type-signature"></span>new Info<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Feature Info Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.Info.html#.Config">Info.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "info"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>default_format</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Default MIME type for Get Feature Info requests</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
449
docs/netgis.LayerTree.html
Normal file
449
docs/netgis.LayerTree.html
Normal file
@ -0,0 +1,449 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: LayerTree</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: LayerTree</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>LayerTree<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="LayerTree"><span class="type-signature"></span>new LayerTree<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Layer Tree Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.LayerTree.html#.Config">LayerTree.Config</a><br/>
|
||||
<a href="netgis.LayerTree.html#.Folders">LayerTree.Folders</a><br/>
|
||||
<a href="netgis.Map.html#.Layers">Map.Layers</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "layertree"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>open</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Boolean</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Open panel at startup</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>title</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Panel title</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>buttons</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Array</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Additional buttons below the tree. See <a href="global.html#Commands">Commands</a> for special ID values.
|
||||
<ul>
|
||||
<li>Button Items:<br/><code>{ "id": {String}, "title": {String} }</code></li>
|
||||
</ul></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Folders"><span class="type-signature">(static) </span>Folders<span class="type-signature"> :Array</span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "folders"
|
||||
<ul>
|
||||
<li>Layer Tree Folder Items:<br/><code>{ "id": {String}, "title": {String}, "parent": {String}, "radio": {Boolean} }</code></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<h5>Type:</h5>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<span class="param-type">Array</span>
|
||||
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
328
docs/netgis.Legend.html
Normal file
328
docs/netgis.Legend.html
Normal file
@ -0,0 +1,328 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: Legend</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: Legend</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>Legend<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="Legend"><span class="type-signature"></span>new Legend<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Map Legend Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.Legend.html#.Config">Legend.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "legend"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>open</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Boolean</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Open panel at startup.</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
1558
docs/netgis.Map.html
Normal file
1558
docs/netgis.Map.html
Normal file
File diff suppressed because it is too large
Load Diff
378
docs/netgis.Menu.html
Normal file
378
docs/netgis.Menu.html
Normal file
@ -0,0 +1,378 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: Menu</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: Menu</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>Menu<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="Menu"><span class="type-signature"></span>new Menu<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Menu Bar Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.Menu.html#.Config">Menu.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "menu"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>header</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">HTML content for the logo area in the top left.</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>items</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Array</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">An array of menu items. See <a href="global.html#Commands">Commands</a> for special ID values.
|
||||
<ul>
|
||||
<li>Basic Items:<br/><code>{ "id": {String}, "title": {String} }</code></li>
|
||||
<li>Nested Items:<br/><code>{ "title": {String}, "items": {Array} }</code></li>
|
||||
</ul></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>compact</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Boolean</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Display smaller sub items in dropdowns.</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
328
docs/netgis.OWS.html
Normal file
328
docs/netgis.OWS.html
Normal file
@ -0,0 +1,328 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: OWS</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: OWS</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>OWS<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="OWS"><span class="type-signature"></span>new OWS<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
OWS Context Parsing Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.OWS.html#.Config">OWS.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "ows"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>url</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">URL to a OWS context to load at startup.</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
420
docs/netgis.SearchParcel.html
Normal file
420
docs/netgis.SearchParcel.html
Normal file
@ -0,0 +1,420 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: SearchParcel</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: SearchParcel</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>SearchParcel<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="SearchParcel"><span class="type-signature"></span>new SearchParcel<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Search Parcels Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.SearchParcel.html#.Config">SearchParcel.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "searchparcel"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>open</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Boolean</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Show panel at startup</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>name_url</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">District (Gemarkung) search URL, should contain <code>{q}</code> placeholder</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>parcel_url</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Parcel (Flurstück) search URL, should contain <code>{district}, {field}, {parcelA}, {parcelB}</code> placeholders</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>districts_service</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Layer settings for district features (Gemarkungen), see <a href="netgis.Map.html#.Layers">Map.Layers</a> for options, e.g. <a href="global.html#LayerTypes">LayerTypes.WFS</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>fields_service</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Layer settings for field features (Fluren), see <a href="netgis.Map.html#.Layers">Map.Layers</a> for options, e.g. <a href="global.html#LayerTypes">LayerTypes.WFS</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
420
docs/netgis.SearchPlace.html
Normal file
420
docs/netgis.SearchPlace.html
Normal file
@ -0,0 +1,420 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: SearchPlace</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: SearchPlace</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>SearchPlace<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="SearchPlace"><span class="type-signature"></span>new SearchPlace<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Search Place Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.SearchPlace.html#.Config">SearchPlace.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "searchplace"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>title</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Search input placeholder title</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>url</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">URL to send search requests to, should contain <code>{query}</code> placeholder</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>zoom</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Number</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Default zoom level for search results</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>marker_color</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Marker color for search results in CSS format</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>marker_title</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Marker title for search results</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
276
docs/netgis.TimeSlider.html
Normal file
276
docs/netgis.TimeSlider.html
Normal file
@ -0,0 +1,276 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: TimeSlider</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: TimeSlider</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>TimeSlider<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="TimeSlider"><span class="type-signature"></span>new TimeSlider<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Time Slider Module for <a href="global.html#LayerTypes">WMST Layers</a>.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.TimeSlider.html#.Config">TimeSlider.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "timeslider"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
383
docs/netgis.Toolbox.html
Normal file
383
docs/netgis.Toolbox.html
Normal file
@ -0,0 +1,383 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: Toolbox</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: Toolbox</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>Toolbox<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="Toolbox"><span class="type-signature"></span>new Toolbox<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Toolbox Module
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.Toolbox.html#.Config">Toolbox.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "toolbox"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>open</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Boolean</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Open panel at startup</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>items</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Array</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Toolbox button items. See <a href="global.html#Commands">Commands</a> for special ID values.
|
||||
<ul>
|
||||
<li>Button Items:<br/><code>{ "id": {String}, "title": {String} }</code></li>
|
||||
</ul></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>options</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Array</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">Options panel settings for specific tools<br/>
|
||||
<ul>
|
||||
<li><code>"buffer_features": { "title": {String}, "items": {Array} }</code></li>
|
||||
<li>Option Items: <code>{ "id": {String}, "type": {String}, "title": {String} }</code></li>
|
||||
<li>ID Values: <code>"buffer_radius", "buffer_segments", "buffer_submit"</code></li>
|
||||
<li>Type Values: <code>"integer", "button"</code></li>
|
||||
</ul></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
328
docs/netgis.WMC.html
Normal file
328
docs/netgis.WMC.html
Normal file
@ -0,0 +1,328 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: WMC</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: WMC</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>
|
||||
<span class="ancestors"><a href="netgis.html">netgis</a>.</span>WMC<span class="signature">(config)</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="WMC"><span class="type-signature"></span>new WMC<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Web Map Context Parsing Module.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>config</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">JSON</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><a href="netgis.WMC.html#.Config">WMC.Config</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Members</h3>
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id=".Config"><span class="type-signature">(static) </span>Config<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
Config Section "wmc"
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="props">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>url</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">String</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last">URL to a WMC document to load at startup.</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
182
docs/netgis.html
Normal file
182
docs/netgis.html
Normal file
@ -0,0 +1,182 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Namespace: netgis</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Namespace: netgis</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2>netgis</h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
<div class="description">The netgis namespace.</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsection-title">Classes</h3>
|
||||
|
||||
<dl>
|
||||
<dt><a href="netgis.Attribution.html">Attribution</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.Client.html">Client</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.Controls.html">Controls</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.Export.html">Export</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.Geolocation.html">Geolocation</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.Import.html">Import</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.Info.html">Info</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.LayerTree.html">LayerTree</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.Legend.html">Legend</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.Map.html">Map</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.Menu.html">Menu</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.OWS.html">OWS</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.SearchParcel.html">SearchParcel</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.SearchPlace.html">SearchPlace</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.TimeSlider.html">TimeSlider</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.Toolbox.html">Toolbox</a></dt>
|
||||
<dd></dd>
|
||||
|
||||
<dt><a href="netgis.WMC.html">WMC</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li><li><a href="global.html#util">util</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:56 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
25
docs/scripts/linenumber.js
Normal file
25
docs/scripts/linenumber.js
Normal file
@ -0,0 +1,25 @@
|
||||
/*global document */
|
||||
(() => {
|
||||
const source = document.getElementsByClassName('prettyprint source linenums');
|
||||
let i = 0;
|
||||
let lineNumber = 0;
|
||||
let lineId;
|
||||
let lines;
|
||||
let totalLines;
|
||||
let anchorHash;
|
||||
|
||||
if (source && source[0]) {
|
||||
anchorHash = document.location.hash.substring(1);
|
||||
lines = source[0].getElementsByTagName('li');
|
||||
totalLines = lines.length;
|
||||
|
||||
for (; i < totalLines; i++) {
|
||||
lineNumber++;
|
||||
lineId = `line${lineNumber}`;
|
||||
lines[i].id = lineId;
|
||||
if (lineId === anchorHash) {
|
||||
lines[i].className += ' selected';
|
||||
}
|
||||
}
|
||||
}
|
||||
})();
|
202
docs/scripts/prettify/Apache-License-2.0.txt
Normal file
202
docs/scripts/prettify/Apache-License-2.0.txt
Normal file
@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
2
docs/scripts/prettify/lang-css.js
Normal file
2
docs/scripts/prettify/lang-css.js
Normal file
@ -0,0 +1,2 @@
|
||||
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n"]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com",
|
||||
/^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]);
|
28
docs/scripts/prettify/prettify.js
Normal file
28
docs/scripts/prettify/prettify.js
Normal file
@ -0,0 +1,28 @@
|
||||
var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
|
||||
(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=
|
||||
[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?(d=m(f[c+2]),c+=2):d=j;b.push([j,d]);d<65||j>122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;c<b.length;++c)i=b[c],i[0]<=j[1]+1?j[1]=Math.max(j[1],i[1]):f.push(j=i);b=["["];o&&b.push("^");b.push.apply(b,a);for(c=0;c<
|
||||
f.length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c<b;++c){var j=f[c];j==="("?++i:"\\"===j.charAt(0)&&(j=+j.substring(1))&&j<=i&&(d[j]=-1)}for(c=1;c<d.length;++c)-1===d[c]&&(d[c]=++t);for(i=c=0;c<b;++c)j=f[c],j==="("?(++i,d[i]===void 0&&(f[c]="(?:")):"\\"===j.charAt(0)&&
|
||||
(j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){s=!0;l=!1;break}}for(var r=
|
||||
{b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M(a){function m(a){switch(a.nodeType){case 1:if(e.test(a.className))break;for(var g=a.firstChild;g;g=g.nextSibling)m(g);g=a.nodeName;if("BR"===g||"LI"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\n\r ]+/g," "),h[s]=g,t[s<<1]=y,y+=g.length,
|
||||
t[s++<<1|1]=a)}}var e=/(?:^|\s)nocode(?:\s|$)/,h=[],y=0,t=[],s=0,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=document.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b===
|
||||
"string")c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),
|
||||
l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
|
||||
q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,
|
||||
q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
|
||||
"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),
|
||||
a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}
|
||||
for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g<d.length;++g)e(d[g]);m===(m|0)&&d[0].setAttribute("value",
|
||||
m);var r=s.createElement("OL");r.className="linenums";for(var n=Math.max(0,m-1|0)||0,g=0,z=d.length;g<z;++g)l=d[g],l.className="L"+(g+n)%10,l.firstChild||l.appendChild(s.createTextNode("\xa0")),r.appendChild(l);a.appendChild(r)}function k(a,m){for(var e=m.length;--e>=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*</.test(m)?"default-markup":"default-code";return A[a]}function E(a){var m=
|
||||
a.g;try{var e=M(a.h),h=e.a;a.a=h;a.c=e.c;a.d=0;C(m,h)(a);var k=/\bMSIE\b/.test(navigator.userAgent),m=/\n/g,t=a.a,s=t.length,e=0,l=a.c,p=l.length,h=0,d=a.e,g=d.length,a=0;d[g]=s;var r,n;for(n=r=0;n<g;)d[n]!==d[n+2]?(d[r++]=d[n++],d[r++]=d[n++]):n+=2;g=r;for(n=r=0;n<g;){for(var z=d[n],f=d[n+1],b=n+2;b+2<=g&&d[b+1]===f;)b+=2;d[r++]=z;d[r++]=f;n=b}for(d.length=r;h<p;){var o=l[h+2]||s,c=d[a+2]||s,b=Math.min(o,c),i=l[h+1],j;if(i.nodeType!==1&&(j=t.substring(e,b))){k&&(j=j.replace(m,"\r"));i.nodeValue=
|
||||
j;var u=i.ownerDocument,v=u.createElement("SPAN");v.className=d[a+1];var x=i.parentNode;x.replaceChild(v,i);v.appendChild(i);e<o&&(l[h+1]=i=u.createTextNode(t.substring(b,o)),x.insertBefore(i,v.nextSibling))}e=b;e>=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
|
||||
"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],
|
||||
H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
|
||||
J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+
|
||||
I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),
|
||||
["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
||||
/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),
|
||||
["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",
|
||||
hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p<h.length&&l.now()<e;p++){var n=h[p],k=n.className;if(k.indexOf("prettyprint")>=0){var k=k.match(g),f,b;if(b=
|
||||
!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p<h.length?setTimeout(m,
|
||||
250):a&&a()}for(var e=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],h=[],k=0;k<e.length;++k)for(var t=0,s=e[k].length;t<s;++t)h.push(e[k][t]);var e=q,l=Date;l.now||(l={now:function(){return+new Date}});var p=0,d,g=/\blang(?:uage)?-([\w.]+)(?!\S)/;m()};window.PR={createSimpleLexer:x,registerLangHandler:k,sourceDecorator:u,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",
|
||||
PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}})();
|
358
docs/styles/jsdoc-default.css
Normal file
358
docs/styles/jsdoc-default.css
Normal file
@ -0,0 +1,358 @@
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: url('../fonts/OpenSans-Regular-webfont.eot');
|
||||
src:
|
||||
local('Open Sans'),
|
||||
local('OpenSans'),
|
||||
url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
|
||||
url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans Light';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: url('../fonts/OpenSans-Light-webfont.eot');
|
||||
src:
|
||||
local('Open Sans Light'),
|
||||
local('OpenSans Light'),
|
||||
url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
|
||||
url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
|
||||
}
|
||||
|
||||
html
|
||||
{
|
||||
overflow: auto;
|
||||
background-color: #fff;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
line-height: 1.5;
|
||||
color: #4d4e53;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
a, a:visited, a:active {
|
||||
color: #0095dd;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
header
|
||||
{
|
||||
display: block;
|
||||
padding: 0px 4px;
|
||||
}
|
||||
|
||||
tt, code, kbd, samp {
|
||||
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
||||
}
|
||||
|
||||
.class-description {
|
||||
font-size: 130%;
|
||||
line-height: 140%;
|
||||
margin-bottom: 1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.class-description:empty {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#main {
|
||||
float: left;
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
article dl {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
article img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
section
|
||||
{
|
||||
display: block;
|
||||
background-color: #fff;
|
||||
padding: 12px 24px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
.variation {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.signature-attributes {
|
||||
font-size: 60%;
|
||||
color: #aaa;
|
||||
font-style: italic;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
nav
|
||||
{
|
||||
display: block;
|
||||
float: right;
|
||||
margin-top: 28px;
|
||||
width: 30%;
|
||||
box-sizing: border-box;
|
||||
border-left: 1px solid #ccc;
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
|
||||
font-size: 100%;
|
||||
line-height: 17px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
nav ul a, nav ul a:visited, nav ul a:active {
|
||||
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
||||
line-height: 18px;
|
||||
color: #4D4E53;
|
||||
}
|
||||
|
||||
nav h3 {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
nav li {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
footer {
|
||||
display: block;
|
||||
padding: 6px;
|
||||
margin-top: 12px;
|
||||
font-style: italic;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
font-weight: 200;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1
|
||||
{
|
||||
font-family: 'Open Sans Light', sans-serif;
|
||||
font-size: 48px;
|
||||
letter-spacing: -2px;
|
||||
margin: 12px 24px 20px;
|
||||
}
|
||||
|
||||
h2, h3.subsection-title
|
||||
{
|
||||
font-size: 30px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -1px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
h3
|
||||
{
|
||||
font-size: 24px;
|
||||
letter-spacing: -0.5px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
h4
|
||||
{
|
||||
font-size: 18px;
|
||||
letter-spacing: -0.33px;
|
||||
margin-bottom: 12px;
|
||||
color: #4d4e53;
|
||||
}
|
||||
|
||||
h5, .container-overview .subsection-title
|
||||
{
|
||||
font-size: 120%;
|
||||
font-weight: bold;
|
||||
letter-spacing: -0.01em;
|
||||
margin: 8px 0 3px 0;
|
||||
}
|
||||
|
||||
h6
|
||||
{
|
||||
font-size: 100%;
|
||||
letter-spacing: -0.01em;
|
||||
margin: 6px 0 3px 0;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
table
|
||||
{
|
||||
border-spacing: 0;
|
||||
border: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
td, th
|
||||
{
|
||||
border: 1px solid #ddd;
|
||||
margin: 0px;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
padding: 4px 6px;
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
thead tr
|
||||
{
|
||||
background-color: #ddd;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
th { border-right: 1px solid #aaa; }
|
||||
tr > th:last-child { border-right: 1px solid #ddd; }
|
||||
|
||||
.ancestors, .attribs { color: #999; }
|
||||
.ancestors a, .attribs a
|
||||
{
|
||||
color: #999 !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.clear
|
||||
{
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.important
|
||||
{
|
||||
font-weight: bold;
|
||||
color: #950B02;
|
||||
}
|
||||
|
||||
.yes-def {
|
||||
text-indent: -1000px;
|
||||
}
|
||||
|
||||
.type-signature {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.name, .signature {
|
||||
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
||||
}
|
||||
|
||||
.details { margin-top: 14px; border-left: 2px solid #DDD; }
|
||||
.details dt { width: 120px; float: left; padding-left: 10px; padding-top: 6px; }
|
||||
.details dd { margin-left: 70px; }
|
||||
.details ul { margin: 0; }
|
||||
.details ul { list-style-type: none; }
|
||||
.details li { margin-left: 30px; padding-top: 6px; }
|
||||
.details pre.prettyprint { margin: 0 }
|
||||
.details .object-value { padding-top: 0; }
|
||||
|
||||
.description {
|
||||
margin-bottom: 1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.code-caption
|
||||
{
|
||||
font-style: italic;
|
||||
font-size: 107%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.source
|
||||
{
|
||||
border: 1px solid #ddd;
|
||||
width: 80%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.prettyprint.source {
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
.source code
|
||||
{
|
||||
font-size: 100%;
|
||||
line-height: 18px;
|
||||
display: block;
|
||||
padding: 4px 12px;
|
||||
margin: 0;
|
||||
background-color: #fff;
|
||||
color: #4D4E53;
|
||||
}
|
||||
|
||||
.prettyprint code span.line
|
||||
{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.prettyprint.linenums
|
||||
{
|
||||
padding-left: 70px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.prettyprint.linenums ol
|
||||
{
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.prettyprint.linenums li
|
||||
{
|
||||
border-left: 3px #ddd solid;
|
||||
}
|
||||
|
||||
.prettyprint.linenums li.selected,
|
||||
.prettyprint.linenums li.selected *
|
||||
{
|
||||
background-color: lightyellow;
|
||||
}
|
||||
|
||||
.prettyprint.linenums li *
|
||||
{
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.params .name, .props .name, .name code {
|
||||
color: #4D4E53;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
.params td.description > p:first-child,
|
||||
.props td.description > p:first-child
|
||||
{
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.params td.description > p:last-child,
|
||||
.props td.description > p:last-child
|
||||
{
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.disabled {
|
||||
color: #454545;
|
||||
}
|
111
docs/styles/prettify-jsdoc.css
Normal file
111
docs/styles/prettify-jsdoc.css
Normal file
@ -0,0 +1,111 @@
|
||||
/* JSDoc prettify.js theme */
|
||||
|
||||
/* plain text */
|
||||
.pln {
|
||||
color: #000000;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* string content */
|
||||
.str {
|
||||
color: #006400;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* a keyword */
|
||||
.kwd {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* a comment */
|
||||
.com {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* a type name */
|
||||
.typ {
|
||||
color: #000000;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* a literal value */
|
||||
.lit {
|
||||
color: #006400;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* punctuation */
|
||||
.pun {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* lisp open bracket */
|
||||
.opn {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* lisp close bracket */
|
||||
.clo {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* a markup tag name */
|
||||
.tag {
|
||||
color: #006400;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* a markup attribute name */
|
||||
.atn {
|
||||
color: #006400;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* a markup attribute value */
|
||||
.atv {
|
||||
color: #006400;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* a declaration */
|
||||
.dec {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* a variable name */
|
||||
.var {
|
||||
color: #000000;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* a function name */
|
||||
.fun {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* Specify class=linenums on a pre to get line numbering */
|
||||
ol.linenums {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
132
docs/styles/prettify-tomorrow.css
Normal file
132
docs/styles/prettify-tomorrow.css
Normal file
@ -0,0 +1,132 @@
|
||||
/* Tomorrow Theme */
|
||||
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
||||
/* Pretty printing styles. Used with prettify.js. */
|
||||
/* SPAN elements with the classes below are added by prettyprint. */
|
||||
/* plain text */
|
||||
.pln {
|
||||
color: #4d4d4c; }
|
||||
|
||||
@media screen {
|
||||
/* string content */
|
||||
.str {
|
||||
color: #718c00; }
|
||||
|
||||
/* a keyword */
|
||||
.kwd {
|
||||
color: #8959a8; }
|
||||
|
||||
/* a comment */
|
||||
.com {
|
||||
color: #8e908c; }
|
||||
|
||||
/* a type name */
|
||||
.typ {
|
||||
color: #4271ae; }
|
||||
|
||||
/* a literal value */
|
||||
.lit {
|
||||
color: #f5871f; }
|
||||
|
||||
/* punctuation */
|
||||
.pun {
|
||||
color: #4d4d4c; }
|
||||
|
||||
/* lisp open bracket */
|
||||
.opn {
|
||||
color: #4d4d4c; }
|
||||
|
||||
/* lisp close bracket */
|
||||
.clo {
|
||||
color: #4d4d4c; }
|
||||
|
||||
/* a markup tag name */
|
||||
.tag {
|
||||
color: #c82829; }
|
||||
|
||||
/* a markup attribute name */
|
||||
.atn {
|
||||
color: #f5871f; }
|
||||
|
||||
/* a markup attribute value */
|
||||
.atv {
|
||||
color: #3e999f; }
|
||||
|
||||
/* a declaration */
|
||||
.dec {
|
||||
color: #f5871f; }
|
||||
|
||||
/* a variable name */
|
||||
.var {
|
||||
color: #c82829; }
|
||||
|
||||
/* a function name */
|
||||
.fun {
|
||||
color: #4271ae; } }
|
||||
/* Use higher contrast and text-weight for printable form. */
|
||||
@media print, projection {
|
||||
.str {
|
||||
color: #060; }
|
||||
|
||||
.kwd {
|
||||
color: #006;
|
||||
font-weight: bold; }
|
||||
|
||||
.com {
|
||||
color: #600;
|
||||
font-style: italic; }
|
||||
|
||||
.typ {
|
||||
color: #404;
|
||||
font-weight: bold; }
|
||||
|
||||
.lit {
|
||||
color: #044; }
|
||||
|
||||
.pun, .opn, .clo {
|
||||
color: #440; }
|
||||
|
||||
.tag {
|
||||
color: #006;
|
||||
font-weight: bold; }
|
||||
|
||||
.atn {
|
||||
color: #404; }
|
||||
|
||||
.atv {
|
||||
color: #060; } }
|
||||
/* Style */
|
||||
/*
|
||||
pre.prettyprint {
|
||||
background: white;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
border: 1px solid #ccc;
|
||||
padding: 10px; }
|
||||
*/
|
||||
|
||||
/* Specify class=linenums on a pre to get line numbering */
|
||||
ol.linenums {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0; }
|
||||
|
||||
/* IE indents via margin-left */
|
||||
li.L0,
|
||||
li.L1,
|
||||
li.L2,
|
||||
li.L3,
|
||||
li.L4,
|
||||
li.L5,
|
||||
li.L6,
|
||||
li.L7,
|
||||
li.L8,
|
||||
li.L9 {
|
||||
/* */ }
|
||||
|
||||
/* Alternate shading for lines */
|
||||
li.L1,
|
||||
li.L3,
|
||||
li.L5,
|
||||
li.L7,
|
||||
li.L9 {
|
||||
/* */ }
|
165
docs/util.html
Normal file
165
docs/util.html
Normal file
@ -0,0 +1,165 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JSDoc: Class: util</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<h1 class="page-title">Class: util</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
|
||||
<header>
|
||||
|
||||
<h2><span class="attribs"><span class="type-signature"></span></span>util<span class="signature">()</span><span class="type-signature"></span></h2>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div class="container-overview">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="name" id="util"><span class="type-signature"></span>new util<span class="signature">()</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="description">
|
||||
General Purpose Pure Static Utility Functions
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="netgis.html">netgis</a></li></ul><h3>Classes</h3><ul><li><a href="netgis.Attribution.html">Attribution</a></li><li><a href="netgis.Client.html">Client</a></li><li><a href="netgis.Controls.html">Controls</a></li><li><a href="netgis.Export.html">Export</a></li><li><a href="netgis.Geolocation.html">Geolocation</a></li><li><a href="netgis.Import.html">Import</a></li><li><a href="netgis.Info.html">Info</a></li><li><a href="netgis.LayerTree.html">LayerTree</a></li><li><a href="netgis.Legend.html">Legend</a></li><li><a href="netgis.Map.html">Map</a></li><li><a href="netgis.Menu.html">Menu</a></li><li><a href="netgis.OWS.html">OWS</a></li><li><a href="netgis.SearchParcel.html">SearchParcel</a></li><li><a href="netgis.SearchPlace.html">SearchPlace</a></li><li><a href="netgis.TimeSlider.html">TimeSlider</a></li><li><a href="netgis.Toolbox.html">Toolbox</a></li><li><a href="netgis.WMC.html">WMC</a></li><li><a href="util.html">util</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Commands">Commands</a></li><li><a href="global.html#LayerID">LayerID</a></li><li><a href="global.html#LayerTypes">LayerTypes</a></li><li><a href="global.html#Modules">Modules</a></li></ul>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Tue Apr 29 2025 13:39:35 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user