Table of Contents

Struct MvtPlace

Namespace
LansMap.Core.Labels

A named point feature from a vector tile, with class, rank, and mercator position.

public readonly struct MvtPlace
Inherited Members

Constructors

MvtPlace(string, string, int, MercatorPoint)

Creates a place record from already-parsed tile fields.

public MvtPlace(string name, string cls, int rank, MercatorPoint position)

Parameters

name string

Display name.

cls string

Schema class, or null.

rank int

Importance rank, lower more important.

position MercatorPoint

Position in normalized mercator.

Properties

Class

Schema class such as city, town, or village; null when the tile omitted it.

public string Class { get; }

Property Value

string

Name

Display name chosen from the tile's name keys.

public string Name { get; }

Property Value

string

Position

Position in normalized mercator, the unit square [0,1].

public MercatorPoint Position { get; }

Property Value

MercatorPoint

Rank

Importance rank, lower more important; MaxValue when the tile omitted it.

public int Rank { get; }

Property Value

int