﻿/// <reference path="../VEJS/VeJavaScriptIntellisenseHelper.js" />
var theMainContainer ;//= "ctl00_ContentPlaceHolderMap";
var map  ;//= new VEMap("myMap");
var lat;
var lon;
var description;
var title;
var date;
 
function pageLoad()
{
    theMainContainer = "ctl00_ContentPlaceHolderMap";
    
    if(map == null)
    {
        map = new VEMap("myMap");
        var ve_LatLong = new VELatLong( lat, lon, 15, VEAltitudeMode.RelativeToGround);
        map.SetDashboardSize(VEDashboardSize.Small);

        map.LoadMap( ve_LatLong,15);
        
        tempPushPin = new VEShape(VEShapeType.Pushpin,ve_LatLong);
        tempPushPin.SetDescription(title + "<br/>" + description + "<br/><br/>" + date);
        
        map.AddShape(tempPushPin);

    }
}

