<north_cap_color>, <south_cap_color> Elements

When rendering a geocentric map using a global-mercator profile, there will be holes at the north and south poles because the global-mercator profile is only valid over from -85.05112878 to 85.05112878 degrees of latitude and does not extend all the way to the poles. To avoid seeing these holes in the globe, osgEarth draws a solid colored cap over the north and south poles. The colors of these caps can be configured in an Earth file to more closely match the data you are using.

The color values are specified as a RGBA values scaled between 0 and 255 with each value separated by a space.

There are no attributes nor any sub-elements for this element.

Example

<map name="MyMap" type="geocentric">

  <!--Add the Yahoo Maps Image Source-->
  <image name = "yahoo_roads" driver="yahoo">
    <dataset>roads</dataset>
  </image>

  <!--Alter the north and south cap colors to blend with the data -->
  <north_cap_color>128 176 225 255</north_cap_color>
  <south_cap_color>220 224 233 255</south_cap_color>

</map>

back to element reference