Skip to main content

Questions tagged [google-polyline]

Google Polyline class in Google Map v3

google-polyline
0 votes
0 answers
17 views

In google map, how to show continuesly label like infoWindow with marker data in flutter?

I have list of vehicle gps tracking data with Latlng, time and vehicle speed with every element of list i am updating marker locatin with element Latlng, but i also want to show time and vehicle speed ...
Janki 's user avatar
  • 61
0 votes
0 answers
115 views

How do I display the result of Google's computeRoute API?

I am using the computeRoute post method provided by Google's Routes API. The method returns a JSON file with the following data : { "routes": [ { "distanceMeters&...
fadl masri's user avatar
0 votes
1 answer
164 views

How can I smoothen the line in Google Directions API?

I want to have smoother polylines displayed on the map. See the screenshot of sharp polyline. I found that "polylineQuality":"HIGH_QUALITY" is available in Routes Preferred API ...
m.altinisik's user avatar
1 vote
1 answer
95 views

ForegroundService gets killed because of low memory

I do not know what else I can do to prevent my app from getting killed by Android. I cannot find the spot that leads to accumulate my memory. In the Foregroundservice I am receiving my latitude/...
Bernd's user avatar
  • 647
0 votes
0 answers
69 views

Can I make a gradient Polyline in React.js Google Maps API?

Do you know how I can create Polylines in a Google maps view in my React app? I looked into the google maps documentation but found nothing helpful to do this. This is how it's done in Android: https:/...
Alinemach's user avatar
  • 132
0 votes
0 answers
10 views

Predicting Stops on a predefined polyline route based on location received

So I have a route in the form of a polyline with some stops predefined on it, now I need to build the logic in my app to predict which stop I'm nearest to based on the location packets received by ...
sumit's user avatar
  • 1
0 votes
1 answer
789 views

How to decode a polyline and draw it on a google map using "@react-google-maps/api"

I'm trying to use the @react-google-maps/api library to render a Google map on a react component and draw a polyline on the map, however, the polyline data that comes from the backend is encoded like ...
Ruby's user avatar
  • 2,619
0 votes
0 answers
100 views

Drawing multi polyline using Google Maps SDK there is cut on every joint of polyline

When I add multiple polylines using Google Maps SDK 8.1.0 in iOS, the joints of every polyline I see are cut. I want a smooth polyline at each joint as well either overlap. Here is the code and ...
Ajay Dubey's user avatar
0 votes
0 answers
31 views

Draw a polyline with more than 100000 Geopoints in Android

I have the following problem. I am able to receive my latitude and longitude via a ForegroundService, however, the more I roam around, the more LatLng I get (what is pretty clear so far!). Now, if I ...
Bernd's user avatar
  • 647
1 vote
0 answers
138 views

Why is a double polyline appearing on Google Maps in Flutter instead of just one?

In my Flutter project, I've been working on drawing a polyline while updating a card. Generally, the implementation has been successful and the polyline appears as expected. However, I've encountered ...
DHANESH P's user avatar
  • 156
0 votes
0 answers
642 views

Flutter Google Map Lagging

I have loaded GPX file and using Tracks and its points, I've draw Polylines on the map, but I found very huge performance drop in map, too much of lag while zooming or scrolling the map. I have loaded ...
Mayur Bosamiya's user avatar
2 votes
1 answer
728 views

How to attach a text to React Google Maps Api Polyline

In this code sample, I want to show the distance attribute on top of the PolyLine with an offset of 45% (almost next to the arrow). But I was not successful in achieving that. <GoogleMap id=...
Amir-Mousavi's user avatar
  • 4,513
0 votes
1 answer
1k views

How to transform a google polyline string to a Set<Polyline> in flutter?

I have an API that returns an encoded polyline string and I need to show the polyline on a map. How can I trasform the String "_p~iF~ps|U_ulLnnqC_mqNvxq`@" to a Set<Polyline> ? ...
Danilo's user avatar
  • 326
2 votes
0 answers
719 views

Flutter Material App error on debug when switching scene

I was making 2 scene with google Maps and drawing polyline on the map, the apps have no problem running and everything working fine, however on the debug there is this big stack of error in debug ...
Flutter Beginner's user avatar
0 votes
0 answers
57 views

I want to find the closest path to the polyline

I need your knowledge to make my application, thanks in advance. Well, I'm using Android Studio - Java - Using the Google maps API, I generated several polylines on the map, I also added my current ...
Jose Gabriel Poma Mahuanca's user avatar

15 30 50 per page
1
2 3 4 5
33