shakirsamoon / google_map_polyline Goto Github PK
View Code? Open in Web Editor NEWGives the polyline coordinates to set polylines in Google Map.
Home Page: https://pub.dev/packages/google_map_polyline
License: The Unlicense
Gives the polyline coordinates to set polylines in Google Map.
Home Page: https://pub.dev/packages/google_map_polyline
License: The Unlicense
Error: Could not resolve the package 'google_map_polyline' in 'package:google_map_polyline/google_map_polyline.dart'.
lib/screens/home.dart:8:8: Error: Not found: 'package:google_map_polyline/google_map_polyline.dart'
import 'package:google_map_polyline/google_map_polyline.dart';
Hi Team, I am facing wrong path via polyline when cordinate distance is large like 100 200 km how can i get correct path with roads
The direction api is also enabled android sdk is also enabled yet... I am testing on Android and it gives issues
I'm facing a curious problem regarding Polylines on google_maps_flutter using the google_map_polyline package.
When i'm going for a walk and start the route (using the Location package to ensure updated coordinates) the polylines keep drawing without problem if the route is a straight line or get far away from the destination.
However, if my route try do go around back to the starting point, at some point, all the polyline drawn is redrawed considering my current point and the shortest path to the origin point, like if i've made another path (the shortest to my current point).
return null
Output I get when trying to install it alongside google_maps_flutter 1.0.2-nullsafety
:
› flutter packages get
Because visor depends on google_map_polyline ^0.2.0+1 which depends on google_maps_flutter ^0.5.21+6, google_maps_flutter ^0.5.21+6 is required.
So, because visor depends on google_maps_flutter ^1.0.2-nullsafety, version solving failed.
Running "flutter pub get" in visor...
pub get failed (1; So, because visor depends on google_maps_flutter ^1.0.2-nullsafety, version solving failed.)
I get "flutter: error!!!!" every time I call "_getPolylinesWithLocation" or "_getPolylinesWithAddress". The error message I get is not very descriptive and not sure which part I did wrong.
Every time, when I call _getPolylinesWithLocation() method, an error pops up in the console:
√ Built build\app\outputs\apk\debug\app-debug.apk.
Syncing files to device xxx...
I/flutter (xxxx): error!!!!
The same issue has been closed: #1 , but didn't resolved.
I've enabled all necessary APIs and billing is enabled also!
Hi @Shark01. I'm getting this error every time I try to pass polylines from either googleMapPolyline.getCoordinatesWithLocation() or googleMapPolyline.getPolylineCoordinatesWithAddress() to GoogleMap widget. And above all, I'm getting null from googleMapPolyline.getCoordinatesWithLocation() which refers to this same issue #2.
Any help would be much appreciated. Thanks
This is my flutter doctor by the way,
Gads-MBP:~ gad$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.4, on Mac OS X 10.15.5 19F101, locale en-RW)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.46.1)
[✓] Connected device (1 available)
• No issues found!
Gads-MBP:~ gad$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.