summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2015-10-21 23:07:43 +1100
committerLeith Bade <leith@mapbox.com>2015-10-22 16:18:13 +1100
commit2daa5f14a8902ef0fe623558097f18644a2a8bf6 (patch)
tree6ba2908b03843219a742e30dc0db1074f876f847 /include
parente5289d685fde4255414e5bf784f8ffb24008f681 (diff)
downloadqtlocation-mapboxgl-2daa5f14a8902ef0fe623558097f18644a2a8bf6.tar.gz
[android] Fix bug in setSprite when calculating pixel data size
Change Marker sprite() to icon() and use Sprite class Load a Maki dog icon in test app Fixes #2506
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/android/jni.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mbgl/android/jni.hpp b/include/mbgl/android/jni.hpp
index 07c44fc7ad..8759e0f03b 100644
--- a/include/mbgl/android/jni.hpp
+++ b/include/mbgl/android/jni.hpp
@@ -50,13 +50,14 @@ extern jfieldID bboxLatSouthId;
extern jfieldID bboxLonEastId;
extern jfieldID bboxLonWestId;
+extern jclass spriteClass;
+extern jfieldID spriteIdId;
+
extern jclass markerClass;
-extern jmethodID markerConstructorId;
extern jfieldID markerPositionId;
-extern jfieldID markerSpriteId;
+extern jfieldID markerIconId;
extern jclass polylineClass;
-extern jmethodID polylineConstructorId;
extern jfieldID polylineAlphaId;
extern jfieldID polylineVisibleId;
extern jfieldID polylineColorId;
@@ -64,7 +65,6 @@ extern jfieldID polylineWidthId;
extern jfieldID polylinePointsId;
extern jclass polygonClass;
-extern jmethodID polygonConstructorId;
extern jfieldID polygonAlphaId;
extern jfieldID polygonVisibleId;
extern jfieldID polygonFillColorId;