All pastes #610372 Raw Edit

john

public javascript v1 · immutable
·published 2007-07-09 12:59 UTC
rendered paste body
jQuery.fn.gmapp = function(settings){	settings = jQuery.extend({		maptype: G_HYBRID_TYPE,		center: [55.590763,-1.845703],		zoom: 13	},settings);		if (GBrowserIsCompatible())	{return this.each(function(){		var map = new GMap2 (this);		map.setCenter(new GLatLng(settings.center[0],settings.center[1]),settings.zoom,settings.maptype);});	}	}