gpsToBlock method
- double value
Converts a decimal GPS coordinate to an index representing the block in the grid.
Implementation
int gpsToBlock(double value) => (value / models.settings.dashboard.mapBlockSize).round();
Converts a decimal GPS coordinate to an index representing the block in the grid.
int gpsToBlock(double value) => (value / models.settings.dashboard.mapBlockSize).round();