GitShow/fireship-io/167-flutter-geolocation-firestore
fireship-io

167-flutter-geolocation-firestore

Episode 167 - Realtime Geolocation with Flutter, Google Maps, and Firestore

by fireship-io
Star on GitHubFork

Dart

48 stars35 forks1 contributorQuiet · 7y agoSince 2019

Meet the team

See all 1 on GitHub →
codediodeio
codediodeio2 contributions

Languages

View on GitHub →
Dart83%
Objective-C11.7%
Java5.4%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
25
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 2 discussions · Last activity 7y ago
See all on GitHub →
isofttechn
Error: no name paramenter with name: 'trackCameraPosition: true' in flutterOpenIssue

When run flutter run -v, it works. But on flutter run, it display this error, The following _CompileTimeError was thrown building FireMap(dirty, state: FireMapState#0f0b0): I/flutter (13678): 'package:google_tracker/main.dart': error: lib/main.dart:39:9: Error: No named parameter with the I/flutter (13678): name 'trackCameraPosition'. I/flutter (13678): trackCameraPosition: true, I/flutter (13678): ^^^^^^^^^^^^^^^^^^^ Here is my main.dart: ``` import 'package:google_maps_flutter/google_maps_flutter.dart'; void main() => runApp(MyApp()); GoogleMapController mapController; class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: FireMap(), ), ); } } class FireMap extends StatefulWidget { State createState() => FireMapState(); } class FireMapState extends State { GoogleMapController mapController; build(context) { return Stack(children: [ GoogleMap( initialCameraPosition: CameraPosition( target: LatLng(9.05785, 7.49508), zoom: 15, ), onMapCreated: _onMapCreated, myLocationEnabled: true, mapType: MapType.hybrid, compassEnabled: true, trackCameraPosition: true, ), Positioned( bottom: 50, right: 10, child: FlatButton( child: Icon(Icons.pin_drop, color: Colors.white), color: Colors.green, onPressed: () => _addMarker() ) ) ]); } _onMapCreated(GoogleMapController controller) { setState(() { mapController = controller; }); } } _addMarker() { var marker = MarkerOptions( position: mapController.cameraPosition.target, icon: BitmapDescriptor.defaultMarker, infoWindowText: InfoWindowText('Magic Marker', '🍄🍄🍄') ); mapController.addMarker(marker); } How do i solve this, thanks

isofttechn · 6y ago
ghost
Problem with google map api and location apiOpenIssue

!errors I updated the pubspec.yaml and this appear. If I use an old version of google map the map isn't shown. Thanks !

ghost · 7y ago
Structured data for AI agents

Repository: fireship-io/167-flutter-geolocation-firestore. Description: Episode 167 - Realtime Geolocation with Flutter, Google Maps, and Firestore Stars: 48, Forks: 35. Primary language: Dart. Languages: Dart (83%), Objective-C (11.7%), Java (5.4%). Open PRs: 0, open issues: 2. Last activity: 7y ago. Community health: 25%. Top contributors: codediodeio.

·@ofershap

Replace github.com with gitshow.dev