Gambas Documentation - /comp/gb.map/geo

# Geo (gb.map)

This class provide some tools to convert LatLon point into pixel position and the opposite.

This class is static.

Static methods

This function convert a position Value in decimal into a sexadecimal string value.
DecToSex
Convert a MapPoint into a Point that represent a world pixel position at the given Zoom level.
MapPointToPixel
Static Function MapPointToTile ( hMapPoint As MapPoint, Zoom As Integer ) As Point
MapPointToTile
Return a MapPoint from the given world pixel point at the given zoom.
PixelToMapPoint
PixelToTile SexToDec
Static Function TileBounds ( X As Integer, y As Integer, Zoom As Integer ) As comp/gb.map/MapBounds
TileBounds
Return the Corner TopLeft MapPoint of a tile from a given X, Y position at a given Zoom level.
TileToMapPoint