Struct MvtPlace
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
namestringDisplay name.
clsstringSchema class, or null.
rankintImportance rank, lower more important.
positionMercatorPointPosition 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
Name
Display name chosen from the tile's name keys.
public string Name { get; }
Property Value
Position
Position in normalized mercator, the unit square [0,1].
public MercatorPoint Position { get; }
Property Value
Rank
Importance rank, lower more important; MaxValue when the tile omitted it.
public int Rank { get; }