Feature parameters, fix #403

This commit is contained in:
Emux
2017-09-16 16:21:00 +03:00
parent 4903a4b5f4
commit 607cdeb5db
20 changed files with 89 additions and 49 deletions

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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());

View File

@@ -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) {