Sha256: 208183860c1c23e27fa9be9f44a08c2f677a6de1974f6ae44db20adb8ced70bd
Contents?: true
Size: 727 Bytes
Versions: 125
Compression:
Stored size: 727 Bytes
Contents
package sh.calaba.instrumentationbackend.actions.map; import java.util.List; import sh.calaba.instrumentationbackend.InstrumentationBackend; import sh.calaba.instrumentationbackend.Result; import sh.calaba.instrumentationbackend.actions.Action; /** * A succesful response includes bonusInformation: [top, right, bottom, left] in decimal degrees * @author Nicholas Albion */ public class GetMapBounds implements Action { @Override public Result execute(String... args) { List<String> bounds = InstrumentationBackend.solo.getMapBounds(); Result result = new Result(true); result.setExtras( bounds ); return result; } @Override public String key() { return "get_map_bounds"; } }
Version data entries
125 entries across 125 versions & 2 rubygems