Instructions for the Pocket PolyLine for KML 2

It’s the Pocket PolyLine for KML 2, for Google Earth KML files!

The Pocket PolyLine for KML 2 creates extremely precise, pre-formatted 'path' and 'polygon' coordinate-code for your Google Earth KML files...in mere seconds!

And clean-up of errantly-placed map markers is a snap! Just click the 'Remove Marker and Code Line' button on the upper-right of your computer screen, and the last map marker that you’ve generated on the Google API Map will be removed from the map, along with the marker’s associated stretch of red 'polyline,' and the marker’s pre-formatted 'longitude-latitude-altitude' path/polygon coordinate-code. It’s that easy!

The pre-formatted 'longitude-latitude-altitude' coordinate-code for each marker is generated in the 'Pocket PolyLine for KML 2 PolyPocket' that expands on the right-hand-side of your computer screen when you start adding markers to the map.

If you need to remove more than one map marker (and that includes the marker’s stretch of red 'polyline' on the map, and its pre-formatted 'longitude-latitude-altitude' coordinate-code), keep clicking the 'Remove Marker and Code Line' button until you are satisfied with your polyline’s course.

The 'LPanel' (Location Panel) interface box in the lower left of the Google map allows you to input the 'latitude' and 'longitude' coordinates you wish to begin your path or polygon from. You can also enter an 'altitude' value for all markers’ coordinate-code in this interface box. Just click the 'Change Location/Change Altitude/Clear PolyPocket' button to initialize these 'latitude,' 'longitude,' and/or 'altitude' values.

The 'altitude' component of all markers’ coordinate-code is pre-set to a default value of '0' [zero]. You can change the 'altitude' at any time by changing the 'value' in the “Alt” input box. The next click on the Google map will display the pre-formatted 'longitude-latitude-altitude' coordinate-code for that marker with the updated 'altitude' value.

[See this 'Google KML tutorial' for details on the 'altitude' subject: Google KML Tutorial. Here is an anotated version of a sample code-file in that same Google KML tutorial: KML_Samples_With_Comments.kml, that you can download and “Save” to a folder on your computer, and then inspect in a text editor such as Notepad.]

After you have generated a sufficient amount of polyline coordinate-code in your 'Pocket PolyLine for KML 2 PolyPocket,' copy that polyline coordinate-code and 'paste' it within the 'coordinate' element tags of your KML 'path' or 'polygon' HTML code.

Once you have done that, click the 'Change Location/Change Altitude/Clear PolyPocket' button to clear the polyline coordinate-code from the 'Pocket PolyLine for KML 2 PolyPocket,' and the Google API Map will automatically re-center at the 'latitude' and 'longitude' of the last marker that was listed in the PolyPocket. [The red marker displayed in the center of the Google API Map represents these last 'latitude-longitude' coordinates.]

You can now continue adding the little yellow markers (and their associated pre-formatted 'longitude-latitude-altitude' coordinate-code) to the Google API Map and 'Pocket PolyLine for KML 2 PolyPocket' from where you left off.

Here is a Pocket PolyLine Practice LineString KML File with a LineString that you can continue, or replace with another LineString.

Note-1: The HTML/PHP-code for the Pocket PolyLine for KML 2 file can be found here:

Pocket PolyLine for KML 2 HTML/PHP-code.

For the Pocket PolyLine 2, that creates precise, pre-formatted 'polyline' array-code for “Google API Maps,”
click here.

Note-2: See the website below,

Apachefriends.org,

for details on how to set up the free 'XAMPP Apache distribution' on your computer, that will allow you to view and work with the Pocket PolyLine for KML 2 file on your computer.

You can read about 'polylines' and about changing the 'zoom-level' on a Google API Map—in this short, easy-to-read 'W3Schools.com' Google API Map tutorial,

W3Schools Google API Tutorial,

and in the more detailed Google Developers API Map tutorial:

Google Developers API Tutorial.

Have fun creating extremely precise 'polyline' paths with the aid of the Pocket PolyLine for KML 2!