Comments (3)
Hey thanks for the issue! Looking back at the commit that introduced the restriction, it looks like I put it there as an arbitrary sanity check. Likely we had no use-case for having a scale > 4. Feel free to issue a PR to relax the constraint!
I'm really interested to hear more about your use-case and how using this library directly instead of vector_map_tiles
improves performance. If you have a repo demonstrating improvements I'd love to see it!
from dart-vector-tile-renderer.
At this moment I cannot provide a repo, but basically we cached the generated tiles as standard png and served them directly since the second request. Since we have a complete control on the tile request, with this method we can also mixed both local and remote loading (so from a local mbtiles repository or from traditional raster tile sever). I know that with this method the storage usage is extremely increased, but in some situation, as a specific app for some specific devices, this is not a problem.
I also noticed that there are some other assert
s in the tile_model.dart
file. A couple of times, I see an exception thrown by these asserts (unfortunately I can't provide you steps to reproduce the problem, since it hasn't happen in a systematic way). This problem caused a "gray" rendered tile, of course. Maybe, also in this case, it is possible to "relax" this assertions and, at least, provide a partially rendered tile (maybe without all of the intended details), that's probably better than nothing! Anyway, I will try to investigate on this problem.
from dart-vector-tile-renderer.
Closing since this issue is stale. We can reopen if/when needed.
from dart-vector-tile-renderer.
Related Issues (20)
- Support interpolate, step and case expressions for color and number values HOT 2
- Getting type 'List<Object>' is not a subtype of type 'String?' error on text anchors HOT 3
- Failed assertion: line 155 pos 12: 'a != 0': is not true. HOT 3
- improve support for mapbox outdoor theme HOT 3
- TileProviders with Json sources instead of directly to pbf/image files HOT 1
- Pass custom map data HOT 6
- text halo offsets are incorrect when zoom is high HOT 1
- improve web platform compatibility HOT 3
- Rendering on web looks broken HOT 8
- Rendering issues HOT 4
- How to pass tiles map in Tileset class with mutiple tile layers. What should be the tiles key in that situation. HOT 1
- [Feature] Support optional rotation for non line labels like city, area, country etc. HOT 1
- [Bug] Delay in showing text when map is rotating. HOT 2
- wrong implementation of text halo color HOT 3
- Color expression parsing does not correctly handle alpha components
- hybrid maps? HOT 2
- Support expressions for line-dasharray HOT 1
- InExpression and NotInExpression are out of (recommended) spec HOT 7
- Upgrade `vector-tile` dependency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart-vector-tile-renderer.