1 $(document).ready(function() {
2 var mapstraction = new mxn.Mapstraction("map_canvas", _provider);
9 for (var i in _notices)
13 var lat = n['geo']['coordinates'][0];
14 var lon = n['geo']['coordinates'][1];
33 var myPoint = new mxn.LatLonPoint(minLat + Math.abs(maxLat - minLat)/2,
34 minLon + Math.abs(maxLon - minLon)/2);
36 // display the map centered on a latitude and longitude (Google zoom levels)
38 mapstraction.setCenterAndZoom(myPoint, 9);