Hi
i am trying to add a layer to my map, i tried the simple map exemple and
it works fine it dispalays the world map. when i wanted to add a layer
(roads of a city) it just appears as a very small point within the map..
can you help me so that it covers the whole area of the map.. i joined my
code to this message..
thanks a lot
houda
MapBean mapBean1 = new MapBean();
ShapeLayer layer = new ShapeLayer();
.................
Properties layerprops = new Properties();
layerprops.put("pretyname","political solid");
layerprops.put("lineColor","000000");
layerprops.put("fillColor","BDDE83");
layerprops.put("shapeFile","New Folder/Project_lastversio/roads.shp");
layerprops.put("spatialIndex","New
Folder/Project_lastversio/roads.ssx");
layer.setProperties(layerprops);
...............
mapBean1.add(layer);
-- [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 Wed Feb 5 17:51:47 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT