Netgis client update
* adds new version to sources
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
|
||||
var netgis = netgis || {};
|
||||
|
||||
//TODO: this common Map class is probably deprecated, no need for inheritance ?
|
||||
|
||||
netgis.Map = function()
|
||||
{
|
||||
this.client = null;
|
||||
this.root = null;
|
||||
this.attribution = null;
|
||||
};
|
||||
|
||||
netgis.Map.prototype.load = function()
|
||||
{
|
||||
this.root = document.createElement( "section" );
|
||||
this.root.className = "netgis-map";
|
||||
|
||||
this.client.root.appendChild( this.root );
|
||||
};
|
||||
Reference in New Issue
Block a user