Testpage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
Image: | Image: | ||
[[File:verysimpleclient.png]] | [[File:verysimpleclient.png|Left|Top]] | ||
'''Powershell:'''<br /><syntaxhighlight lang="Powershell" <span="" class="single_linebreak" title="single linebreak" contenteditable="false">foreach($file in (Get-ChildItem $path -filter *.tif)) | '''Powershell:'''<br /><syntaxhighlight lang="Powershell" <span="" class="single_linebreak" title="single linebreak" contenteditable="false">foreach($file in (Get-ChildItem $path -filter *.tif)) |
Revision as of 09:56, 24 July 2019
Her kan vi teste ut litt ting. Testing!
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&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();
}
}
}