Package aimax.osm.data

Examples of aimax.osm.data.MapWayFilter


   */
  public List<Position> calculateRoute(List<MapNode> locs, OsmMap mapData,
      int waySelection) {
    List<Position> result = new ArrayList<Position>();
    try {
      MapWayFilter wayFilter = createMapWayFilter(mapData, waySelection);
      boolean ignoreOneways = (waySelection == 0);
      MapNode fromRNode = mapData.getNearestWayNode(new Position(locs
          .get(0)), wayFilter);
      result.add(new Position(fromRNode.getLat(), fromRNode.getLon()));
      for (int i = 1; i < locs.size()
View Full Code Here

TOP

Related Classes of aimax.osm.data.MapWayFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.