Skip to main content

interface ILabelInfo

(Niantic.Lightship.Maps.Core.Features.ILabelInfo)

Overview

Information related to a label that's associated with a particular IMapTileFeature.

interface ILabelInfo {
// properties

int Priority;
int MinZoom;
int MaxZoom;
float PosX;
float PosY;
string Text;
};

Detailed Documentation

Information related to a label that's associated with a particular IMapTileFeature.

Properties

Priority

int Priority

A numeric priority (ranking) as a general measure of 'importance'. When multiple labels overlap in screen space, the label with the highest numeric priority should be preferred.

MinZoom

int MinZoom

Min zoom at which the label should be displayed.

MaxZoom

int MaxZoom

Max zoom at which the label should be displayed.

PosX

float PosX

X Position in the tile to display the label.

PosY

float PosY

Y Position in the tile to display the label.

Text

string Text

The text to render in-game.