VTS Browser Demos

Basic example

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

Flights

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

Switching bound layers

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

Switching surfaces

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

Switching geodata

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

Lines and images

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

Hit surface

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

Meshes

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

Meshes - hit

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

Meshes - Custom shader

This demo demonstrates, how to use custom shaders for custom polygon meshes.

Meshes - OBJ Import

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

Geodata - Basic

Example showing how to create geodata with styled features.

Geodata - Import GeoJSON

This example demonstrates how to import GeoJSON data.

Geodata - Import GeoJSON from URL

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

Geodata with dynamic render

Example showing how to combine geodata with dynamically rendered features.

Geodata - Hover events

Example showing how to work with hover events.

Geodata - Click events

Example showing how to work with click events.

Geodata - Click and hover events

Example showing how to combine click and hover events.

Geodata - Advanced hover events

Example showing how to work with advanced hover events.

GPX Viewer

Simple application for displaying GPX files.

Core

Basic map example using only VTS Core library.