(function($, module){

//-------------
// MAPSTRACTION
//-------------

	$.Mapstraction.prototype.base = function(element,api,debug) {
		this.addAPI(element,api);
	}
	
	$.Mapstraction.prototype.addAPI = function(element, api) {
		if ($.require(api + '.' + module, this, arguments)) return;
		$.invoke(api + '.' + module, 'addAPI')(element, api);
	}

//------------
// LATLONPOINT
//------------

	$.LatLonPoint.prototype.base = function(lat, lon) {
		
		alert('LatLonPoint');
	}

//-------
// MARKER
//-------

	$.Marker.prototype.base = function(point) {
		
		alert('Marker');
	}
	
//---------
// POLYLINE
//---------

	$.Polyline.prototype.base = function(points) {
		
		alert('Polyline');
	}
	
//------------
// BOUNDINGBOX
//------------

	$.BoundingBox.prototype.base = function(swlat, swlon, nelat, nelon) {
		
		alert('BoundingBox');
	}
	
	$.registerModule(module);

})(mxn, 'core');