ii_maps_callbacks

This library contains a few functions which are useful in callbacks in mapping applications.

maps_click_stamp(apple, spot, x, y)

Selects an area on the screen as if the user had dragged rather than clicked. The width and height are 1/10th of the current map's width.

maps_click_stamp2(applet, spot, x, y)

Selects an area representing a map of the next level of mapping. That is an area which can be zoomed to.

(, , , )

maps_click_unstamp(map, spot, x, y)

Removes the currently selected are and restores the previous one. Useful in double click callbacks.

maps_click_scroll(map, spot, x, y, step)

Scroll in the relevant direction if the click was in a hotspot called north, south, east or west.