Widget:Map

 /*<![CDATA[*/ $(function { function htmlEscape(s) {    s = s.replace('&', '&amp;')    return s.replace('<', '&lt;').replace('>', '&gt;');  }

function showMap { if (typeof MQA === 'undefined') { setTimeout(showMap, 500); return; }   var id = 'WEmap_'; var lat = ; var long = ; var zoom = ; var type = "map"; window[id] = new MQA.TileMap(     document.getElementById(id), zoom,      {lat: lat, lng: long},      type); if { MQA.withModule('largezoom', function {       window[id].addControl( new MQA.LargeZoom, new MQA.MapCornerPlacement(MQA.MapCorner.TOP_LEFT, new MQA.Size(5, 5)) );     });    }    var flags = ''.split(','); for (var i=0; i*/  A tiled map built from Open Street Map data and courtesy of the MapQuest tile servers.

Parameters

 * width
 * map width in pixels (default: 480)


 * height
 * map height in pixels (default: 320)


 * lat
 * map center in degrees north


 * long
 * map center in degrees east


 * zoom
 * initial zoom value


 * type
 * map type (currently ignored and always set to map)


 * zoomcontrol
 * set to 0 for no zoom control, (default: 1)


 * flags
 * comma separated list of lat, long, info triplets (example: flags=41.1,-169.33,I am here,41.2,-169.40,I was there)

Implementation Note
The map is inserted into a named  on the page, allowing adding style elements around it.