I am trying to add a pushpin on my map and it is not being displayed even after reading all the articles on pushpin. I am referencing an exterenal javascript file. Here is the code.
<!--
var map = null;
window.onload = function GetMap() {
map = new VEMap('myMap');
map.LoadMap(new VELatLong(33.61959, -111.897649), 15 ,'R' , false);
}
var pushpin = new VEPushpin('1', //Id - must be unique
new VELatLong(33.61959, -111.897649), //latitude, longitude
null, //icon url
'Scottsdale Jean Company', //Title
'Jean Store' //Notes
);
map.AddPushpin(pushpin);
// -->
Then my html has
<div id='myMap' style="position:relative; right:-60; width:500px; height:400px;"></div>Please help! Thanks!