Probably the simplest and most basic map demo there is, this initialises the Mapstraction API, loads a map into an HTML <div>, makes it draggable and ... err .. that's it.


JavaScript Demo Source: mxn-basic-map.js

var	mapstraction;

function initialize(api_provider_id) {
	mapstraction = new mxn.Mapstraction('map', api_provider_id);
	mapstraction.setCenterAndZoom(new mxn.LatLonPoint(37.75,-122.44), 8);
}