Folks:
Is there any way to force the display of the pop up for a pushpin without requiring the user to mouse-over it
I'd like to start the display of a map with a handful of my pushpins already popped-up; is that possible
N.Z. Bear
The Truth Laid Bear
http://truthlaidbear.com

Explicitly show text for pushpin (no mouseover)?
Jehan Badshah
We used AddControl, but that only half of it, you also need to remove them.
Have a look at this (left out the AJAX query to get data):
var map = null;
var pinID = 0;
var LabelID = 0;
function GetMap()
{
map = new VEMap('MapDiv');
map.LoadMap(new VELatLong(0, 0), 1 ,'r' ,false);
map.AttachEvent("onchangeview", DoAjaxQuery);
map.AttachEvent("onstartcontinuouspan", RemoveAllLabels);
DoAjaxQuery();
}
function RemoveAllLabels()
{
for (x=0;x<LabelID;x++)
{
var el = document.getElementById("VELabel" + x);
el.parentNode.removeChild(el);
}
LabelID = 0;
}
function AddLabel(lat,lon,labeltext)
{
var point = map.LatLongToPixel(new VELatLong(lat, lon));
var el = document.createElement("div");
el.setAttribute('id',"VELabel" + LabelID++);
el.style.top = (point.y + 1) + "px";
el.style.left = (point.x + 1) + "px";
el.style.border = "1px solid gray";
el.style.font = "9px arial";
el.style.background = "White";
el.style.padding = "0px 2px 0px 2px";
el.innerHTML = labeltext;
map.AddControl(el);
}
BLiTZWiNG