Questions tagged [google-polyline]

Google Polyline class in Google Map v3

A polyline is a list of points, where line segments are drawn between consecutive points.

481 questions
-1
votes
1 answer

How to add polylines to this particular Google Maps?

Can someone help me with what I need to add and where so I can make polylines between Markers for my journey on my site. Thanks in advance. I try to figure out by myself and I didn't sucseed. If anyone can tell me it would be very nice. …
oknar
  • 3
  • 1
-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
1 answer

Modify script to use latitude / longitudes instead of address's

This demo script draws lines (polyline) on a google-map from one point out to all other points, however it uses address's for all points (except map center). How can this script be modified to use ALL latitude and longitude data instead of address's…
Don
  • 23
  • 3
-1
votes
1 answer

Show Polyline after marker click event when dealing with multiple markers.

I am working on a web application that uses Google Maps API v3. I am creating ~ 400 markers in an hour, which are being pushed in currentlyDisplayedMarkers[]. For each marker, I am creating a Polyline containing its past locations. This works ok.…
-1
votes
1 answer

Google map, polyline draws "extra" line -can't see what's going on

I query 2 "sets" of coordinates from a database, showing a track that we have flown a balloon. I place the markers during takeoff and landing. Now I want to draw a polyline between takeoff and landing in the 2 tracks, but for some reason also the 2…
-1
votes
1 answer

How to draw Polyline based on current location dynamically in Android

Hi i am developing a application where i tracks users current location periodically and update the path in Google map by drawing polylines . I am Not sure how to do that. Please Help me Out in this issue.
-1
votes
1 answer

Google Maps API Polyline creation failing with "Uncaught TypeError: number is not a function"

I'm working a django project using the google maps JS api. Basically what's going on here is that I'm creating a map centered at a point (works perfectly), drawing a bunch of points specified by the journey variable (value is substituted in by…
-1
votes
1 answer

Animation Speed Slider not Working

I have created an application in Google-map which shows a preview of GPS tracking. The preview will be the GPS co-ordinates drawn within the Google-map like an animation. The application is working fine but the Issue is that , I am having a…
Alex Man
  • 4,746
  • 17
  • 93
  • 178
-1
votes
1 answer

Plotting multiple polylines on Google Maps

I'm new to programming with Javascript and Google Maps so this may be a pretty simple question. I would like to plot multiple polylines on a Google Map. I have code written that draws the lines but they are all connected instead of discrete. I've…
slowmotionfred
  • 293
  • 1
  • 3
  • 8
-1
votes
1 answer

google maps multiple markers and polylines json

I am attempting to create something similar to this http://kronista.co/projects/2014/rock_al_parque/artistas_internacionales.html This is what i have so far http://ilg.knibbshost.co.uk/index.php/about-us/where-world/ I would like to create multiple…
-1
votes
1 answer

Adding text to google maps polyline icon

I'm trying to add text to a polyline icons property. The icon's path property can follow the SVG path notation. What I'm looking for is an svg representation using path notation for letters A-Z and numbers 0-9.
Pavlos Papanikolaou
  • 593
  • 2
  • 7
  • 23
-1
votes
1 answer

No lines drawn when drawing Polyline with MVCArray, with API v3.16 and later

If you use Google Maps API v3.16 and later, polyline are not drawn when a new marker is added to the polyline path and MVCArray, only markers plotted on a map. My program based on code from http://nettique.free.fr/gmap/toolbar.html html file…
Karya IT
  • 1
  • 3
-1
votes
1 answer

Polyline bounds for Google Maps

How can I get this Google map to resize to the bounds of the Polyline bounds? http://goo.gl/hjOcAx I think I am correct to use this: var bounds = new google.maps.LatLngBounds(); decodedPath.getPath().forEach(function(LatLng) { …
-2
votes
1 answer

Make polyline to show on google map horizontally and zoom it to center coordinate

I am using Google Maps API JavaScript. My use case is I need to plot coordinates (lat, lng) on maps (create markers) and join them through polyline. The co-ordinates will be very close to each other so when I try to plot them, they get hidden behind…
-2
votes
1 answer

Google Map Encoded Polylines not displaying

I used to have a working Google map HTML page saved on my computer, with several years and 100's of tracks displayed with encoded polylines (GPolyline.fromEncoded). Since Google map changes something in their API, I am not able to display anything.…
1 2 3
31
32