Google map in Flutter not responding to touch events

I was with the same problem and I found the following solution after a long time of searching, just so it will work: GoogleMap( gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>[ new Factory<OneSequenceGestureRecognizer>(() => new EagerGestureRecognizer(),), ].toSet(),) The reason is that the EagerGestureRecognizer is a gesture recognizer that eagerly claims victory in all gesture arenas. Reference: Manage gestures priority between … Read more

Calculate angle between two Latitude/Longitude points

using this referance to calculate Angle: private double angleFromCoordinate(double lat1, double long1, double lat2, double long2) { double dLon = (long2 – long1); double y = Math.sin(dLon) * Math.cos(lat2); double x = Math.cos(lat1) * Math.sin(lat2) – Math.sin(lat1) * Math.cos(lat2) * Math.cos(dLon); double brng = Math.atan2(y, x); brng = Math.toDegrees(brng); brng = (brng + 360) % … Read more

Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under ‘Copy Bundle Resources

The instructions are kinda lacking. Launch Xcode (easy) Drag the GoogleMaps.framework bundle to the Frameworks group of your project. When prompted, select Copy items into destination group’s folder. Right-click GoogleMaps.framework in your project, and select Show In Finder. What it doesn’t say is…Then go into the child folder called Resources Drag the GoogleMaps.bundle from the … Read more