Changeset 1425
Legend:
- Unmodified
- Added
- Removed
-
g-map/files/js/gmap/AjaxMap.class.js
r1424 r1425 7 7 */ 8 8 var AjaxMap = Class.create(Map3, { 9 initialize: function($super, url, divID, switchable) {10 $super(divID, switchable);9 initialize: function($super, url, divID, lookupClientLocation) { 10 $super(divID, lookupClientLocation); 11 11 12 12 google.maps.event.addListener(this.gmap, 'bounds_changed', function(map) { -
g-map/optionals/de.gmap.wcf.data.message.bbcode.map/files/js/gmap/BBCodeMap.class.js
r1424 r1425 8 8 if ( typeof BBCodeMap === 'undefined' ) { 9 9 var BBCodeMap = Class.create(Map3, { 10 initialize: function($super, switchable) {10 initialize: function($super, lookupClientLocation) { 11 11 // instance counter 12 12 if ( typeof BBCodeMap.counter === 'undefined' ) { … … 15 15 } 16 16 ++BBCodeMap.counter; 17 18 $super('bbcodemap-' + BBCodeMap.counter, switchable); 17 18 this.divID = 'bbcodemap-' + BBCodeMap.counter; 19 this.lazyInit = function() { 20 $super(this.divID, lookupClientLocation); 21 }; 19 22 20 23 this.events = []; 21 },22 23 registerEvent: function(callback) {24 this.events.push(callback);25 24 }, 26 25 … … 31 30 document.write('<div id="' + this.divID + '"><div id="' + this.divID + 'Canvas" style="height: 330px"></div></div>'); 32 31 }, 33 34 runEvents: function() {35 for(var i=0; i<this.events.length; i++) {36 this.events[i]();37 }38 }39 32 }); 40 33 } -
g-map/optionals/de.gmap.wcf.data.message.bbcode.map/templates/mapBBCode.tpl
r1424 r1425 6 6 //<