Skip to content

Examples

David Lewinzky edited this page Nov 30, 2020 · 33 revisions

VTS Browser API Examples

Basic example which shows how to display the map in the webpage

Example showing how to fly between locations using browser's autopilot capabilities.

Layer switcher example, showing how to change bound layer on the surface.

This example demonstrates how to show or hide surfaces on the map.

This example demonstrates how to show or hide geodata on the map.

Example showing how to add line and point features on the surface with map browser capabilities.

In this example, user can mark point on surface using mouse click.

In this demo we demonstrate, how to place custom polygon meshes (with texture) on the terrain surface.

In this demo demonstrates, how to implement hit test for custom polygon meshes.

Example showing how to import OBJ files and display them in the map.

This Example is showing how to create geodata with styled features.

This example demonstrates how to import GeoJSON data.

This example demonstrates how to import GeoJSON data from the file.

This example is showing how to combine geodata with dynamically rendered features.

Example showing how to work with hover events.

Example showing how to work with click events.

Example showing how to combine click and hover events.

Example showing how to work with advanced hover events.

Simple application for displaying GPX files.