Flight Routes

Flights from Bern
show flights from Kiev
Description

This sample demonstrates how to switch different flights information in C1Maps control.

The steps to create this sample:

  • Add a C1ItemsLayer with the data of the cities.
  • Add a C1VectorLayer with the data of flights from Bern.
  • Add a C1VectorLayer with the data of flights from Kiev.
  • In document ready event, hide one of the C1VectorLayers.
  • In the switcher element's click event, show the hidden C1VectorLayer and hide the showing C1VectorLayer.
Documentation