Visualization of circular polygons on the Earth's surface.
Generates a kml character array used for visualizing a circular area on the Earth's surface, the centerpoint of which is located at [X,Y] and the radius of which is equal to R.
Generates a kml character array used for visualizing a circular area on the Earth's surface, the centerpoint of which is located at [X,Y] and the radius of which is equal to R.
A number of options can be set regarding the appearance of the circle. Assigning values to the parameters can be accomplished by inclusion of an alternating sequence of parameters and their value. The table below provides an overview of the authorized options. The order in which the parameters are included does not matter. Please be aware that the options are case-sensitive. Examples are provided further down.
Latitudes on the Southern hemisphere and longitudes on the Western hemisphere must be passed as negative values.
Some transformation may occur due to the projection (see example below).
Latitudes and longitudes should be passed in units of decimal degrees (also known as fractional degrees). Google Earth uses Simple Cylindrical projection (also known as Plate Carée) with a WGS84 datum. Circle radius is in meters.
See the demo file demo_ge_circle for more details.
The above lines of code will display as follows when viewed in Google Earth:
