As a side note, a Link is nothing more than a connection between Locations, and is an extension of the Location Class. They have a graphic representing the link, an optional label, and an extra set of location coordinates.
The layer responds to gestures with pop-up menus. Which menu appears depends if the gesture affects a graphic.
The properties for this layer are:
#################################### # Properties for LocationLayer # Use the DeclutterMatrix to declutter the labels. locationlayer.useDeclutter=false # Which declutter matrix class to use. locationlayer.declutterMatrix=com.bbn.openmap.layer.DeclutterMatrix # Let the DeclutterMatrix have labels that run off the edge of the map. locationlayer.allowPartials=true # The list of location handler prefixes - each prefix should then # be used to further define the location handler properties. locationlayer.locationHandlers=handler1 handler2 # Then come the handler properties... # At the least, each handler should have a .class property handler1.class=<handler classname> # plus any other properties handler1 needs - check the handler1 documentation. ####################################
|
|