Feature parameters, fix #403
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
package org.oscim.test;
|
||||
|
||||
import org.oscim.gdx.GdxMapApp;
|
||||
import org.oscim.theme.ThemeLoader;
|
||||
import org.oscim.utils.Parameters;
|
||||
|
||||
public class AtlasThemeMapTest extends MapTest {
|
||||
|
||||
private AtlasThemeMapTest() {
|
||||
ThemeLoader.USE_ATLAS = true;
|
||||
Parameters.TEXTURE_ATLAS = true;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
package org.oscim.test;
|
||||
|
||||
import org.oscim.gdx.GdxMapApp;
|
||||
import org.oscim.layers.tile.vector.labeling.LabelLayer;
|
||||
import org.oscim.utils.Parameters;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
@@ -24,7 +24,7 @@ public class MapsforgePolyLabelTest extends MapsforgeTest {
|
||||
private MapsforgePolyLabelTest(File mapFile) {
|
||||
super(mapFile);
|
||||
|
||||
LabelLayer.POLY_LABEL = true;
|
||||
Parameters.POLY_LABEL = true;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 devemux86
|
||||
* Copyright 2016-2017 devemux86
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
@@ -15,12 +15,12 @@
|
||||
package org.oscim.test;
|
||||
|
||||
import org.oscim.gdx.GdxMapApp;
|
||||
import org.oscim.map.Map;
|
||||
import org.oscim.utils.Parameters;
|
||||
|
||||
public class NewGesturesTest extends MarkerLayerTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Map.NEW_GESTURES = true;
|
||||
Parameters.MAP_EVENT_LAYER2 = true;
|
||||
|
||||
GdxMapApp.init();
|
||||
GdxMapApp.run(new NewGesturesTest());
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
package org.oscim.test;
|
||||
|
||||
import org.oscim.gdx.GdxMapApp;
|
||||
import org.oscim.theme.ThemeLoader;
|
||||
import org.oscim.utils.Parameters;
|
||||
|
||||
public class POTTextureTest extends MapTest {
|
||||
|
||||
private POTTextureTest() {
|
||||
ThemeLoader.POT_TEXTURES = true;
|
||||
Parameters.POT_TEXTURES = true;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user