| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this change, the `GeoJSONVTData` instance was retained at the scheduled
lambda, which run on the worker thread represented by the `GeoJSONVTData::scheduler`
class member:
```
std::weak_ptr<GeoJSONVTData> weak = shared_from_this();
scheduler->scheduleAndReplyValue(
[id, weak, this]() -> TileFeatures {
if (auto self = weak.lock()) {
return impl.getTile(id.z, id.x, id.y).features;
}
return {};
},
fn);
```
It caused program termination in case `self` turned to be the last reference to `this`,
as the `std::thread` destructor was called from the thread it represented.
Now, only the `GeoJSONVTData::impl` class member is retained.
|
|
|
|
|
|
|
|
|
| |
for `getVisibleCoordinateBounds`. (#16069)
* [android] Add getVisibleCoordinateBounds method.
* Fix Map::latLngBoundsForCamera, add Android binding for getVisibleRegionBounds.
* Add unit tests for CameraToLatLngBoundsWithRotation and CameraToLatLngBoundsCrossDateLine.
* Move API breaking changes to a new method name latLngBoundsForCameraUnwrapped.
|
|
|
|
| |
Not needed after the render tests are using the offline cache.
|
|
|
|
| |
At the moment we have an invalid path as default.
|
|
|
|
| |
Not in use, for running a single test, use -f instead.
|
|
|
|
| |
More accurate now since everything goes through the FileSource.
|
|
|
|
|
|
| |
Needed for Android, because the database is in readonly filesystem
and also because it is annoying to see files modified every time we
run the tests.
|
|
|
|
|
| |
Need further investigation on why these tests are failing
after we started to use the cache database.
|
|
|
|
|
| |
Now that we use a cache, we no longer need "asset_path" and
"vendor_path".
|
|
|
|
| |
Instead of trying to read it from the filesystem.
|
| |
|
|
|
|
|
| |
Needed if we want to run tests online. Will default to the
MAPBOX_ACCESS_TOKEN environment value.
|
|
|
|
|
| |
And also make it not go to the network by setting the status
explicitly when when the -o flag is not passed.
|
|
|
|
| |
A path relative to the manifest pointing at the data cache.
|
| |
|
|
|
|
|
| |
A tool for adding resources to a cache database, important for
adding fixtures to our render test cache database.
|
| |
|
|
|
|
| |
In order to remove the repeated code.
|
| |
|
| |
|
|
|
|
|
|
| |
borders
Do not try the following variable anchors, if the first variable anchor placement failed.
|
| |
|
| |
|
| |
|
|
|
|
| |
In tile mode, stick to the first variable anchor if the label intersects tile borders.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Moved the Android flags to the compilation options interface
and removed build options we are not using and go back to CMake
defaults.
|
| |
|
|
|
|
|
|
|
|
| |
The style specification stipulates that `text-size` values must be positive
(https://docs.mapbox.com/mapbox-gl-js/style-spec/#layout-symbol-text-size).
However, a zero value could be passed to the engine (e.g. as a result of
an expression) this patch handles it and avoids assertion hit in `shaping.cpp`.
|
|
|
|
|
|
|
| |
Otherwise, the stale buffer data are processed again at the
repeated load. It is causing various problems like missing load
completion notification or crashes (if the previously used observer
instance has been deleted).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Repurpose LatLngBoundsToCameraWithBearingAndPitch to test scaling and camera setup, both with and without padding.
This adds testing of path not covered in mapbox/mapbox-gl-native-ios#59.
|
|
|
|
| |
https://github.com/mapbox/mapbox-gl-native-ios/issues/59
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Generate style code for 'line-sort-key' and 'symbol-sort-key'
- Add new layout properties to FillLayer::Impl, FillBucket, and FillLayerFactory
- Fix consistency of paint and layout properties type alias usage in FillBucket, LineBucket
- Add optional feature sorting to fill and line Layout creation
- Enable node render tests for fill-sort-key and line-sort-key
- Fix FillBucket test construction
- Prefer emplace_back to push_back for PatternFeature container
- Fix buggy static_cast for PatternFeature indices
- Maintain sort of features as they are created
- Switch pattern layout features container to list from vector for better insert performance
- Fix formatting expected by sanity check
- Use subclass PatternLayoutSorted to work around lack of template functions
- Fix to retain source order for features with equivalent sort keys during sorting
- [core] Fix clang-format
- [core] Address review comments
- [core] Pass inserting strategy class at compile time
- [core] Use sorted strategy only if sort key is defined in layout
- [core] Update style generator
- [core] Merge PatternLayout and PatternLayoutSorted classes
- Use static methods for inserter strategies
- Merge PatternLayout and PatternLayoutSorted classes
|
| |
|
| |
|