|  |  |  | 
|---|
|  |  |  | this.map = data; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public NavigateSolution(Integer mapType, Integer lev, List<int[]> whitePoints) { | 
|---|
|  |  |  | public NavigateSolution(Integer mapType, Integer lev, List<int[]> whitePoints, List<int[]> shuttlePoints) { | 
|---|
|  |  |  | //载入地图指定层高地图 | 
|---|
|  |  |  | NavigateMapData mapData = new NavigateMapData(lev); | 
|---|
|  |  |  | int[][] data = mapData.getDataFromRedis(mapType, whitePoints); | 
|---|
|  |  |  | int[][] data = mapData.getDataFromRedis(mapType, whitePoints, shuttlePoints); | 
|---|
|  |  |  | if (data == null) { | 
|---|
|  |  |  | data = mapData.getData(mapType, whitePoints); | 
|---|
|  |  |  | data = mapData.getData(mapType, whitePoints, shuttlePoints); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.map = data; | 
|---|
|  |  |  | } | 
|---|