summaryrefslogtreecommitdiff
path: root/platform/android/src/gson/json_object.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/gson/json_object.hpp')
-rw-r--r--platform/android/src/gson/json_object.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/platform/android/src/gson/json_object.hpp b/platform/android/src/gson/json_object.hpp
index 85e8828d91..256161f0d9 100644
--- a/platform/android/src/gson/json_object.hpp
+++ b/platform/android/src/gson/json_object.hpp
@@ -2,8 +2,6 @@
#include "json_element.hpp"
-#include <mapbox/geometry.hpp>
-
#include <jni/jni.hpp>
namespace mbgl {
@@ -14,8 +12,8 @@ class JsonObject : public JsonElement {
public:
static constexpr auto Name() { return "com/google/gson/JsonObject"; };
- static jni::Object<JsonObject> New(jni::JNIEnv&, const std::unordered_map<std::string, mapbox::geometry::value>&);
- static mapbox::geometry::property_map convert(JNIEnv&, jni::Object<JsonObject>);
+ static jni::Object<JsonObject> New(jni::JNIEnv&, const mbgl::PropertyMap&);
+ static mbgl::PropertyMap convert(JNIEnv&, jni::Object<JsonObject>);
static void registerNative(jni::JNIEnv&);
};