var debug=false;
debug=true;
+ // this now should be obsolete, rather use plugin_debug in plugin.js
// more on a on-per-record basis
var debug_deep=false;
// debug_deep=true;
var GoogleMap = Plugin.extend({
init: function(options, element) {
+ this.classname="googlemap";
this._super(options, element);
/* Member variables */
/* PLUGIN EVENTS */
on_show: function(e) {
- if (debug) messages.debug("googlemap.on_show");
+ if (debug) messages.debug("googlemap.on_show");
var googlemap = e.data;
google.maps.event.trigger(googlemap.map, 'resize');
},
//create empty LatLngBounds object in order to automatically center the map on the displayed objects
this.bounds = new google.maps.LatLngBounds();
var center = new google.maps.LatLng(this.options.latitude, this.options.longitude);
+
+ console.log("GoogleMap zoom = "+this.options.zoom);
var myOptions = {
zoom: this.options.zoom,
center: center,