local globe = asset.require("../../earth")



local Layer = {
  Name = "Gebco [Utah]",
  Identifier = "Gebco_Utah",
  Enabled = asset.enabled,
  FilePath = asset.localResource("gebco_utah.wms")
}


asset.onInitialize(function()
  openspace.globebrowsing.addLayer(globe.Earth.Identifier, "WaterMasks", Layer)
end)

asset.onDeinitialize(function()
  openspace.globebrowsing.deleteLayer(globe.Earth.Identifier, "WaterMasks", Layer)
end)

asset.export("layer", Layer)



asset.meta = {
  Name = "Gebco WaterMask Layer (Utah)",
  Version = "1.0",
  Description = "WaterMask layer for Earth globe",
  Author = "OpenSpace Team",
  URL = "http://openspaceproject.com",
  License = "MIT license"
}
