| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
|
|
|
|
|
|
|
|
| |
* Move asset:// URL handling to DefaultFileSource.
* AssetFileSource implements FileSource interface and follows familiar implementation patterns.
* Move default implementation to platform/default, zip implementation to platform/android.
* Don't bother with modified / expires / etag -- assets are not cached so it doesn't matter.
* Don't bother with interleaving individual IO calls on the implementation thread. That adds a lot of complexity for very little benefit.
|
|
|
|
|
|
| |
ASSET=zip make test-* was broken and now works.
Also added a test stressing concurrent file access.
|
| |
|
| |
|
|
|
|
|
| |
This introduces the possibility to source the type and style properties
of a shape annotation from a designated layer in the style.
|
|
|
|
|
|
|
|
|
|
| |
Annotation tiles may become partially parsed just like regular tiles,
for example if a point annotation is added to the map before the style's
sprite has been loaded. In such cases, they need to be reparsed or the
annotation will not be rendered. Previously, the code path for reparsing
would be short-circuited by a dynamic_cast<VectorTileData*> followed by
a null check. This commit removes that case and adds (back) a virtual
reparse method to the TileData interface.
|
| |
|
|
|
|
| |
Also delete files that are test output but were checked in.
|
|
- this is only a stopgap; we need to properly pass state between threads
- doesn't fix changing the pixel ratio
|