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, Int32)

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

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

Parameters

maxScale Double

count Int32

Returns

Collection<ZoomScale>