         var map = null;

         var SpaceNeedle = new VELatLong(44.387596,26.11355);
         var pinLocation = new VELatLong(44.387496,26.11355);

         function GetMap()
         {
            map = new VEMap('myMap');

            map.LoadMap(SpaceNeedle, 15, VEMapStyle.Road, false, VEMapMode.Mode2D, true, 0);

            // Let me know if a birdseye scene is available
            //map.AttachEvent("onobliqueenter", OnObliqueEnterHandler);
            
             //shape
        var points = new Array(
         new VELatLong(44.387653,26.113391, 0, VEAltitudeMode. RelativeToGround),
         new VELatLong(44.387659,26.11362, 0, VEAltitudeMode. RelativeToGround),
         new VELatLong(44.387453,26.113629, 0, VEAltitudeMode. RelativeToGround),
         new VELatLong(44.387453,26.113412, 0, VEAltitudeMode. RelativeToGround)
        );
        var sediu = new VEShape(VEShapeType.Polygon, points); //Pushpin
       
        sediu.SetTitle("4LifeTime/HiPower");
        sediu.SetDescription("Sediul 4LifeTime. Str. Iarba Campului Nr.47 (colt cu Str. Picturii).");
        sediu.SetCustomIcon('/harti/4LT_88x31.gif');
        sediu.SetAltitude(5, VEAltitudeMode.RelativeToGround);
        //.SetPhotoURL('');
        map.AddShape(sediu);
        
        //big
        points = new Array(
         new VELatLong(44.393893,26.120797, 0, VEAltitudeMode. RelativeToGround)
        );
        var big = new VEShape(VEShapeType.Pushpin, points);
        big.SetTitle('Piata Sudului');
        big.SetDescription('Big Berceni - Piata Sudului');
        big.SetCustomIcon('/harti/big.png');
        big.SetAltitude(15, VEAltitudeMode.RelativeToGround);
        map.AddShape(big);
        //budimex
        points = new Array(
         new VELatLong(44.38971,26.109239, 0, VEAltitudeMode. RelativeToGround)
        );
        var bud = new VEShape(VEShapeType.Pushpin, points);
        bud.SetTitle('Spitalul Budimex');
        bud.SetDescription('Spitalul de copii Marie Curie "Budimex"');
        bud.SetCustomIcon('/harti/budimex.png');
        bud.SetAltitude(15, VEAltitudeMode.RelativeToGround);
        map.AddShape(bud);
        //orasel
        points = new Array(
         new VELatLong(44.399347,26.10881, 0, VEAltitudeMode. RelativeToGround)
        );
        var ora = new VEShape(VEShapeType.Pushpin, points);
        ora.SetTitle('Tineretului - Oraselul copiilor');
        ora.SetDescription('Parcul tineretului - Statia de metrou <br /> Constantin Brancoveanu "Oraselul copiilor".');
        ora.SetCustomIcon('/harti/orasel.png');
        ora.SetAltitude(15, VEAltitudeMode.RelativeToGround);
        map.AddShape(ora);
        
        //RATB nitu vasile
        points = new Array(
         new VELatLong(44.389083,26.117149, 0, VEAltitudeMode. RelativeToGround)
        );
        var ora = new VEShape(VEShapeType.Pushpin, points);
        ora.SetTitle('RATB - Nitu Vasile');
        ora.SetDescription('76,77,381');
        ora.SetCustomIcon('/harti/ratb.png');
        ora.SetAltitude(15, VEAltitudeMode.RelativeToGround);
        map.AddShape(ora);
        
    //RATB obregia
        points = new Array(
         new VELatLong(44.388054,26.117329, 0, VEAltitudeMode. RelativeToGround)
        );
        var ora = new VEShape(VEShapeType.Pushpin, points);
        ora.SetTitle('RATB - Alexandru Obregia');
        ora.SetDescription('73,241,242,313');
        ora.SetCustomIcon('/harti/ratb.png');
        ora.SetAltitude(15, VEAltitudeMode.RelativeToGround);
        map.AddShape(ora);
    //RATB brancoveanu 
        points = new Array(
         new VELatLong(44.387128,26.109988, 0, VEAltitudeMode. RelativeToGround)
        );
        var ora = new VEShape(VEShapeType.Pushpin, points);
        ora.SetTitle('RATB - Brancoveanu');
        ora.SetDescription('RATB 141, 116');
        ora.SetCustomIcon('/harti/ratb.png');
        ora.SetAltitude(15, VEAltitudeMode.RelativeToGround);
        map.AddShape(ora);
    //Grand arena mall 
        points = new Array(
         new VELatLong(44.376428,26.119512, 0, VEAltitudeMode. RelativeToGround)
        );
        var ora = new VEShape(VEShapeType.Pushpin, points);
        ora.SetTitle('Grand Arena Mall');
        ora.SetDescription('Grand Arena Mall. Selgros. Hornbach');
        ora.SetCustomIcon('/harti/Grand.arena.png');
        ora.SetAltitude(15, VEAltitudeMode.RelativeToGround);
        map.AddShape(ora);
        
         }

         function OnObliqueEnterHandler()
         {
            if(map.IsBirdseyeAvailable())
            {
               var TopOfNeedle = new VELatLong(44.387496,26.11355); 
               map.SetBirdseyeScene(TopOfNeedle);
            }
         }