Hello,
I am looking to use the method getPathOnRoad(LatLonPoint start,
LatLonPoint end) from the VPFRoadLayer. I am however running into
problems setting it up. I am currently getting roadl data from vmap
level 0 into the layer and it draws the roads on the layer. However, the
road container in the RoadFinder helper has an empty list of roads.
Therefore when calling the getPathOnRoad I get a null reference
exception. I am using the following properties:
Property.put(VPFLayer.PrettyNameProperty, "Roads");
Property.put(VPFLayer.coverageTypeProperty, "trans");
Property.put("roadl.lineColor", "FFFF00");
Property.put(VPFRoadLayer.DrawIntersectionsProperty,
Boolean.toString(true));
Property.put(VPFRoadLayer.DrawResultsProperty,
Boolean.toString(true));
I feel that I am not setting the layer up properly or not calling
functions in certain order. If you can add your input, I will appreciate
it.
Thank you.
-- [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 Thu Jul 14 15:36:43 2011
This archive was generated by hypermail 2.1.8 : Thu Jul 14 2011 - 15:36:44 EDT