This is probably a simple one but I just can't find the answer.
I want to add a pushin to the map and have no infobox. At the moment when the pushpin is added it get a infobox containing "untitled item".
This is code I'm using
<script src='http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx v=5'></script>
<script type='text/javascript'>
var map = null;
var pinid = 0;
var icon = 'Uploads/Siteimages/map_point.gif';
function load() {
map = new VEMap('map');
map.LoadMap(new VELatLong(54.804840, -7.769920), 7, 'r', false);
map.HideDashboard();
AddPushpin();
}
function AddPushpin() {
var shape = new VEShape(VEShapeType.Pushpin, map.GetCenter());
shape.SetCustomIcon(icon);
map.AddShape(shape);
pinid++;
}
You can view the map here