Get glyph metrics from the font in the process of drawing each glyph into a bitmap context. These metrics result in more accurate kerning and better aligned baselines than the previous hard-coded values.
Align iOS/macOS local glyph rasterization test fixture to Qt.
Prefer local fonts that match the names specified in the font stack (from the text-font layout property), except for the last resort fonts that mbgl hard-codes. Fall back to the list of fallback CJK fonts in user defaults, then the fonts passed in through the platform-agnostic interface (that come from Info.plist). Explicitly use the first font descriptor in the cascade list instead of the system default of Helvetica.
Since the font stack can vary from one rasterization operation to the next, avoid caching the resolved font for now. Removed null checks that are unrealistic given the Core Text API contract.
mbgl::Renderer and mbgl::MapSnapshotter can now contain a list of font family names, font display names, and font PostScript names, each name separated by a newline.
In tile mode, we're supposed to have only one tile, which is achieved with provided camera options.
However, if camera options are not accurate enough more tile could be used, which could cause:
* various symbol placement problems like, symbol duplications or cut-offs
* memory/cpu overhead
Now, if `mbgl::tileCover()` returns several tiles, only the first one is used (given that tiles are sorted by the distance to the map center)
Add distance unit choices
Fix cmake and add license
Add support for LineString Features
Add template to geometry helper function
Only support line and point
Rename geometry_within.cpp hpp file to geometry_util.cpp .hpp
Remove incorrect indexFilter, fix pointSetsDistance
Fix distance expression
The `Source::setMinimumTileUpdateInterval()` method sets the minimum tile update interval, which is used to throttle the tile update network requests.
Default value is `Duration::zero()`.
Introduce `Resource::minimumUpdateInterval` and consider it in the online file source.
The `minimumUpdateInterval` is used to throttle the requests, which were initiated due to resource expiration.
This to prevent confusion and enable proper error logging when
registering layers with missing name in LayerTypeInfo where the
name should instead be present.