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
0
votes
3 answers

info widows with different information on polylines google map api v3

I need to display different data on an infowindow that pops up when someone clicks a polyline form the many available, I have looked in to many solutions for this here is one examples i come accross, Google Maps API - Trouble with Arrays and…
user1584241
  • 25
  • 2
  • 7
0
votes
1 answer

How to make sure a large polyline doesn't go off-road?

I have an iOS app that uploads coordinates to a server. These coordinates can then be viewed in a map, through Google Maps. This is shown as a simple polyline. However, due to the GPS not being very precise, the polyline is often off-road. I tried…
user1203803
0
votes
2 answers

php gd function to draw polyline from array

may be you can help me. I need a function to draw polyline path from _GET or _POST string and save generated image to the folder. For example my link will looks like: http://img.domain.com/?points = 1,5,-70,300,250,500... If image already…
XTRUST.ORG
  • 3,280
  • 4
  • 34
  • 60
0
votes
2 answers

Google Maps API V3 Polyline Event Listener Params Not Passed When Loading Multiple Lines From Array

I've successfully added a handler to the click event of polylines I've added to Google Maps (V3) if I code them to be added one at a time, but if I make a for loop to simply iterate through my data, it fails. Working…
Claud
  • 937
  • 1
  • 12
  • 27
0
votes
1 answer

Google Maps geocoding Multiple Lines Point Limitation

With the help of this great website I have been able to get about 92% of what I need, but I just can't get over the hump on this thing. I made a map that geocodes multiple points and draws a line between them, but I just can't get it to map the…
0
votes
1 answer

Google Maps geocoding Multiple Lines

I am trying to draw multiple geodesic polyline with Google Maps JavaScript API from multiple location pairs. I found 98% of what I'm looking for here (http://stackoverflow.com/questions/2994424/google-maps-geocoding-address-to-glatlng) but I just…
0
votes
1 answer

Mono For android, Draw function

I have a short, and maybe simple question for some of you, but: How do I draw a polyline in android (like the way you normally do with system.windows.shapes) I have searched around, but can only find how to make a single line. and not a line drawn…
Bart Teunissen
  • 1,420
  • 5
  • 20
  • 43
0
votes
2 answers

Place Polyline on top of everything

I'm working on my own plotting library, but i've run into a problem. I have the following code to put my polyline on the windowsphone page: System.Windows.Deployment.Current.Dispatcher.BeginInvoke(() => { graph.AddSinglePoint(x); …
Bart Teunissen
  • 1,420
  • 5
  • 20
  • 43
-1
votes
2 answers

How do I draw a repeatable polyline on googleMap?

''' public class GpsActivity extends FragmentActivity implements OnMapReadyCallback { private static final int PRIORITY_HIGH_ACCURACY = 100; private GoogleMap mMap; private static final int PERMISSIONS_FINE_LOCATION = 99; Location loc; …
-1
votes
1 answer

Google Maps - Looping through array for polyline

I want to loop through an array of coordinates that I want to use for markers and drawing a line in google maps. Is there a solution to create the path property with a loop of const locations? Please check my example below: const lineSymbol = { …
-1
votes
1 answer

My goal is to create a cluster on polygons using google maps and codingniter

What I would like to do is pull the latitude and longitude values from a database and show them on a google map with polygon lines The polygon lines have been successfully created, but I would like to have this polygon line appear with zoom when…
-1
votes
1 answer

How to draw polylines from a set of points from a XML file?

I need to draw a contour in my image, so I used the function cv2.polylines to draw lines between points, but I don't know why I have an error like d is not defined (d is a list containing the set of points (x, y)). import xml.dom.minidom import cv2…
-1
votes
1 answer

Render multipolylines onto one map in swift

I have want to try and put a few different walking zones onto a map using polylines. The app works perfectly for one, however when i try and add walking zone 2 the polyine is not shown between zone points 2 at all. how can I get this to show the…
kitchen800
  • 197
  • 1
  • 12
  • 36
-1
votes
1 answer

Angular : pass only new Data array using http

I'm try developing a flights tracker using Leaflet map API . Every certain time when there are any new coordinates point position of aircraft i displaying them on map as polyline path i have "connection" between the last and the first point as…
Ali Ghassan
  • 1,280
  • 1
  • 22
  • 59
-1
votes
1 answer

How to remove marker one by one in google map?

How to remove marker one by one in google map? I click the Undo button to remove the marker. mFbClearLastPins = (Button) rootView.findViewById(R.id.fab_last_one_clear); mFbClearLastPins.setOnClickListener(new View.OnClickListener()…
kathir
  • 49
  • 1
  • 10