6 package com.google.appinventor.components.runtime.util;
8 import android.view.View;
23 import org.osmdroid.util.BoundingBox;
25 class DummyMapController
implements MapController {
27 public View getView() {
28 throw new UnsupportedOperationException();
31 public double getLatitude() {
32 throw new UnsupportedOperationException();
35 public double getLongitude() {
36 throw new UnsupportedOperationException();
39 public void setCenter(
double latitude,
double longitude) {
40 throw new UnsupportedOperationException();
43 public void setZoom(
int zoom) {
44 throw new UnsupportedOperationException();
47 public void setRotation(
float rotation) {
48 throw new UnsupportedOperationException();
51 public float getRotation() {
52 throw new UnsupportedOperationException();
55 public int getZoom() {
56 throw new UnsupportedOperationException();
59 public void setMapType(MapType type) {
60 throw new UnsupportedOperationException();
63 public MapType getMapType() {
64 throw new UnsupportedOperationException();
67 public void setCompassEnabled(
boolean enabled) {
68 throw new UnsupportedOperationException();
71 public boolean isCompassEnabled() {
72 throw new UnsupportedOperationException();
76 public void setZoomEnabled(
boolean enabled) {
77 throw new UnsupportedOperationException();
81 public boolean isZoomEnabled() {
82 throw new UnsupportedOperationException();
85 public void setZoomControlEnabled(
boolean enabled) {
86 throw new UnsupportedOperationException();
89 public boolean isZoomControlEnabled() {
90 throw new UnsupportedOperationException();
93 public void setShowUserEnabled(
boolean enable) {
94 throw new UnsupportedOperationException();
97 public boolean isShowUserEnabled() {
98 throw new UnsupportedOperationException();
101 public void setRotationEnabled(
boolean enable) {
102 throw new UnsupportedOperationException();
105 public boolean isRotationEnabled() {
106 throw new UnsupportedOperationException();
109 public void setPanEnabled(
boolean enable) {
110 throw new UnsupportedOperationException();
113 public boolean isPanEnabled() {
114 throw new UnsupportedOperationException();
117 public void panTo(
double latitude,
double longitude,
int zoom,
double seconds) {
118 throw new UnsupportedOperationException();
122 public void addEventListener(MapEventListener listener) {
123 throw new UnsupportedOperationException();
127 public void addFeature(MapMarker marker) {
128 throw new UnsupportedOperationException();
132 public void updateFeaturePosition(MapMarker marker) {
133 throw new UnsupportedOperationException();
137 public void updateFeatureFill(HasFill marker) {
138 throw new UnsupportedOperationException();
142 public void updateFeatureImage(MapMarker marker) {
143 throw new UnsupportedOperationException();
147 public void updateFeatureText(MapFeature marker) {
148 throw new UnsupportedOperationException();
152 public void updateFeatureDraggable(MapFeature marker) {
153 throw new UnsupportedOperationException();
157 public BoundingBox getBoundingBox() {
158 throw new UnsupportedOperationException();
162 public void setBoundingBox(BoundingBox bbox) {
163 throw new UnsupportedOperationException();
167 public void addFeature(MapLineString polyline) {
168 throw new UnsupportedOperationException();
172 public void addFeature(MapPolygon polygon) {
173 throw new UnsupportedOperationException();
177 public void addFeature(MapCircle circle) {
178 throw new UnsupportedOperationException();
182 public void addFeature(MapRectangle circle) {
183 throw new UnsupportedOperationException();
187 public void removeFeature(MapFeature feature) {
188 throw new UnsupportedOperationException();
192 public void showFeature(MapFeature feature) {
193 throw new UnsupportedOperationException();
197 public void hideFeature(MapFeature feature) {
198 throw new UnsupportedOperationException();
202 public boolean isFeatureVisible(MapFeature feature) {
203 throw new UnsupportedOperationException();
207 public boolean isFeatureCollectionVisible(MapFeatureCollection collection) {
208 throw new UnsupportedOperationException();
212 public void setFeatureCollectionVisible(MapFeatureCollection collection,
boolean visible) {
213 throw new UnsupportedOperationException();
217 public void showInfobox(MapFeature feature) {
218 throw new UnsupportedOperationException();
222 public void hideInfobox(MapFeature feature) {
223 throw new UnsupportedOperationException();
227 public boolean isInfoboxVisible(MapFeature feature) {
228 throw new UnsupportedOperationException();
232 public void updateFeaturePosition(MapLineString polyline) {
233 throw new UnsupportedOperationException();
237 public void updateFeaturePosition(MapPolygon polygon) {
238 throw new UnsupportedOperationException();
242 public void updateFeatureHoles(MapPolygon polygon) {
243 throw new UnsupportedOperationException();
247 public void updateFeaturePosition(MapCircle circle) {
248 throw new UnsupportedOperationException();
252 public void updateFeaturePosition(MapRectangle rectangle) {
253 throw new UnsupportedOperationException();
257 public void updateFeatureStroke(HasStroke marker) {
258 throw new UnsupportedOperationException();
262 public void updateFeatureSize(MapMarker marker) {
263 throw new UnsupportedOperationException();
267 public LocationSensor.LocationSensorListener getLocationListener() {
268 throw new UnsupportedOperationException();
272 public int getOverlayCount() {
273 throw new UnsupportedOperationException();
277 public void setScaleVisible(
boolean show) {
278 throw new UnsupportedOperationException();
282 public boolean isScaleVisible() {
283 throw new UnsupportedOperationException();
287 public void setScaleUnits(MapScaleUnits units) {
288 throw new UnsupportedOperationException();
292 public MapScaleUnits getScaleUnits() {
293 throw new UnsupportedOperationException();