GridHelper
class that provide grid helping functions
-
Converting Mapbox coordinates to grid lines
this function encodes mapbox coordinates and currrent precision level to grid lines
-
extendGridBounds
this function encodes mapbox coordinates and extend bounds in all the direction to fill white space.
-
lngLatBoundsToUnlCoreBounds
this function encodes mapbox coordinates to unl core bound of all four directions n,e,w,s
-
getCell( function is used to retrive the grid cell according to user tap coordinates over the map and current precision level
-
getFormattedCellDimensions
get cell dimensions according to current precision level
-
getFormattedCellDimensionsFrom
get cell dimensions according to current precision level in integer type
-
locationIdToBoundsCoordinates
encode geohash locationId to coordinates array of all directions
-
getMinGridZoom
retrive zoom level according to current precision level
-
locationIdToLngLat
encode geohash locationID to CLLocationCoordinate2D