define(["./createTaskProcessorWorker","./Resource-8ae1a924","./VectorDrawer","./point-766425d1","./ColorUtil","./ParseBinaryData","./defaultValue-81eec7ed","./when-422ea0ae","./Check-741c5f3c","./combine-3c023bda","./Math-e73894ab","./RuntimeError-26acdd3b","./Buffer","./base64","./ieee754","./isArray","./VarintReader","./snappyJs","./CodeTool","./LayerContentModel","./GisTools"],(function(e,t,r,l,i,n,a,o,u,s,f,c,y,d,h,p,g,k,b,w,F){"use strict";let C,v=512,z={},B={};function S(e,t){if(!e)return{};e=e.layer?e.layer:e;let l={},i=new r([e],t.level,l,t.controlVector,t.highLightVector,t.filterLayerId);return C.call({},i,t.level),l}function m(e,t){let r=[];for(let i=0;i0){let e=new l.LineBucket({style:a,type:"line",tileSize:v});for(let t of n.lineFeatues){L(t,a);let r=V(t);e.addFeature(r)}e=e.serialize(t),r.push(e)}else if(n.fillFeatures.length>0){let e=new l.FillBucket({style:a,type:"fill",tileSize:v}),i=new l.LineBucket({style:a,type:"line",tileSize:v});for(let t of n.fillFeatures){L(t,a);let r=V(t);e.addFeature(r),a.stroke&&i.addFeature(r)}e=e.serialize(t),r.push(e),a.stroke&&(i=i.serialize(t),r.push(i))}}return r}function L(e,t,r){if(!t.sparsity)return;let i=parseFloat(t.sparsity);for(let t=0;t