http://spotcrime.com map loading…
Spotcrime.Ext.onReady(function(){
var widget = new Spotcrime.Widget.CrimeMap({
apiKey:"bd7e04d9dcfe034588254be8660ac46d",
area:"ny\/new-rochelle",
areaConfig:{"city":"New Rochelle","state":"NY","mapCenter":{"point":{"lat":"40.91148820000000","lng":"-73.78235490000000"},"zoom":"13"}}, // map configuration
renderTo: 'spotcrime-crimemap', // widget container
GoogleAPIKey: "ABQIAAAAVHP1PZeinCYJUnfcLaauYhQkxc8LnmEiMM9KgEtCdVbPCo-CPxQza5aQzLwxKK9z4LmLcYu-3LZrTw",
width: 675,
dateRange: 1,
dateRangeType: Date.MONTH,
template: "red",
grid: {
height: 454
}
});
});