Flat directional arrows projected in 3d for krpano player.
Clone or download
lonelyelk Added vertical direction for arrows:
  * Use attribute 'vdir' to specify pitch angle;
  * Closes #6.
Latest commit 760c507 Mar 27, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
arrows Added vertical direction for arrows: Mar 27, 2017
dev Added vertical direction for arrows: Mar 27, 2017
.gitignore Added all files. Second initial commit. Oct 27, 2015
CHANGELOG.md Added vertical direction for arrows: Mar 27, 2017
LICENSE Initial commit Oct 27, 2015
README.md
gulpfile.js Rename plugin-page into arrows. Oct 29, 2015
package.json Transfer more attributes from connection to hotspot: May 23, 2016
web-server.js Added posibility to change position of revolution point and more: Oct 29, 2015

README.md

Arrows Plugin for krpano viewer

You only need the compacted version of arrows.xml file. You can get it here. After that you can:

<krpano>
	<include url="arrows.xml" />
	...
	<layer name="connections">
		<connection name="scene2" hdir="25.0" />
	</layer>
</krpano>

Full plugin with examples and documentation is packed in arrows.zip. For more details check out documentation or clone the repo.

Documentation

Description and documentantion is available on the plugin page at krpano.com. Otherwise you can follow development guide to setup local server and read documentation offline on localhost

Development

Simple node server is used in case you need to try html5 version. Gulp is used to minify xml and create zip archive to be downloadable from the site. You'll need node and gulp.

npm install gulp -g

After that:

git clone https://github.com/lonelyelk/krpano-arrows.git
cd krpano-arrows
npm install
node web-server.js

Development happens in dev folder. To see your modifications in uncompressed arrows.xml file on dev page use gulp xml or just gulp that will automatically run minification.