Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<FieldInfo FieldName="wmo_wind" Label="Wind Speed (mph)"/>
</FieldsContent>
<FieldInfo FieldName="ISO_time">
<FieldInfoFormat DateFormat="FieldInfoFormatDateFormat.ShortDateShortTime"/>
<FieldInfoFormat DateFormat="DateFormat.ShortDateShortTime"/>
</FieldInfo>
</PopupTemplate>
<UniqueValueRenderer Field="Category">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<FieldInfo FieldName="type" Label="Type" />
<FieldInfo FieldName="place" Label="Location" />
<FieldInfo FieldName="time" Label="Time">
<FieldInfoFormat DateFormat="@FieldInfoFormatDateFormat.ShortDateShortTime" />
<FieldInfoFormat DateFormat="@DateFormat.ShortDateShortTime" />
</FieldInfo>
</FieldsContent>
</PopupTemplate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@
<PopupTemplate Title="{PARK_NAME}">
<FieldsContent>
<FieldInfo FieldName="AGNCY_NAME" Label="Agency" IsEditable="true" Tooltip="" Visible="true"
StringFieldOption="FieldInfoStringFieldOption.TextBox" />
StringFieldOption="StringFieldOption.TextBox" />
<FieldInfo FieldName="TYPE" Label="Type" IsEditable="true" Tooltip="" Visible="true"
StringFieldOption="FieldInfoStringFieldOption.TextBox" />
StringFieldOption="StringFieldOption.TextBox" />
<FieldInfo FieldName="ACCESS_TYP" Label="Access" IsEditable="true" Tooltip="" Visible="true"
StringFieldOption="FieldInfoStringFieldOption.TextBox" />
StringFieldOption="StringFieldOption.TextBox" />
<FieldInfo FieldName="GIS_ACRES" Label="Acres" IsEditable="true" Tooltip="" Visible="true"
StringFieldOption="FieldInfoStringFieldOption.TextBox">
StringFieldOption="StringFieldOption.TextBox">
<FieldInfoFormat Places="2" DigitSeparator="true" />
</FieldInfo>
</FieldsContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
NumberOfStandardDeviations="3"
CustomStatistics="@([_wcsLayerStatistics])">
<MultipartColorRamp>
<AlgorithmicColorRamp Algorithm="ColorRampAlgorithm.Hsv"
<AlgorithmicColorRamp Algorithm="Algorithm.Hsv"
FromColor="@(new MapColor(0, 0, 255))"
ToColor="@(new MapColor(0, 255, 255))" />
<AlgorithmicColorRamp Algorithm="ColorRampAlgorithm.Hsv"
<AlgorithmicColorRamp Algorithm="Algorithm.Hsv"
FromColor="@(new MapColor(0, 255, 255))"
ToColor="@(new MapColor(255, 255, 0))" />
<AlgorithmicColorRamp Algorithm="ColorRampAlgorithm.Hsv"
<AlgorithmicColorRamp Algorithm="Algorithm.Hsv"
FromColor="@(new MapColor(255, 255, 0))"
ToColor="@(new MapColor(255, 0, 0))" />
</MultipartColorRamp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@if (_featureLayer is not null)
{
<FeatureFormWidget @ref="_form" LayerId="@_featureLayer!.Id"
GroupDisplay="FeatureFormGroupDisplay.Sequential" ContainerId="formDiv"
GroupDisplay="GroupDisplay.Sequential" ContainerId="formDiv"
OnSubmit="OnFormSubmit">
<FormTemplate Title="Enter the incident number">
<FieldElement FieldName="IncidentType" Label="Choose incident type" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
DefinitionExpression="@($"CRASH_DATE > Date '12-31-{_year - 1}' AND CRASH_DATE < Date '01-01-{_year + 1}'")">
<PopupTemplate Title="Crash location">
<FieldInfo FieldName="CRASH_DATE" Label="Date">
<FieldInfoFormat DateFormat="FieldInfoFormatDateFormat.DayShortMonthYearLongTime" />
<FieldInfoFormat DateFormat="DateFormat.DayShortMonthYearLongTime" />
</FieldInfo>
<FieldInfo FieldName="NUMBER_OF_PERSONS_KILLED" Label="Fatalities" />
<FieldInfo FieldName="NUMBER_OF_PERSONS_INJURED" Label="Injuries" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<PopupTemplate Title="Magnitude {mag} {type}"
StringContent="Magnitude {mag} {type} hit {place} on {time}">
<FieldInfo FieldName="time">
<FieldInfoFormat DateFormat="FieldInfoFormatDateFormat.ShortDateShortTime"/>
<FieldInfoFormat DateFormat="DateFormat.ShortDateShortTime"/>
</FieldInfo>
</PopupTemplate>
<SimpleRenderer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
Layer="@_polygonGraphicsLayer"
AvailableCreateTools="@([AvailableCreateTool.Rectangle])"
UpdateOnGraphicClick="false"
CreationMode="SketchCreationMode.Single"
CreationMode="CreationMode.Single"
OnCreate="OnSketchCreate"
HideSelectionToolsLassoSelection="true"
HideSelectionToolsRectangleSelection="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
&& _layer!.Renderer == null && !_rendererAdded)
{
_rendererAdded = true;
await _layer.SetRenderer(new RasterStretchRenderer(new AlgorithmicColorRamp(ColorRampAlgorithm.CieLab,
await _layer.SetRenderer(new RasterStretchRenderer(new AlgorithmicColorRamp(Algorithm.CieLab,
new MapColor(0, 0, 0, 0), new MapColor(0, 0, 0, 1)),
stretchType: _stretchType,
customStatistics: [new RasterBandStatistics(Min: 120, Max: 3068, Avg: 400, Stddev: 700)]));
Expand All @@ -140,14 +140,14 @@
switch (_stretchType)
{
case RendererStretchType.MinMax:
newRenderer = new RasterStretchRenderer(new AlgorithmicColorRamp(ColorRampAlgorithm.CieLab,
newRenderer = new RasterStretchRenderer(new AlgorithmicColorRamp(Algorithm.CieLab,
new MapColor(0, 0, 0, 0), new MapColor(0, 0, 0, 1)),
stretchType: _stretchType,
customStatistics: [new RasterBandStatistics(Avg: bandStat.Avg, Max: values[1], Min: values[0], Stddev: bandStat.Stddev)]);

break;
default:
newRenderer = new RasterStretchRenderer(new AlgorithmicColorRamp(ColorRampAlgorithm.CieLab,
newRenderer = new RasterStretchRenderer(new AlgorithmicColorRamp(Algorithm.CieLab,
new MapColor(0, 0, 0, 0), new MapColor(0, 0, 0, 1)),
stretchType: _stretchType,
customStatistics: [new RasterBandStatistics(Avg: bandStat.Avg, Max: bandStat.Max, Min: bandStat.Min,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
OnCreate="OnSketchCreate"
OnUpdate="OnSketchUpdate"
AvailableCreateTools="@([AvailableCreateTool.Polyline, AvailableCreateTool.Polygon, AvailableCreateTool.Rectangle])"
CreationMode="SketchCreationMode.Update" UpdateOnGraphicClick="true"
CreationMode="CreationMode.Update" UpdateOnGraphicClick="true"
Layer="_graphicsLayer"
HideSettingsMenu="true"
HideUndoRedoMenu="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
{ "lat", _center.Latitude },
{ "lon", _center.Longitude }
},
ResponseType = RequestOptionsResponseType.Json
ResponseType = ResponseType.Json
});

return response.Data?.Features
Expand Down Expand Up @@ -101,7 +101,7 @@
RequestResponse<QueryData> response = await Rest.Request<QueryData>(url, new RequestOptions
{
Query = query,
ResponseType = RequestOptionsResponseType.Json
ResponseType = ResponseType.Json
});

List<SearchResult> results = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<GraphicsLayer @ref="_graphicsLayer" />
</Map>
<SketchWidget OnCreate="OnSketchCreate" OnUpdate="OnSketchUpdate" Position="OverlayPosition.TopRight"
CreationMode="SketchCreationMode.Update"
CreationMode="CreationMode.Update"
Layer="_graphicsLayer"
EventRateLimitInMilliseconds="1000"/>
</MapView>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{
<FeatureFormWidget @ref="_form"
LayerId="@_featureLayer!.Id"
GroupDisplay="FeatureFormGroupDisplay.Sequential"
GroupDisplay="GroupDisplay.Sequential"
ContainerId="form"
OnSubmit="OnFormSubmit"
OnValueChange="OnValueChange" />
Expand Down