Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/145 protobuf streaming #153

Merged
merged 12 commits into from
Apr 15, 2023
35 changes: 35 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS build-env
WORKDIR /App

# Add NPM
RUN apk add --update npm

# Copy everything
COPY . ./

# Restore as distinct layers
RUN dotnet restore samples/dymaptic.GeoBlazor.Core.Sample.Wasm/dymaptic.GeoBlazor.Core.Sample.Wasm.csproj

# Build and publish a release
RUN dotnet publish samples/dymaptic.GeoBlazor.Core.Sample.Wasm/dymaptic.GeoBlazor.Core.Sample.Wasm.csproj -c Release -o out

# Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:7.0.3-alpine3.17
EXPOSE 5000
WORKDIR /App
COPY --from=build-env /App/out .
RUN ls -la

# Add Dumb-init
RUN apk upgrade -U -a \
&& apk add dumb-init \
&& rm -rf /var/cache/* \
&& mkdir /var/cache/apk \
&& mkdir /temp

# set up user
RUN addgroup -S geoblazor && adduser -S geoblazor -G geoblazor
RUN chmod -R 777 /temp
USER geoblazor

ENTRYPOINT ["dumb-init", "dotnet", "dymaptic.GeoBlazor.Core.Sample.Wasm.dll", "urls=http://0.0.0.0:5000/"]
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: ActionBase
parent: Classes
---
---
layout: default
title: ActionBase
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components](index.html#dymaptic.GeoBlazor.Core.Components 'dymaptic.GeoBlazor.Core.Components')

Expand Down Expand Up @@ -215,3 +220,4 @@ public static bool operator !=(dymaptic.GeoBlazor.Core.Components.ActionBase? le

#### Returns
[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: ActionButton
parent: Classes
---
---
layout: default
title: ActionButton
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components](index.html#dymaptic.GeoBlazor.Core.Components 'dymaptic.GeoBlazor.Core.Components')

Expand Down Expand Up @@ -45,3 +50,4 @@ public override string Type { get; }

#### Property Value
[System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: ActionToggle
parent: Classes
---
---
layout: default
title: ActionToggle
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components](index.html#dymaptic.GeoBlazor.Core.Components 'dymaptic.GeoBlazor.Core.Components')

Expand Down Expand Up @@ -42,3 +47,4 @@ public System.Nullable<bool> Value { get; set; }

#### Property Value
[System.Nullable&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Nullable-1 'System.Nullable`1')[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Nullable-1 'System.Nullable`1')

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: Basemap
parent: Classes
---
---
layout: default
title: Basemap
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components](index.html#dymaptic.GeoBlazor.Core.Components 'dymaptic.GeoBlazor.Core.Components')

Expand Down Expand Up @@ -54,7 +59,7 @@ public dymaptic.GeoBlazor.Core.Components.PortalItem? PortalItem { get; set; }

## Basemap.RegisterChildComponent(MapComponent) Method

Called from [dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync(System.Boolean)](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync#dymaptic_GeoBlazor_Core_Components_MapComponent_OnAfterRenderAsync_System_Boolean_ 'dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync(System.Boolean)') to "Register" the current component with it's parent.
Called from [dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync 'dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync') to "Register" the current component with it's parent.

```csharp
public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Expand Down Expand Up @@ -113,3 +118,4 @@ The consumer needs to provide the missing child component

[MissingRequiredOptionsChildElementException](dymaptic.GeoBlazor.Core.Exceptions.MissingRequiredOptionsChildElementException.html 'dymaptic.GeoBlazor.Core.Exceptions.MissingRequiredOptionsChildElementException')
The consumer needs to provide ONE of the options of child components

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: Constraints
parent: Classes
---
---
layout: default
title: Constraints
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components](index.html#dymaptic.GeoBlazor.Core.Components 'dymaptic.GeoBlazor.Core.Components')

Expand Down Expand Up @@ -135,7 +140,7 @@ public System.Nullable<bool> SnapToZoom { get; set; }

## Constraints.RegisterChildComponent(MapComponent) Method

Called from [dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync(System.Boolean)](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync#dymaptic_GeoBlazor_Core_Components_MapComponent_OnAfterRenderAsync_System_Boolean_ 'dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync(System.Boolean)') to "Register" the current component with it's parent.
Called from [dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync 'dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync') to "Register" the current component with it's parent.

```csharp
public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Expand Down Expand Up @@ -194,3 +199,4 @@ The consumer needs to provide the missing child component

[MissingRequiredOptionsChildElementException](dymaptic.GeoBlazor.Core.Exceptions.MissingRequiredOptionsChildElementException.html 'dymaptic.GeoBlazor.Core.Exceptions.MissingRequiredOptionsChildElementException')
The consumer needs to provide ONE of the options of child components

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: CustomOverlay
parent: Classes
---
---
layout: default
title: CustomOverlay
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components](index.html#dymaptic.GeoBlazor.Core.Components 'dymaptic.GeoBlazor.Core.Components')

Expand Down Expand Up @@ -53,3 +58,4 @@ A convenience method to force the child content to call StateHasChanged
```csharp
public void Refresh();
```

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: Extent
parent: Classes
---
---
layout: default
title: Extent
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Geometries](index.html#dymaptic.GeoBlazor.Core.Components.Geometries 'dymaptic.GeoBlazor.Core.Components.Geometries')

Expand Down Expand Up @@ -298,3 +303,4 @@ public static bool operator !=(dymaptic.GeoBlazor.Core.Components.Geometries.Ext

#### Returns
[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: Geometry
parent: Classes
---
---
layout: default
title: Geometry
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Geometries](index.html#dymaptic.GeoBlazor.Core.Components.Geometries 'dymaptic.GeoBlazor.Core.Components.Geometries')

Expand All @@ -16,7 +21,7 @@ The base class for geometry objects. This class has no constructor. To construct
</a>

```csharp
public class Geometry : dymaptic.GeoBlazor.Core.Components.MapComponent
public abstract class Geometry : dymaptic.GeoBlazor.Core.Components.MapComponent
```

Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') &#129106; [Microsoft.AspNetCore.Components.ComponentBase](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.AspNetCore.Components.ComponentBase 'Microsoft.AspNetCore.Components.ComponentBase') &#129106; [MapComponent](dymaptic.GeoBlazor.Core.Components.MapComponent.html 'dymaptic.GeoBlazor.Core.Components.MapComponent') &#129106; Geometry
Expand Down Expand Up @@ -72,7 +77,7 @@ public virtual string Type { get; }

## Geometry.RegisterChildComponent(MapComponent) Method

Called from [dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync(System.Boolean)](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync#dymaptic_GeoBlazor_Core_Components_MapComponent_OnAfterRenderAsync_System_Boolean_ 'dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync(System.Boolean)') to "Register" the current component with it's parent.
Called from [dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync 'dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync') to "Register" the current component with it's parent.

```csharp
public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Expand Down Expand Up @@ -131,3 +136,4 @@ The consumer needs to provide the missing child component

[MissingRequiredOptionsChildElementException](dymaptic.GeoBlazor.Core.Exceptions.MissingRequiredOptionsChildElementException.html 'dymaptic.GeoBlazor.Core.Exceptions.MissingRequiredOptionsChildElementException')
The consumer needs to provide ONE of the options of child components

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: GeometryType
parent: Classes
---
---
layout: default
title: GeometryType
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Geometries](index.html#dymaptic.GeoBlazor.Core.Components.Geometries 'dymaptic.GeoBlazor.Core.Components.Geometries')

Expand All @@ -13,3 +18,4 @@ Possible types of geometries
```csharp
public enum GeometryType
```

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: Point
parent: Classes
---
---
layout: default
title: Point
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Geometries](index.html#dymaptic.GeoBlazor.Core.Components.Geometries 'dymaptic.GeoBlazor.Core.Components.Geometries')

Expand Down Expand Up @@ -232,3 +237,4 @@ public override int GetHashCode();
#### Returns
[System.Int32](https://docs.microsoft.com/en-us/dotnet/api/System.Int32 'System.Int32')
A hash code for the current object.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: PolyLine
parent: Classes
---
---
layout: default
title: PolyLine
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Geometries](index.html#dymaptic.GeoBlazor.Core.Components.Geometries 'dymaptic.GeoBlazor.Core.Components.Geometries')

Expand Down Expand Up @@ -171,3 +176,4 @@ public static bool operator !=(dymaptic.GeoBlazor.Core.Components.Geometries.Pol

#### Returns
[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: Polygon
parent: Classes
---
---
layout: default
title: Polygon
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Geometries](index.html#dymaptic.GeoBlazor.Core.Components.Geometries 'dymaptic.GeoBlazor.Core.Components.Geometries')

Expand Down Expand Up @@ -171,3 +176,4 @@ public static bool operator !=(dymaptic.GeoBlazor.Core.Components.Geometries.Pol

#### Returns
[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: SpatialReference
parent: Classes
---
---
layout: default
title: SpatialReference
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Geometries](index.html#dymaptic.GeoBlazor.Core.Components.Geometries 'dymaptic.GeoBlazor.Core.Components.Geometries')

Expand Down Expand Up @@ -254,3 +259,4 @@ public static bool operator !=(dymaptic.GeoBlazor.Core.Components.Geometries.Spa

#### Returns
[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')

Expand Down
6 changes: 6 additions & 0 deletions docs/pages/classes/dymaptic.GeoBlazor.Core.Components.LOD.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: LOD
parent: Classes
---
---
layout: default
title: LOD
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components](index.html#dymaptic.GeoBlazor.Core.Components 'dymaptic.GeoBlazor.Core.Components')

Expand Down Expand Up @@ -73,3 +78,4 @@ public System.Nullable<double> Scale { get; set; }

#### Property Value
[System.Nullable&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Nullable-1 'System.Nullable`1')[System.Double](https://docs.microsoft.com/en-us/dotnet/api/System.Double 'System.Double')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Nullable-1 'System.Nullable`1')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: BlendMode
parent: Classes
---
---
layout: default
title: BlendMode
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Layers](index.html#dymaptic.GeoBlazor.Core.Components.Layers 'dymaptic.GeoBlazor.Core.Components.Layers')

Expand All @@ -22,3 +27,4 @@ See more at
ArcGIS
JS API: Blend Mode
</a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: CreatePopupTemplateOptions
parent: Classes
---
---
layout: default
title: CreatePopupTemplateOptions
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Layers](index.html#dymaptic.GeoBlazor.Core.Components.Layers 'dymaptic.GeoBlazor.Core.Components.Layers')

Expand Down Expand Up @@ -43,3 +48,4 @@ public System.Collections.Generic.HashSet<string>? VisibleFieldNames { get; set;

#### Property Value
[System.Collections.Generic.HashSet&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.HashSet-1 'System.Collections.Generic.HashSet`1')[System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.HashSet-1 'System.Collections.Generic.HashSet`1')

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: ElevationLayer
parent: Classes
---
---
layout: default
title: ElevationLayer
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Layers](index.html#dymaptic.GeoBlazor.Core.Components.Layers 'dymaptic.GeoBlazor.Core.Components.Layers')

Expand Down Expand Up @@ -67,7 +72,7 @@ public string? Url { get; set; }

## ElevationLayer.RegisterChildComponent(MapComponent) Method

Called from [dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync(System.Boolean)](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync#dymaptic_GeoBlazor_Core_Components_MapComponent_OnAfterRenderAsync_System_Boolean_ 'dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync(System.Boolean)') to "Register" the current component with it's parent.
Called from [dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync 'dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync') to "Register" the current component with it's parent.

```csharp
public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Expand Down Expand Up @@ -126,3 +131,4 @@ The consumer needs to provide the missing child component

[MissingRequiredOptionsChildElementException](dymaptic.GeoBlazor.Core.Exceptions.MissingRequiredOptionsChildElementException.html 'dymaptic.GeoBlazor.Core.Exceptions.MissingRequiredOptionsChildElementException')
The consumer needs to provide ONE of the options of child components

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ layout: default
title: ExtentQueryResult
parent: Classes
---
---
layout: default
title: ExtentQueryResult
parent: Classes
---
#### [dymaptic.GeoBlazor.Core](index.html 'index')
### [dymaptic.GeoBlazor.Core.Components.Layers](index.html#dymaptic.GeoBlazor.Core.Components.Layers 'dymaptic.GeoBlazor.Core.Components.Layers')

Expand Down Expand Up @@ -69,3 +74,4 @@ public dymaptic.GeoBlazor.Core.Components.Geometries.Extent Extent { get; set; }

#### Property Value
[Extent](dymaptic.GeoBlazor.Core.Components.Geometries.Extent.html 'dymaptic.GeoBlazor.Core.Components.Geometries.Extent')

Loading