﻿function pageLoad(){
    //setup the map
    map = new VEMap('dtsmap');
    map.SetDashboardSize(VEDashboardSize.Tiny);
    map.LoadMap();
    map.SetCenterAndZoom(new VELatLong(40.5931, -105.0794920), 15);
    //
    layer = new VEShapeLayer();
    map.AddShapeLayer(layer);
    shape = new VEShape(VEShapeType.Pushpin, map.GetCenter());
     shape.SetTitle('DTS Agile');
     shape.SetDescription('Training center and Code Dojo.');
     //shape.SetCustomIcon(icon);
     layer.AddShape(shape);
     
}
//Add point @ 40.59248036199406, -105.07839202880861 
//Set map to 
//zoom level 16
