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
-1
votes
1 answer

How to remove the extra polyline from google maps api android

I have added a waypoint and drawn the polyline from start to destination through the waypoint. But an extra straight line is drawn from start to destination. How can I remove it ? The code below shows the ParserTask and getDirections URL. private…
-1
votes
1 answer

finding point in polyline - python

I have a shape file for road names - which is actually polyline geometry. And I also have address points, I am trying to find the road name of each address point using the polyline shape file. Is there a way to work out this? I used spatial join,…
ds_user
  • 2,139
  • 4
  • 36
  • 71
-1
votes
1 answer

How to find Google Polyline has Curve or it is a Straight line?

I have a list of some geo points, Now I want to check does these geo points make straight line or have some curve in this. I want to reject geo points those have sharp curves.
Mandeep
  • 140
  • 3
  • 8
-1
votes
1 answer

how can i get polylines from csv file?

I want to split values in CSV file (JAVA). Example of my data; row 1 : T1,B,1408039037,[[-8.585676,41.148522],[-8.585712,41.148639],[-8.585685,41.148855]]... row 2 :…
babeyh
  • 659
  • 2
  • 7
  • 19
-1
votes
1 answer

how to decode a google polyline from a static map which contain ascii numbers below 63?

I am trying to get from an encoded polyline to coordinates, but the original data, which produce a result, have some ascii numbers below 63, making that it is no possible to get the original latitude and longitude. For…
-1
votes
1 answer

Export polyline from google maps as JSON or GeoJSON

Is there a way to save/export a poly-line from google maps in some file format (eg. JSON), without using any JS. I am thinking, if a client would set up a private google map with poly-lines if she could export the paths from there in some format?…
Leopold Kristjansson
  • 2,246
  • 28
  • 47
-1
votes
1 answer

How to use Google map poly-line API by passing array of coordinates dynamically?

enter image description here I am new to google api. Please help me to use Google map poly-line API by passing array of coordinates dynamically?
Atul
  • 17
  • 2
-1
votes
1 answer

Google Map Simple Polyline map to image

I have to generate multiple google maps with polylines. May be 25 maps per page. I can generate the maps with the coordinates. But for the page performance, can I generate these simple Polyline maps as Images? Can I get a Image instead of rendered…
gamini2006
  • 299
  • 3
  • 17
-1
votes
2 answers

Incorrect Polyline Click fired when having multiple Polylines on Map

I have multiple polylines on a Google Map and add a 'click' event handler for each. All these polylines are added via javascript code. However when I click on any polyline on map, the click event for the last added polyline is fired. This makes it…
-1
votes
1 answer

Is it possible to have the editable attribute turned off in a polyline but still display the vertices as clickable circles?

I would like to display a polyline so that the vertices can not be moved, deleted or added, ie exactly like when the editable attribute is set to false, but the circles which are present when the editable attribute is set to true are still visible…
havelly
  • 109
  • 1
  • 11
-1
votes
2 answers

Drawing polyline similar to drawing of polyline in DrawingManager

This is how I draw my polyline where I click the first point and the polyline is drawn after I click the second point on the map canvas: Sample google.maps.Polyline This how polyline is drawn with the DrawingManager: Sample Drawing Manager I'd like…
user2618844
  • 352
  • 3
  • 13
-1
votes
1 answer

Google Map API v3 example from their site doesn't work without an API key but does with a Key. What am I doing wrong?

Problem: I am trying to use a sample of Google Map API v3 without an API key and it doesn't render. (It does render if I use a key).Anyone know why? I decided to use this example…
-1
votes
2 answers

How to remove the Poly line from the Google Map v2 android

I am successfully making and drawing poly lines on a marker click event. But there is a thing happening which I do not want to be happen. And that is when I click on marker Let say JackiMarker it draws route to the target location but then I click…
Coas Mckey
  • 701
  • 1
  • 13
  • 39
-1
votes
1 answer

google map polyline infowindow

As continuation to this question, i trying to add the respective json object name to infowindow content as, var infowindow = new google.maps.InfoWindow({ content:i }); Which is given in this fiddle but it displays only the name of last object.…
mpsbhat
  • 2,733
  • 12
  • 49
  • 105
-1
votes
1 answer

ArcObjects Mobile SDK, how do you get length/distance of a polyline

I programmatically select a polyline using an attribute query statement and returning the geometry of it. Then I use that to zoom-in to the area. I'm needing to the length of the polyline in order to zoom-in to the area based on the length.
GGarcia
  • 1
  • 1