Testpage

From Maria GDK Wiki
Revision as of 10:56, 24 July 2019 by Mbu (talk | contribs)
Jump to navigation Jump to search

Her kan vi teste ut litt ting. Testing!

Image: Top

Powershell:

foreach($file in (Get-ChildItem $path -filter *.tif))
{
    Write-Host $file.Fullname
}


XML kode:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<compositemaptemplate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="4e2bfc03-9ba9-4a0c-8f97-cceebe3c1913" name="Webtest" version="0.0.2" type="overlay">
  <layer type="MapLayer" name="OGCWMSMap">
    <opacity>1</opacity>
    <brightness>0</brightness>
    <gamma>1</gamma>
    <contrast>0</contrast>
    <grayscale>false</grayscale>
    <compression>Any</compression>
    <minscalevisible>1</minscalevisible>
    <maxscalevisible>128000000</maxscalevisible>
    <datasource>
      <mapsignature>wms</mapsignature>
      <maptype>WmsMap</maptype>
      <showlabels>false</showlabels>
      <layergroupfilter>Image</layergroupfilter>
      <usecache>false</usecache>
      <property key="serviceType" value="OGCWMSMap" />
      <property key="ogcUri" value="http://image.discomap.eea.europa.eu/arcgis/services/Image/Image2006Cov1_201608022051/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS" />
      <property key="ogcCrs" value="CRS:84" />
    </datasource>
    <visible>false</visible>
    <ispreliminary>false</ispreliminary>
    <property key="coverage:show" value="false" />
    <property key="labels:fetchdata" value="false" />
    <property key="isusermanageable" value="false" />
  </layer>
</compositemaptemplate>


C# kode:

using MariaMapMaker.Contracts.ViewModels;

namespace MariaMapMaker.Controls
{
    /// <summary>
    /// Interaction logic for BrowseControl.xaml
    /// </summary>
    public partial class BrowseControl
    {
        public BrowseControl()
        {
            InitializeComponent();
        }
    }
}