summaryrefslogtreecommitdiff
path: root/platform/android/src/style/conversion/latlngquad.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/style/conversion/latlngquad.hpp')
-rw-r--r--platform/android/src/style/conversion/latlngquad.hpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/platform/android/src/style/conversion/latlngquad.hpp b/platform/android/src/style/conversion/latlngquad.hpp
deleted file mode 100644
index 9588336855..0000000000
--- a/platform/android/src/style/conversion/latlngquad.hpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-
-#include <mapbox/geojson.hpp>
-#include <mbgl/style/conversion/geojson.hpp>
-#include <mbgl/style/conversion_impl.hpp>
-#include <jni/jni.hpp>
-
-namespace mbgl {
-namespace style {
-namespace conversion {
-
-template <>
-optional<std::array<LatLng, 4>> Converter<std::array<LatLng, 4>>::operator()(const mbgl::android::Value& value, Error& error) const {
- if (value.isNull() || !value.isArray()) {
- error = { "value cannot be converted to LatLng array" };
- return {};
- }
-
- return convert<GeoJSON>(value.toString(), error);
-}
-
-} // namespace conversion
-} // namespace style
-} // namespace mbgl