From 927e982359ee6e76dfc69bf2543ac028cae5ed41 Mon Sep 17 00:00:00 2001 From: Leith Bade Date: Tue, 25 Nov 2014 08:06:52 +1100 Subject: [PATCH] Remove stale style api --- .../java/com/mapbox/mapboxgl/lib/MapView.java | 41 +------------------ 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/android/java/lib/src/main/java/com/mapbox/mapboxgl/lib/MapView.java b/android/java/lib/src/main/java/com/mapbox/mapboxgl/lib/MapView.java index be7c1296d..d4baa2dc3 100644 --- a/android/java/lib/src/main/java/com/mapbox/mapboxgl/lib/MapView.java +++ b/android/java/lib/src/main/java/com/mapbox/mapboxgl/lib/MapView.java @@ -330,37 +330,6 @@ public class MapView extends SurfaceView { // Style methods // - public void toggleStyle() { - // TODO - } - - // TODO seems like JSON simple may be better since it implements Map interface - // Other candidates: fastjson, json-smart, fossnova json, - public JSONObject getRawStyle() { - try { - return new JSONObject(mNativeMapView.getStyleJson()); - } catch (JSONException e) { - e.printStackTrace(); - return null; - } - } - - public void setRawStyle(JSONObject style) { - mNativeMapView.setStyleJson(style.toString()); - } - - public void getStyleOrderedLayerNames() { - // TODO - } - - public void setStyleOrderedLayerNames() { - // TODO - } - - public void getAllStyleClasses() { - // TODO - } - public List getAppliedStyleClasses() { return mNativeMapView.getAppliedClasses(); } @@ -373,15 +342,7 @@ public class MapView extends SurfaceView { mNativeMapView.setDefaultTransitionDuration(transitionDuration); mNativeMapView.setAppliedClasses(styleClasses); } - - public void getStyleDescriptionForLayer() { - // TODO - } - - public void setStyleDescription() { - // TODO - } - + // // Lifecycle events //