Ongoing development.

This commit is contained in:
David Molineus
2014-12-29 12:17:40 +01:00
parent d289b67196
commit 633be6a2bc
32 changed files with 2057 additions and 23 deletions

7
module/assets/.htaccess Normal file
View File

@@ -0,0 +1,7 @@
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,23 @@
L.Contao = L.Class.extend( {
includes: L.Mixin.Events,
maps: {},
addMap: function (id, map) {
this.maps[id] = map;
this.fire('mapadded', { id: id, map: map});
return this;
},
getMap: function (id) {
if (typeof (this.map[id]) === 'undefined') {
return null;
}
return this.map[id]
}
});
window.ContaoLeaflet = new L.Contao();