       var map = null;
		 var shape = null;
         function GetMap(lat,long,shopTitle,shopAddress)
         {
            map = new VEMap('myMap');
			map.SetDashboardSize(VEDashboardSize.Tiny);
			map.HideScalebar();
			map.LoadMap(new VELatLong(lat,long), 15 ,'r' ,false,VEMapMode.Mode2D,false); 
			var LL = new VELatLong(lat,long);
			AddPushpin(LL,shopTitle,shopAddress);
			//map.PanToLatLong(LL);
         }
      	function AddPushpin(LatLong,shopTitle,shopAddress)      
		{          
			if(shape != null)         
			{            
				map.DeleteShape(shape);
				shape = null;         
			} 
			shape = new VEShape(VEShapeType.Pushpin, LatLong);          
			shape.SetTitle(shopTitle); 
			shape.SetDescription(shopAddress);
			map.AddShape(shape);
		}