- Where Developers Learn, Share, & Build Careers


I have several km files, with only 1 path created in each. In which direction can I get the coordinates and how can I change them in an array with each set of coordinates placed within my array? For example: [[lat1, long1], [lat2, long2] [lat3, long3]]

I like javascript, but I can also php.

Example km: http://98.214.131.200/ route / test .kml

can be used as a stand-alone parser (although it is not particularly well tested in that mode). If you want polyline, you probably want a polyis branch instead of a trunk.

The array of coordinates is not enough in the format you requested;

  Playstained [] [Core] [Core: float, lng: float, alt: float]   

If you have a "path" in each of your km lists, maybe the array will be:

  [0]. [0]. Linestring [0]. CoreDeNet   

and it is also available as google.maps.Polyline object.

Your example here is km L, if you press the page with the debugger, then you can see the coordinate array.

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -