
var start_lat, start_lon, end_lat, end_lon;
var start_set = 'N', end_set = 'N';
var emptyInstruction = '<p>Parinkite plaukimo pradžios, o tada - pabaigos tašką.<br>(Dešiniu pelės mygtuku arba ilgu piršto paspaudimu)</p>';
var routeAfter = 'topo_sym';
var sprite;

/***********************************************
* Calculate distance between two coordinates
***********************************************/
function distance(lat1, lon1, lat2, lon2) {
  if ((lat1 == lat2) && (lon1 == lon2)) {
    return 0