// Create and display Map object at the address and with zoom level 3 
// Include your application ID.


var latlon1 = new LatLon(45.5057, -73.5763);
var latlon2 = new LatLon(45.5073, -73.5788);

var map = new Map("mapContainer", "mcgillsocs", latlon1, 3); 
// Make the map draggable 
map.addTool( new PanTool(), true );
// Create a POI marker object
marker1 = new CustomPOIMarker( 'McConnell', 'Engineering Building', '3480 University Street', '0xFF0000',     '0xFFFFFF' );  
marker2 = new CustomPOIMarker( 'Trottier', 'Engineering Building', '3630 University Street', '0xFF0000',     '0xFFFFFF' );     
// Add the POI marker to the map and display it          
map.addMarkerByLatLon( marker1, latlon1); 
map.addMarkerByLatLon( marker2, latlon2);
navWidget = new NavigatorWidget(); 
// Add the Navigator Widget to the map and display it
map.addWidget(navWidget);
