Samples improvements #32

This commit is contained in:
Emux 2018-01-10 20:53:56 +02:00
parent 969c44717a
commit 80634a4adf
No known key found for this signature in database
GPG Key ID: 89C6921D7AF2BDD0
4 changed files with 24 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/*
* Copyright 2017 Longri
* Copyright 2017 devemux86
* Copyright 2017-2018 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
@ -27,4 +27,11 @@ public class AtlasThemeActivity extends SimpleMapActivity {
super.onCreate(savedInstanceState);
}
@Override
protected void onDestroy() {
super.onDestroy();
Parameters.TEXTURE_ATLAS = false;
}
}

View File

@ -1,5 +1,5 @@
/*
* Copyright 2017 devemux86
* Copyright 2017-2018 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
@ -26,4 +26,11 @@ public class MapsforgePolyLabelActivity extends MapsforgeMapActivity {
super.onCreate(savedInstanceState);
}
@Override
protected void onDestroy() {
super.onDestroy();
Parameters.POLY_LABEL = false;
}
}

View File

@ -27,7 +27,6 @@ public class NewGesturesActivity extends MarkerOverlayActivity {
protected void onDestroy() {
super.onDestroy();
// Revert gestures for other activities
Parameters.MAP_EVENT_LAYER2 = false;
}
}

View File

@ -1,5 +1,5 @@
/*
* Copyright 2017 devemux86
* Copyright 2017-2018 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
@ -26,4 +26,11 @@ public class POTTextureActivity extends SimpleMapActivity {
super.onCreate(savedInstanceState);
}
@Override
protected void onDestroy() {
super.onDestroy();
Parameters.POT_TEXTURES = false;
}
}