Searched refs:latLng (Results 1 – 5 of 5) sorted by relevance
110 for (LatLng latLng : ((Polygon) geometry).getVertices()) { in encodeGeometryToString()112 sb.append(latLng.lat); in encodeGeometryToString()114 sb.append(latLng.lng); in encodeGeometryToString()145 String[] latLng = str.split("\\s*,\\s*"); in parseLatLngFromString() local146 return new LatLng(Double.parseDouble(latLng[0]), Double.parseDouble(latLng[1])); in parseLatLngFromString()
71 LatLng latLng = new LatLng(location.getLatitude(), location.getLongitude()); in onMapReady() local72 googleMap.addMarker(new MarkerOptions().position(latLng).flat(true).draggable(false)); in onMapReady()74 googleMap.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, 15f)); in onMapReady()
71 LatLng latLng = LatLng.newBuilder().build(); in testSerializeAndDeserializeProto() local85 assertNotNull(latLng); in testSerializeAndDeserializeProto()99 assertNotNull(LatLng.parseFrom(latLng.toByteArray())); in testSerializeAndDeserializeProto()
103 final double[] latLng = new double[2]; in run() local112 item.getLatLong(latLng); in run()113 s.lat = latLng[0]; in run()114 s.lng = latLng[1]; in run()
168 LatLng latLng = new LatLng(location.getLatitude(), location.getLongitude()); in updateMap() local170 savedGoogleMap.addMarker(new MarkerOptions().position(latLng).flat(true).draggable(false)); in updateMap()171 savedGoogleMap.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, MAP_ZOOM_LEVEL)); in updateMap()