Viz World User Guide

Version 17.0 | Published March 11, 2019 ©

Working with the API

This section contains short descriptions on how to use the API and what it does.

VWPosition

Can be used to position a container based on a longitude/latitude coordinate on a geo-referenced map.

To use VWPosition

  1. Add a geo-referenced map on a container (using GeoImage/Globe geometry)

  2. Add a child container to the newly created container with a geometry and the VWPosition plugin

  3. Changing the longitude/latitude will update the position of the new container

VWMousePosition

Can be used to translate a Mouse position into a longitude/latitude coordinate.

To use VWMousePosition

  1. Add a geo-referenced map on a container (using GeoImage/Globe geometry)

  2. Add a child container to the newly created container with a geometry and VWMousePosition plugin

  3. Click the E button (events button next to the Scene Editor)

  4. Click on the map and see that the new container moves to the coordinate

VWNavigatorControl

Can be used to get or set Navigator values.

To use VWNavigatorControl

  1. Create a Navigator scene

  2. Under the scene’s GeoReferenceMap container, add a new container with a VWNavigatorControl

  3. Clicking the Update Geo Ref Data button will read navigator current values

  4. Changing one of the plugin’s fields will set Navigator values