Flight Routes

Created with Raphaël 2.0.1
Created with Raphaël 2.0.1
4000 km
2000 mi
Flights from Kiev
show flights from Bern

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.