Table of Contents

Struct UrlQueryParameter

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A query parameter that a resource transform rule adds to a URL.

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

Remarks

Pass name and value unencoded. The library percent-encodes every byte of them except the letters, digits, -, ., _, and ~, and adds them as name=value.

See mln_url_query_parameter in the C API reference.

Constructors

UrlQueryParameter()

public UrlQueryParameter()

UrlQueryParameter(string, string)

[SetsRequiredMembers]
public UrlQueryParameter(string Name, string Value)

Parameters

Name string
Value string

Properties

Name

public required string Name { get; init; }

Property Value

string

Value

public string Value { get; init; }

Property Value

string