Table of Contents

Method WebMercatorToViewport100

Namespace
Pinwheel.Vista.RealWorldData
Assembly
Pinwheel.Vista.RealWorldData.Runtime.dll

WebMercatorToViewport100(GeoRect, int)

Converts a Web Mercator rectangle into the normalized viewport-100 space used by map-tile utilities.

public static GeoRect WebMercatorToViewport100(this GeoRect r, int zoom = 0)

Parameters

r GeoRect
zoom int

Returns

GeoRect