24 lines
440 B
Markdown
24 lines
440 B
Markdown
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"`
|
|
|
|
<div class='ui raise segment'>
|
|
<div class='ui red ribbon label'>JavaScript</div>
|
|
|
|
```javascript
|
|
planetaryjs.plugins.oceans({
|
|
fill: '#000080'
|
|
});
|
|
```
|
|
</div>
|