Questions tagged [polyline]

Polyline in computer graphics is a continuous line composed of one or more line segments.

Polyline in computer graphics is a continuous line composed of one or more line segments. You can create a polyline by specifying the endpoints of each segment.

1062 questions
-2
votes
1 answer

Get LatLng from Polyline click in Android

On Android, I have a map with a polyline on it. When I click on the map portion, onMapClick returns a LatLng. When I click on the polyline, onMapClick never fires, and if I register onPolylineClick, all it returns is the polyline itself. How do I…
Gene Knight
  • 331
  • 3
  • 9
-2
votes
1 answer

Multiple Google maps polylines clicked event

I have built a web app using Google maps Api and get a problem with polyline clicked event. I tried to add some markers to maps, then joined them together. I expect that if I click on polyline, I can get markers that are start point and end point of…
Rim Vo
  • 22
  • 2
-2
votes
2 answers

Google Maps: Select previous Marker on Polyline

I'm doing an application with google maps API that have a JSON with the marker's coordinates. Then I draw polylines between the markers. I also implemented a function with a onclick event that creates a new marker inside the polyline. This marker…
Andrew
  • 31
  • 7
-2
votes
1 answer

How to create a OSM based map where users can draw lines along roads?

i need to create a map, where users can draw lines along roads. i want to realize this with OSM, because i do not want to share userdata with google :) i read about that my idea is not easy to handle, because i can not draw a line along a road on…
mrn_baker
  • 73
  • 6
-2
votes
1 answer

How to write a Polyline in GoLang

I want to print a "Polyline()" function in go lang with the set of coordinates: x y 300 250 400 350 250 600 I don't understand this structure: Polyline(x []int, y []int, s ...string) Please show how to carry about that polyline in GoLang
Elmo Huitz
  • 29
  • 6
-2
votes
1 answer

How to draw polyline along with multi marker in google map

I need to draw polyline for the more than one vehicle that are being tracked in our Appln in PHP and google map. Could any one plz tell me how to draw poly line for multiple vehicle with latitude and longitude got from Mysql Database.
-3
votes
1 answer

"You have exceeded your request quota for this API" react-google-maps Javascript API

I'm trying to draw a path using react-google-maps. I can display the map no problem, but when I add the polyline component the map acts as if i've hit the quota. I haven't come close to the quota. Yes, this question has been asked before. No,…
-3
votes
1 answer

How to plot polyline in 3D in python?

I have sequence of point with 3 coordinates each How to plot them as polyline in 3D? The following code import matplotlib.pyplot as plt x = [1, 2, 3] y = [2, 3, 4] z = [5, 6, 7] fig = plt.figure() ax = fig.add_subplot(111,…
Dims
  • 47,675
  • 117
  • 331
  • 600
-3
votes
1 answer

Google maps api v3 polyline visible when marker mousover

// Aircraft on map var marker = new google.maps.Marker({ position: myLatLng, map: map, icon: image, optimized:…
SteveHI
  • 1
  • 2
-4
votes
1 answer

Polyline performance issue while moving with more than 3000 points gets too slow

In uwp, need to pan smoothly the polyline from one place to another which has more than 3000 points without applying transform. Because, I will update the points dynamically in mouse move. Attached sample for your reference, which gets panned but…
Ragul S V
  • 139
  • 6
-4
votes
1 answer

How do i draw a polyline in android studio for array of coordinates?

http://107.180.68.111:84/ZIGAPICleveland/api/Trip/GetAllShapes?Page=0 this is the api i got and how do i draw a polyline for this?
-4
votes
1 answer

Google Maps Adding Multiple Polylines

I am attempting to create multiple polylines using google.Maps.DirectionsRender() however I am getting only one route being displayed. If he function is executed several times only then will all the ploylines be displayed. I looked at some other…
devdar
  • 5,564
  • 28
  • 100
  • 153
1 2 3
70
71