Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Acevedo committed Jan 17, 2017
2 parents b6ff8f2 + 3ea4c70 commit f9fa5cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ reset the compass to point to north, reset the orbit, and reset the view to a de

**How did you build it?**

This plugin is based on the excellent compass, navigator (zoom in/out) and distance scale from the terriajs open source library (https://github.com/TerriaJS). The navigation UI from terriajs can not be used out of the box in Cesium because Cesium uses CommonJS modules with RequireJS, and the terriajs uses commonjs and Browserify, so you can't just copy the source files into Cesium and build. My work consisted on adapting the code to work within Cesium as a plugin as follows:
This plugin is based on the excellent compass, navigator (zoom in/out) and distance scale from the terriajs open source library (https://github.com/TerriaJS). The navigation UI from terriajs can not be used out of the box in Cesium because Cesium uses AMD modules with RequireJS, and the terriajs uses commonjs and Browserify, so you can't just copy the source files into Cesium and build. My work consisted on adapting the code to work within Cesium as a plugin as follows:

- Extracted the minimum required modules from terriajs.
- Converted all the modules from Browserify to requirejs.
Expand Down Expand Up @@ -202,7 +202,7 @@ This is the demo:
(http://larcius.github.io/cesium-navigation/)
- The compass, navigator, and distance scale will appear on the right side of te map.
- This plugin was successfully tested on Cesium version 1.15. It works great with Cesium in 3D mode. Recently Larcius (https://github.com/Larcius) made a lot of improvements and fixed some issues in Columbus and 2D modes.
- This plugin was successfully tested on Cesium version 1.27. It works great with Cesium in 3D mode. Recently Larcius (https://github.com/Larcius) made a lot of improvements and fixed some issues in Columbus and 2D modes.
**What about the license?**
- The plugin is 100% based on open source libraries. The same license that applies to Cesiumjs and terriajs applies also to this plugin. Feel free to use it, modify it, and improve it.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cesium-navigation",
"version": "1.1.3",
"version": "1.1.4",
"description": "Cesium plugin that adds a compass, navigator, and distance scale to the map",
"main": "viewerCesiumNavigationMixin",
"dependencies": {
Expand Down

0 comments on commit f9fa5cc

Please sign in to comment.