planetary.js/site/public/documentation/builtin_oceans.md
2013-12-25 23:25:35 -08:00

505 B

Oceans Plugin

The oceans plugin simply renders the main shape of the globe, filling it in with a solid color.

API

planetaryjs.plugins.oceans([config])

Valid keys for config are:

  • fill: the fillStyle to use for the globe; defaults to "black"
JavaScript
planetaryjs.plugins.oceans({
  fill: '#000080'
});

See also: