Search in sources :

Example 11 with TileBaseMap

use of org.activityinfo.shared.map.TileBaseMap in project activityinfo by bedatadriven.

the class PPTMapRendererTest method setUpDirs.

@Before
public void setUpDirs() {
    new File("target/report-tests").mkdirs();
    referenceBaseMap = new TileBaseMap();
    referenceBaseMap.setTileUrlPattern("http://mt{s}.aimaps.net/admin/v1/z{z}/{x}x{y}.png");
    referenceBaseMap.setName("Administrative Map");
}
Also used : TileBaseMap(org.activityinfo.shared.map.TileBaseMap) File(java.io.File) Before(org.junit.Before)

Aggregations

TileBaseMap (org.activityinfo.shared.map.TileBaseMap)11 MapContent (org.activityinfo.shared.report.content.MapContent)5 MapReportElement (org.activityinfo.shared.report.model.MapReportElement)5 Test (org.junit.Test)5 BaseMapResult (org.activityinfo.shared.command.result.BaseMapResult)4 BubbleMapMarker (org.activityinfo.shared.report.content.BubbleMapMarker)4 IconMapMarker (org.activityinfo.shared.report.content.IconMapMarker)4 MapMarker (org.activityinfo.shared.report.content.MapMarker)4 ReportContent (org.activityinfo.shared.report.content.ReportContent)4 Report (org.activityinfo.shared.report.model.Report)4 Extents (org.activityinfo.shared.util.mapping.Extents)4 GetBaseMaps (org.activityinfo.shared.command.GetBaseMaps)3 BaseMap (org.activityinfo.shared.map.BaseMap)2 GoogleBaseMap (org.activityinfo.shared.map.GoogleBaseMap)2 BubbleMapLayer (org.activityinfo.shared.report.model.layers.BubbleMapLayer)2 IconMapLayer (org.activityinfo.shared.report.model.layers.IconMapLayer)2 File (java.io.File)1 IOException (java.io.IOException)1 DispatcherSync (org.activityinfo.server.command.DispatcherSync)1 DummyPivotTableData (org.activityinfo.server.report.DummyPivotTableData)1