diff options
Diffstat (limited to 'android/cpp/NativeMapView.hpp')
-rw-r--r-- | android/cpp/NativeMapView.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/android/cpp/NativeMapView.hpp b/android/cpp/NativeMapView.hpp index 046cd7c8fe..a3081e2ed6 100644 --- a/android/cpp/NativeMapView.hpp +++ b/android/cpp/NativeMapView.hpp @@ -41,7 +41,7 @@ class NativeMapView { friend class MBGLView; public: - NativeMapView(JNIEnv* env, jobject obj, std::string default_style_json); + NativeMapView(JNIEnv* env, jobject obj, std::string style_url, std::string api_key); ~NativeMapView(); mbgl::Map* getMap() const { @@ -82,7 +82,8 @@ private: EGLConfig config = nullptr; EGLint format = -1; - std::string default_style_json; + std::string style_url; + std::string api_key; }; class MBGLView: public mbgl::View { |