2
* Copyright (C) 2008 Steve Ratcliffe
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 3 or
6
* version 2 as published by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
/* Create date: 21-Feb-2009 */
16
import java.util.List;
18
import uk.me.parabola.mkgmap.general.MapDataSource;
19
import uk.me.parabola.mkgmap.general.MapPoint;
20
import uk.me.parabola.mkgmap.general.MapLine;
21
import uk.me.parabola.mkgmap.general.MapShape;
22
import uk.me.parabola.mkgmap.general.RoadNetwork;
23
import uk.me.parabola.imgfmt.app.Area;
24
import uk.me.parabola.imgfmt.app.trergn.Overview;
27
* A map source that allows us to create a map to specification without
30
* @author Steve Ratcliffe
32
public class TestDataSource implements MapDataSource {
33
public Area getBounds() {
37
public List<MapPoint> getPoints() {
41
public List<MapLine> getLines() {
45
public List<MapShape> getShapes() {
49
public RoadNetwork getRoadNetwork() {
53
public List<Overview> getOverviews() {