As far as i understood the Openmap architecture, all openmap informations
are known by the proporties file (or properties declaration in a program).
For test purpose i'd like to dynamicly add data (OMGraphics) in a
LocationHandler inside the program and not in properties or class
declaration.
So is it possible to acces to locationlayerhandler instance ?
The way I use LocationHandler in my program (without openmap.properties):
LocationLayer locationLayer1 = new LocationLayer();
LayerHandler layerHandler1 = new LayerHandler();
MapBean mapBean1 = new MapBean();
Properties properties3 = new Properties();
properties3.put("loc.prettyName", "Location");
properties3.put("loc.locationHandlers", "handler1");
properties3.put("handler1.class",
"com.bbn.openmap.layer.location.BasicLocationHandler");
locationLayer1.setProperties("loc", properties3);
layerHandler1.addLayer(locationLayer1);
layerHandler1.addLayerListener(mapBean1);
This code works fine but all data are defined in the BasicLocationHandler. I
can't add OMGraphigs "on the fly"
Thanks for help
F.SITBON
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Mon Sep 24 03:33:08 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT