Table of Contents

Struct ResourceRoute

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

The requests that a resource provider serves.

public readonly record struct ResourceRoute : IEquatable<ResourceRoute>
Implements
Inherited Members

Remarks

See mln_resource_route in the C API reference.

Constructors

ResourceRoute()

public ResourceRoute()

ResourceRoute(ResourceKindFlag, UrlMatchFlag, string)

The requests that a resource provider serves.

public ResourceRoute(ResourceKindFlag Kinds, UrlMatchFlag Flags, string Url)

Parameters

Kinds ResourceKindFlag

The kinds of resource that the route covers. Zero covers every kind.

Flags UrlMatchFlag
Url string

Remarks

See mln_resource_route in the C API reference.

Properties

Flags

public UrlMatchFlag Flags { get; init; }

Property Value

UrlMatchFlag

Kinds

The kinds of resource that the route covers. Zero covers every kind.

public ResourceKindFlag Kinds { get; init; }

Property Value

ResourceKindFlag

Url

public string Url { get; init; }

Property Value

string