C# Class PocketCampus.Map.Models.EpflBuildingsSource

Helper class to compute the URL of an EPFL building tile using a standard Mercator projection.
ファイルを表示 Open project: accandme/pocketcampus

Public Methods

Method Description
GetUri ( int buildingsLevel, int x, int y, int zoomLevel ) : Uri

Gets an Uri for the tile at the specified X/Y coordinates, zoom level and buildings level.

Private Methods

Method Description
FixY ( int y, int zoom ) : int

This is required, for some reason.

Method Details

GetUri() public static method

Gets an Uri for the tile at the specified X/Y coordinates, zoom level and buildings level.
public static GetUri ( int buildingsLevel, int x, int y, int zoomLevel ) : Uri
buildingsLevel int
x int
y int
zoomLevel int
return System.Uri