Skip to content

ZoomScale

Namespace: ThinkGeo.Core

Represents a pairing of a zoom index with its corresponding scale value.

public struct ZoomScale

Inheritance objectValueTypeZoomScale

Properties

Scale

Gets or sets the map scale associated with this zoom index.

public double Scale { get; set; }

Property Value

double

Zoom

Gets or sets the zoom index (0-based) represented by this entry.

public double Zoom { get; set; }

Property Value

double

Methods

GetZoomScales(double, int)

Generates a collection of zoom/scale pairs starting at the supplied maximum scale.

Collection<ZoomScale> GetZoomScales(double maxScale, int count)

Parameters

maxScale double

count int

Returns

Collection<ZoomScale>