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

Add only some polylines from Kml file

I developed a Windows Store application with Bing Maps. I have to add polylines from kml file to the map but only the polylines that are inside a specific radius from my position. Now I use the library SharpKml to parse the files and add all the…
-1
votes
1 answer

how to show different route on google map for each salesperson

I am working on a project where i need to track the salesperson's route of movement for a certain period (may span n days). I get locations stored from mobile device which i save in database using web service. Now i have a multi-select drop-down for…
Devjosh
  • 6,450
  • 4
  • 39
  • 61
-1
votes
1 answer

automatic set center and zoom in google maps api

When I autocomplete these 2 locations in the input boxes and click submit a polyline is drawn between the 2 locations. I want the map to center and zoom accordingly so that the line is completely visible at max zoom. I am not able to figure out the…
Srishti Gupta
  • 105
  • 1
  • 9
-1
votes
2 answers

CLLocation get only coordinates

I need to get an CLLocation array with only the coordinates, like this: var locations = [CLLocation(latitude: 38.5, longitude: -120.2), CLLocation(latitude: 40.7000, longitude: -120.95000), CLLocation(latitude: 43.25200, longitude:…
EricDXS
  • 882
  • 9
  • 11
-1
votes
1 answer

get attr svg polyline

html jquery $("svg").css("width",$(document).width()); $("svg").css("height",$(document).height()-10); $("polyline").click(function(){ …
-1
votes
1 answer

How to create a polyline with one end tracking the mouse pointer

Suppose one end of my polyline is fixed say at 0,0, and when I move the mouse I want the polyline's other end to be on my mousepointer exactly. What should I do in this case? Sorry I am very new to Silverlight.
Sathish
  • 1,631
  • 4
  • 13
  • 15
-1
votes
1 answer

getJSON google maps Polyline

This is an example from my jsonData: "lineformap":"new google.maps.LatLng(52.25602231800669, 6.160540580749512),new google.maps.LatLng(52.25543780780041, 6.1602723598480225),new google.maps.LatLng(52.255818725438296, 6.160014867782593)" and this is…
Bram
  • 49
  • 2
  • 11
-1
votes
1 answer

Displaying Polyline in googlemap api issue

In the following code I need to display poly line in the map I have issue with the following code i have mentioned below.. Here using googlemap i have shown two taxi icons with are moving in the map in 3 seconds time interval. I want to draw a line…
-2
votes
1 answer

How to draw polygon overlay on Google-Maps in Android? and add the button like this?

I need to finish my thesis. I want to make like an GIS on my android. All I need is build android application that can show the map, draw polygon overlay on it, add house button in it, and save as an image. I'd already know how to show Google-Maps…
AdityaSetyadi
  • 161
  • 1
  • 2
  • 18
-2
votes
2 answers

How can I check if a line intersects with any polygons

Say I have an array of Polygons expressed as an array of an array [x,y] values, for example: var polygons = [ [ [8, 57], [15, 57], [15, 71], [8, 71], [8, 57] ], [ [77, 36], [85, 36], [85, 50], [77, 50], …
Rus
  • 9
  • 5
-2
votes
1 answer

Simply Polyline and markers in the one file

I am trying to create a static html page that displays a Polyline of a walking track as well as markers of towns along the way. I have been using the html example files supplied by Google Maps API site. I have two arrays (one for Polyline and one…
-2
votes
1 answer

How to calculate LatLng A to LatLng B on existing polyline?

Im working on an Android app which is similar to Waze or Google Maps. I already have a polyline populated by Direction API Now I need to calculate distance from Marker A to Marker B based on polyline generated Im assuming that I can calculate the…
Alooza
  • 69
  • 12
-2
votes
1 answer

How do I add Polylines to a Google Map app in Flutter?

I have a map app that I am building in Flutter and I want to add a campus map, which will be an overlay from a remote kml file eventually. In the first instances I just want to show something on the map, so I grabbed some co-ordinates form that kml…
Andrew Stevenson
  • 578
  • 1
  • 9
  • 23
-2
votes
1 answer

How to add text inside polyline?

I want to know if it is possible to add a text inside a JavaFX Polyline component that will follow the line when doing transformations such as rotations. I am opened to any ideas :)
Yasiz
  • 13
  • 4
-2
votes
1 answer

How to compare two polyline of google map?

I am working on an app that tracks user location and makes a route on google map. I am providing a google map polyline to travel on that. currently, I want to know that user is travelling on provided polyline(route) or not. So I need to compare…
1 2 3
70
71