

// Called by the widget when we're fully initialised.
//
function plingsWidgetInitialised() {
	//alert('initialised');
}


// Called by the widget when the location changes
//
function plingsLocationChange(centre, bounds) {
	//var txt = "moved to "+centre.lat +", "+centre.lng;
	//alert(txt);
}


// Change the map centre and zoom level
//  - center is an object with a lat and lng
//  - zoom is a number, min zoom level 6, max 17, zero for no change
//
function plingsWidgetMoveMap(center, zoomLevel) {
	var w = swfobject.getObjectById("plingsWidget");
	w.moveMap(center, zoomLevel);
}

