![]() | The Information Overlaid Toolkit: ; Referance Manual Edition 2.4, for Information Overlaid Version 2.4; 27th April 2004 | ![]() | ||
|---|---|---|---|---|
| Prev | Chapter 7. Markers | Next | ||
Creates a marker. The name and klass (class, but that has a special meaning to JavaScript) parameters uniquely identify the marker. Cx and cy are the position of the marker in world coordinates. Type gives the type of marker, i.e how it is drawn on the screen, for drawn markers (as opposed to image markers), size and width control the size and line thickness of the marker.
Returns the marker identified by klass and name.
Combines the markers_add and markers_display functions into one call.
Makes the marker mk visible.
Makes all markers in class klass visible.
Makes all markers (other than static ones defined in the HTML) invisible.
make all markers in class klass invisible.
Make the marker mk invisible.
The opposite of markers_add, removes the marker mk from the application.
Returns the marker closest to point (x, y), the remaining parameters are optional and restrict which markers will be considered. If close is not null it is the maximum distance the marker can be from that point. If minpriority is not null it is the minimum priority for eligible markers. If klass is not null, only markers of that class are eligible.
If mk is not null, that marker is highlighted by flashing it. If it is null, no marker is highlighted.
Move marker mk to (cx, cy).
Ensures that the position available in (mk.cx, mk.cy) is up to date.
Make marker mk, which should be an image marker, display the nth image from the applet's table of marker images.
The text label is displayed alongside the marker. Align should be -1 for left aligned 0 for centred or 1 for right aligned. Font, if not null, is the name of a font to use.
The text text is displayed in a popup window when the mouse is inside the hotspot.
The text text is displayed in the browser's status line when the mouse is inside the hotspot.
Repaint the paintable marker mk according to the table paintings.
Return true if and only if the marker mk is inside the area represented by the applet window.
For mapping applications. Zoom to a map which contains marker mk and at least (hspace by vspace) space around it.
For mapping applications. Zoom to map containing the two markers and the given space around them.