diff --git a/site/public/documentation/builtin.md b/site/public/documentation/builtin.md index c107aab..0aa9c00 100644 --- a/site/public/documentation/builtin.md +++ b/site/public/documentation/builtin.md @@ -5,13 +5,13 @@ Planetary.js comes with several built-in plugins that provide a base set of func * [Earth](/documentation/builtin_earth.html) - a combination of the `topojson`, `oceans`, `land`, and `borders` plugins. * [TopoJSON](/documentation/builtin_topojson.html) - loads TopoJSON data via Ajax (or via configuration) and makes it available for use by other plugins -* [Oceans](/documentation/builtin_oceans.html) - fills in the globe with a solid color (and an optional stroke) +* [Oceans](/documentation/builtin_oceans.html) - fills in the globe with a solid color * [Land](/documentation/builtin_land.html) - uses data from the `topojson` plugin to draw Earth's land masses * [Borders](/documentation/builtin_borders.html) - uses data from the `topojson` plugin to draw borders between Earth's countries * [Pings](/documentation/builtin_pings.html) - draws animated, circular pings on the globe -* [Zoom](/documentation/builtin_zoom.html) - enables mouse-based zooming of the globe via the mousewheel +* [Zoom](/documentation/builtin_zoom.html) - enables mouse-based zooming of the globe via the mouse wheel * [Drag](/documentation/builtin_drag.html) - enables mouse-based rotation of the globe via dragging -Built-in plugins exposed as properties on `planetaryjs.plugins`. +Built-in plugins are exposed as properties on `planetaryjs.plugins`. If you do not specify any plugins (globally or per-instance), Planetary.js will use the `earth` and `pings` plugins with their default settings. diff --git a/site/public/documentation/builtin_borders.md b/site/public/documentation/builtin_borders.md index ae7bf88..f849c95 100644 --- a/site/public/documentation/builtin_borders.md +++ b/site/public/documentation/builtin_borders.md @@ -14,7 +14,7 @@ Valid keys for `config` are: * `lineWidth` the `lineWidth` to set on the context; defaults to no value, and the context's `lineWidth` is not modified * `type`: valid options are `"internal"`, `"external"`, or `"both"`. `"internal"` draws borders between countries but not coastlines; `"external"` does the opposite. `"both"`, unsurprisingly, draws both. Defaults to `"internal"`. -
Download the core Planetary.js library and supporting files here.
@@ -30,11 +30,19 @@ ]<canvas id='basicGlobe' width='400' height='400'></canvas>
diff --git a/site/public/examples/index.ejs b/site/public/examples/index.ejs
index 6a27237..35c9b25 100644
--- a/site/public/examples/index.ejs
+++ b/site/public/examples/index.ejs
@@ -2,37 +2,34 @@
Sometimes you just need to see some code to get an idea started; here are a few examples of what you can build with Planetary.js.
-
- It doesn't get any simpler than this: just a static globe, built using built-in plugins with nothing up our sleeves!
- plugins: earth - d3: projections + plugins: earth + d3: projections
- If there's one thing that's better than a globe, it's a globe that rotates. This is the demo from the homepage of Planetaryjs.com, and so includes a custom auto-rotation plugin and zoom/drag integration.
- plugins: earth, pings, drag, zoom - custom plugins - d3: projections + plugins: earth, pings, drag, zoom + custom plugins + d3: projections
- A visualization of 2013 seismic activity. This demo shows the use of multiple custom plugins, D3 scales, fetching third party data, and DOM updates via D3.
- plugins: earth, pings, drag, zoom - custom plugins - d3: projections, scales, selections, events, external data + plugins: earth, pings, drag, zoom + custom plugins + d3: projections, scales, selections, events, external data<h1>Earthquakes: 2013</h1>
<ul id='magnitudes'></ul>
diff --git a/site/public/examples/rotating.ejs b/site/public/examples/rotating.ejs
index eb702cf..7eba0d5 100644
--- a/site/public/examples/rotating.ejs
+++ b/site/public/examples/rotating.ejs
@@ -15,7 +15,7 @@
style="width: 400px; height: 400px; cursor: move;">
<canvas id='basicGlobe' width='400' height='400'
style='width: 400px; height: 400px; cursor: move;'></canvas>