Git Product home page Git Product logo

google_map_polyline's People

Contributors

shakirsamoon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

google_map_polyline's Issues

The package is not in pub.dev

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';

Get the "error!!!!"

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!

Wrong Polyline Path

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

Getcoordinates returns null

The direction api is also enabled android sdk is also enabled yet... I am testing on Android and it gives issues

[ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: NoSuchMethodError: The getter 'iterator' was called on null. E/flutter ( 4735): Receiver: null

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$

Polylines always drawing the shortest path to the starting point

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).

Getting "flutter: error!!!!"

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.

Incompatible with current version of `google_maps_flutter`

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.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.