Administrative client for Open eMap
Based on Ext JS 4
Ext JS application name is AdmClient
<script type="text/javascript">
// Following global variable must be declared
// context path to OpenEMap-Admin-Services
var appPath = '/openemapadmin';
// Settings for servers
var defaultWMSServer = 'https://extmaptest.sundsvall.se/geoserver/wms?request=GetCapabilities&version=1.1.0';
var wfsServer = 'https://extmaptest.sundsvall.se/geoserver/wfs';
var wmsServer = 'https://extmaptest.sundsvall.se/geoserver/wms';
var proxyUrl = '/cgi-bin/proxy.py?url=';
var wmsGetCapabilities = proxyUrl + defaultWMSServer;
<script type="text/javascript" src="https://github.com/Sundsvallskommun/OpenEMap-Admin-WebUserInterface/raw/master/OpenEMapAdmin.js"></script>
Requirements:
npm install grunt --save-dev
)npm -g install grunt-cli
)npm -g install bower
)npm install
in its root. After that you can start devserver on http://localhost:8000 by running grunt devserver
. A development example should be runnable at http://localhost:8000/debug.html. Changes to any source file will in the debug version automatically reload the page.Done by running grunt dist
in a working development clone. Requires Sencha Cmd installed and available on the path.
Source code should be documented using JSDucks semantics Readme.md should be updated if necessary Map config is documented in doc/config.md, and should be updated if cahnges is made in map config Each release is documented under Releases/Release number (see versioning below)
Versioning should follow Semantic versioning 2.00 This semantic starts at version 1.1.0-rc.1 (MAJOR.MINOR.PATCH-PRERELEASE) Versioning uses the GitFlow model. Release branches are created as soon as a feature freeze is decided, and should be created for each new version with status of MAJOR, MINOR or PATCH. Pre releases are made within their respective release branch.
Open eMap Web User Interface is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.