﻿function Entity(Name, Lat, Lng, Desc, Kml, Link, laLat, laLng, laHed, laRng, laTlt, Zoom)
{
    this.Name = Name;
    this.Latitude = parseFloat(Lat.toString().replace(',', '.'));
    this.Longitude = parseFloat(Lng.toString().replace(',', '.'));
    this.Zoom = Zoom;
    this.Description = Desc;
    this.Kml = Kml;
    this.Link = Link;
    this.laLatitude = parseFloat(laLat.toString().replace(',', '.'));
    this.laLongitude = parseFloat(laLng.toString().replace(',', '.'));
    this.laHeading = parseFloat(laHed.toString().replace(',', '.'));
    this.laRange = parseFloat(laRng.toString().replace(',', '.'));
    this.laTilt = parseFloat(laTlt.toString().replace(',', '.'));
   }

   Entity.prototype = {

       getEntity: function()
       {
           return (Entity);
       }
   };
