jarben opened a new issue #13444:
URL: https://github.com/apache/incubator-echarts/issues/13444


   ### What problem does this feature solve?
   Large geo jsons are usually very slow to render in echarts (1000 polygons ), 
it would be great to do a similar technique that MapBox does here: 
https://github.com/mapbox/geojson-vt (slicing GeoJSON data into vector tiles on 
the fly)
   It is possible to use echartsGL to support more polygons but it's not 
reliable that this would work on all devices   the GL map is more limited than 
standard. Generating / simplifying polygons on the fly might the ultimate 
solution for this
   Any thoughts? :) 
   
   ### What does the proposed API look like?
   virtualTiles: {
           enabled: true, // whether to enable this feature
        maxZoom: 14,  // max zoom to preserve detail on; can't be higher than 24
        tolerance: 3, // simplification tolerance (higher means simpler)
        extent: 4096, // tile extent (both width and height)
        buffer: 64,   // tile buffer on each side
        debug: 0,     // logging level (0 to disable, 1 or 2)
        lineMetrics: false, // whether to enable line metrics tracking for 
LineString/MultiLineString features
        promoteId: null,    // name of a feature property to promote to 
feature.id. Cannot be used with `generateId`
        generateId: false,  // whether to generate feature ids. Cannot be used 
with `promoteId`
        indexMaxZoom: 5,       // max zoom in the initial tile index
        indexMaxPoints: 100000 // max number of points per tile in the index
   }
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to