IbComposer_drawBullseye(mapId,lat,long,selectmarkers,units,rings,[list-of-sizes],[list-of-colors]);
where:
Alphanumeric
Is the unique identifier of the map control. For example, mapcontrol1.
Integer
Is the latitude coordinate of the point you want to pan to. For example, 40.7663277.
Integer
Is the longitude coordinate of the point you want to pan to. For example, -73.9920777.
Boolean
Is an operator that, when set to true, selects all markers within the Bullseye.
Alphanumeric
The unit of measure for the Bullseye rings For example, mi for miles.
Integer
The number of rings the bullseye uses. For example, 3.
Integer
Is an optional parameter, as a comma (,) separated list of sizes for the bullseye rings. For example, 1, 3, 5.
Alphanumeric
Is an optional parameter, as a comma (,) separated list of colors for the bullseye rings. The colors can be RGB values or hexadecimal values. For example, Blue or #FFFF.
function button1_onclick(event) { var eventObject = event ? event : window.event; var ctrl = eventObject.target ? eventObject.target : eventObject.srcElement; // TODO: Add your event handler code here IbComposer_drawBullseye('mapcontrol1',37.0625,-95.677068,'true','mi',3); }