diff --git a/app2ipa.sh b/app2ipa.sh new file mode 100755 index 0000000..314598d --- /dev/null +++ b/app2ipa.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +# Check if an argument is provided +if [ -z "$1" ]; then + echo "Usage: $0 " + exit 1 +fi + +APP_PATH="$1" +APP_NAME=$(basename "$APP_PATH" .app) # Extract app name without .app extension + +# 1. Create a Payload directory +PAYLOAD_DIR="Payload" +mkdir -p "$PAYLOAD_DIR" + +# 2. Move the .app bundle inside the Payload directory +cp -r "$APP_PATH" "$PAYLOAD_DIR/" + +# 3. Create the .ipa by zipping the Payload directory and renaming +zip -r "$APP_NAME.zip" "$PAYLOAD_DIR" +mv "$APP_NAME.zip" "$APP_NAME.ipa" + +# 4. Clean up the temporary Payload directory +rm -rf "$PAYLOAD_DIR" + +echo "Successfully converted $APP_PATH to $APP_NAME.ipa" + diff --git a/lib/services/overpass_service.dart b/lib/services/overpass_service.dart index 9f8a0e6..fa5dd86 100644 --- a/lib/services/overpass_service.dart +++ b/lib/services/overpass_service.dart @@ -31,7 +31,7 @@ class OverpassService { (${bbox.southWest.latitude},${bbox.southWest.longitude}, ${bbox.northEast.latitude},${bbox.northEast.longitude}); ); - out body 100; + out body 250; '''; try { diff --git a/lib/widgets/map_view.dart b/lib/widgets/map_view.dart index e96a100..17a8d11 100644 --- a/lib/widgets/map_view.dart +++ b/lib/widgets/map_view.dart @@ -198,7 +198,7 @@ class _MapViewState extends State { Polygon _buildCone(LatLng origin, double bearingDeg, double zoom) { const halfAngle = 15.0; - final length = 0.002 * math.pow(2, 15 - zoom); + final length = 0.0012 * math.pow(2, 15 - zoom); LatLng _project(double deg) { final rad = deg * math.pi / 180;