C# Class OsmMapControlLibrary.OsmHelper

This class contains some helper methods for the openstreetmap-project
Exibir arquivo Open project: christophwille/winrt-openstreetmap-control

Public Methods

Method Description
ConvertToCoordinate ( double x, double y, long zoom ) : Point

Converts the

ConvertToTileNumber ( double lat, double lon, long zoom ) : Point

Converts the coordinates of a point to a certain tilenumber

ConvertToTilePosition ( double lon, double lat, int zoom ) : Point

Converts the coordinates of a point to a certain tileposition

Method Details

ConvertToCoordinate() public static method

Converts the
public static ConvertToCoordinate ( double x, double y, long zoom ) : Point
x double
y double
zoom long
return Point

ConvertToTileNumber() public static method

Converts the coordinates of a point to a certain tilenumber
public static ConvertToTileNumber ( double lat, double lon, long zoom ) : Point
lat double Latitude position
lon double Longitude position
zoom long Zooml level
return Point

ConvertToTilePosition() public static method

Converts the coordinates of a point to a certain tileposition
public static ConvertToTilePosition ( double lon, double lat, int zoom ) : Point
lon double Longitude position
lat double Latitude position
zoom int Zooml level
return Point