A draggable, zoomable map with the ability to select three different types of view; map view, satellite view and terrain view.
JavaScript Demo Source: mxn-controls.js
var mapstraction; function initialize(api_provider_id) { var llp = new mxn.LatLonPoint(37.404196,-122.008194); mapstraction = new mxn.Mapstraction('map', api_provider_id); mapstraction.setCenterAndZoom(llp, 9); /* args = { * pan: true, * zoom: 'large' || 'small', * overview: true, * scale: true, * map_type: true, * } */ mapstraction.addControls({ pan: true, zoom: 'small', map_type: true }); }