spritejs/spritejs

View on GitHub
examples/assets/mapdata/1311.json

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"景县","id":"131127"},"geometry":{"type":"MultiPolygon","coordinates":[[[[116.267345,37.473843],[116.279537382813,37.4704201484376],[116.270767851563,37.4616506171875],[116.267345,37.473843]]],[[[116.293922148438,37.5160353828126],[116.297345,37.503843],[116.285152617188,37.5072658515626],[116.293922148438,37.5160353828126]]],[[[116.267345,37.473843],[116.253985625,37.480483625],[116.215733671875,37.487202375],[116.227345,37.463843],[116.189576445313,37.4685671210938],[116.170865507813,37.4919362617187],[116.174893828125,37.524341046875],[116.137486601563,37.5401039863282],[116.104581328125,37.53601096875],[116.092896757813,37.5082900214844],[116.056920195313,37.4993959785157],[116.017633085938,37.5224904609376],[115.917345,37.4938430000001],[115.9069153125,37.5573183417969],[115.926607695313,37.6074013496094],[115.9611340625,37.6215322089844],[115.967345,37.6438430000001],[115.98556765625,37.6481349921875],[116.013975859375,37.7086025214844],[116.00373171875,37.7414882636719],[116.037345,37.751958234375],[116.059263945313,37.7451308417969],[116.071158476563,37.7800307441407],[116.097345,37.783843],[116.10435671875,37.7736891914063],[116.133013945313,37.7801137519532],[116.14509890625,37.76261253125],[116.174459257813,37.7817311835938],[116.210079375,37.7737465644532],[116.213468046875,37.788843],[116.20724734375,37.8165798164063],[116.222388945313,37.8199733710938],[116.280518828125,37.8056948066407],[116.283468046875,37.818843],[116.281221953125,37.8288430000001],[116.283468046875,37.8388430000001],[116.281051054688,37.8496169257813],[116.30326296875,37.8579274726563],[116.326939726563,37.8733486152344],[116.36326296875,37.8597585273438],[116.397374296875,37.8333205390625],[116.427345,37.8266017890625],[116.442799101563,37.8300649238282],[116.467345,37.813843],[116.467345,37.783843],[116.449659453125,37.7609291816407],[116.421519804688,37.7494130683595],[116.423160429688,37.7383315253907],[116.410894804688,37.7288661933594],[116.38170046875,37.6894863105469],[116.37298953125,37.6581996894532],[116.361529570313,37.6493544746094],[116.365953398438,37.6194130683594],[116.3335559375,37.6061537910157],[116.327345,37.583843],[116.281529570313,37.5493581367188],[116.283082304688,37.538843],[116.277174101563,37.498841779297],[116.267345,37.473843]]]]}},{"type":"Feature","properties":{"name":"安平县","id":"131125"},"geometry":{"type":"MultiPolygon","coordinates":[[[[115.477345,38.3338430000001],[115.467345,38.3338430000001],[115.467345,38.343843],[115.477345,38.343843],[115.477345,38.3338430000001]]],[[[115.467345,38.3338430000001],[115.472345,38.3210353828125],[115.477345,38.3338430000001],[115.487345,38.3338430000001],[115.487345,38.353843],[115.487345,38.3638430000001],[115.499176054688,38.3556740546875],[115.514503203125,38.3334743476563],[115.51037234375,38.3150380683594],[115.532345,38.3199636054688],[115.543013945313,38.3175722480469],[115.551676054688,38.3301137519532],[115.563013945313,38.3275722480469],[115.571695585938,38.3401430488282],[115.634190703125,38.3247927070313],[115.647345,38.343843],[115.657345,38.343843],[115.664464140625,38.326137921875],[115.661412382813,38.3084279609375],[115.681197539063,38.2764577460938],[115.640318632813,38.2834950996095],[115.608902617188,38.2601235175782],[115.62861453125,38.2454616523438],[115.601402617188,38.2093044257813],[115.606163359375,38.1816555000001],[115.561080351563,38.1694325996094],[115.567345,38.153843],[115.541793242188,38.1582900214844],[115.532896757813,38.1693959785157],[115.521793242188,38.1782900214844],[115.506143828125,38.1978322578126],[115.472896757813,38.1782900214844],[115.431397734375,38.1693117500001],[115.443941679688,38.1366811347657],[115.439405546875,38.1002016425782],[115.447345,38.093843],[115.439693632813,38.0804201484376],[115.402345,38.0944972968751],[115.381431914063,38.0866139960938],[115.3637121875,38.1202114082031],[115.357345,38.123843],[115.353443632813,38.1299404121094],[115.333580351563,38.1426552558594],[115.34375125,38.1788430000001],[115.34093875,38.188843],[115.346344023438,38.2080800605469],[115.322281523438,38.2234865546875],[115.317345,38.243843],[115.354371367188,38.2501332832031],[115.350699492188,38.2749831367187],[115.383424101563,38.2883779121094],[115.369156523438,38.3246767402344],[115.422345,38.3325368476563],[115.45263796875,38.3280605292969],[115.467345,38.3338430000001]]]]}},{"type":"Feature","properties":{"name":"阜城县","id":"131128"},"geometry":{"type":"MultiPolygon","coordinates":[[[[116.077345,37.8738430000001],[116.070260039063,37.8603932929688],[116.04439578125,37.8695619941407],[116.077345,37.8738430000001]]],[[[116.077345,37.8738430000001],[116.0654309375,37.8978151679688],[116.083985625,37.907202375],[116.087345,37.9138430000001],[116.163804960938,37.9193691230469],[116.161539335938,37.9573464179688],[116.172174101563,37.9692458320313],[116.227154570313,37.9545204902344],[116.272628203125,37.9685622382813],[116.292120390625,37.9791542792969],[116.30259890625,37.9785305000001],[116.337564726563,38.0176638007813],[116.3768371875,38.020005109375],[116.45255984375,38.0084865546876],[116.46209109375,38.0191555],[116.472345,38.0185451484376],[116.482345,38.0191408515625],[116.51595828125,38.0171376777344],[116.547345,38.0238430000001],[116.557345,38.0238430000001],[116.552877226563,37.9667983222657],[116.532003203125,37.915786359375],[116.496324492188,37.8695644355469],[116.471519804688,37.8594130683594],[116.473082304688,37.848843],[116.471607695313,37.8388430000001],[116.47312625,37.8285512519532],[116.467345,37.813843],[116.442799101563,37.8300649238282],[116.427345,37.8266017890625],[116.397374296875,37.8333205390625],[116.36326296875,37.8597585273438],[116.326939726563,37.8733486152344],[116.30326296875,37.8579274726563],[116.281051054688,37.8496169257813],[116.283468046875,37.8388430000001],[116.281221953125,37.8288430000001],[116.283468046875,37.818843],[116.280518828125,37.8056948066407],[116.222388945313,37.8199733710938],[116.20724734375,37.8165798164063],[116.213468046875,37.788843],[116.210079375,37.7737465644532],[116.174459257813,37.7817311835938],[116.14509890625,37.76261253125],[116.133013945313,37.7801137519532],[116.10435671875,37.7736891914063],[116.097345,37.783843],[116.114093046875,37.809184796875],[116.086588164063,37.8281728339844],[116.095767851563,37.8691152167969],[116.077345,37.8738430000001]]]]}},{"type":"Feature","properties":{"name":"故城县","id":"131126"},"geometry":{"type":"MultiPolygon","coordinates":[[[[115.797345,37.363843],[115.785152617188,37.3672658515625],[115.793922148438,37.3760353828125],[115.797345,37.363843]]],[[[116.257345,37.423843],[116.260767851563,37.4360353828126],[116.269537382813,37.4272658515625],[116.257345,37.423843]]],[[[116.257345,37.423843],[116.271041289063,37.3926113105469],[116.245152617188,37.3760366035156],[116.237345,37.363843],[116.18170046875,37.3681996894531],[116.159854765625,37.3813759589844],[116.102486601563,37.3680825019531],[116.077515898438,37.3717726875001],[116.04298953125,37.3581996894531],[115.98041140625,37.3407741523438],[115.961363554688,37.2504921699219],[115.96341921875,37.2365615058594],[115.918365507813,37.2181215644531],[115.900670195313,37.1951918769532],[115.90314578125,37.1784133125],[115.87974734375,37.1468508125],[115.867345,37.0738430000001],[115.847345,37.063843],[115.83181765625,37.0716994453125],[115.823985625,37.110483625],[115.790704375,37.117202375],[115.761090117188,37.1430080390625],[115.757345,37.1838430000001],[115.753985625,37.2004836250001],[115.747345,37.213843],[115.753170195313,37.2180178046876],[115.779947539063,37.255376203125],[115.771358671875,37.2988430000001],[115.781378203125,37.3495680976563],[115.793170195313,37.3580178046875],[115.797345,37.363843],[115.8308215625,37.3724330878907],[115.8541028125,37.3885097480469],[115.884342070313,37.4349416328126],[115.881085234375,37.4494557929688],[115.89142703125,37.4897585273438],[115.917345,37.4938430000001],[116.017633085938,37.5224904609376],[116.056920195313,37.4993959785157],[116.092896757813,37.5082900214844],[116.104581328125,37.53601096875],[116.137486601563,37.5401039863282],[116.174893828125,37.524341046875],[116.170865507813,37.4919362617187],[116.189576445313,37.4685671210938],[116.227345,37.463843],[116.234986601563,37.4484658027344],[116.218272734375,37.4274245429688],[116.257345,37.423843]]]]}},{"type":"Feature","properties":{"name":"冀州市","id":"131181"},"geometry":{"type":"MultiPolygon","coordinates":[[[[115.347345,37.5338430000001],[115.359537382813,37.5304201484375],[115.350767851563,37.5216506171875],[115.347345,37.5338430000001]]],[[[115.347345,37.5338430000001],[115.331519804688,37.5380178046875],[115.299000273438,37.5628542304688],[115.229732695313,37.58112815625],[115.207345,37.5498903632813],[115.197345,37.5638430000001],[115.171090117188,37.5990163398438],[115.18298953125,37.6081996894532],[115.195553007813,37.6389003730469],[115.247345,37.6438430000001],[115.250797148438,37.6372927070313],[115.284991484375,37.6303932929688],[115.300797148438,37.6603932929688],[115.31865359375,37.6698000312501],[115.3091028125,37.691059796875],[115.33853640625,37.7172927070313],[115.37521609375,37.7008144355469],[115.387345,37.7238430000001],[115.415640898438,37.7307936835938],[115.427345,37.713843],[115.43142703125,37.7079274726563],[115.462476835938,37.686489484375],[115.477345,37.713843],[115.482896757813,37.7093959785157],[115.491793242188,37.6982900214844],[115.502896757813,37.6893959785156],[115.511793242188,37.6782900214844],[115.522896757813,37.6693959785157],[115.533648710938,37.6318007636719],[115.647330351563,37.6175978828125],[115.682174101563,37.6219313789062],[115.687345,37.6038430000001],[115.681925078125,37.5890810371094],[115.6827746875,37.5785195136719],[115.6666028125,37.5645864082032],[115.65271609375,37.5484706855469],[115.620650664063,37.5208437324219],[115.6330871875,37.4985549140625],[115.5919153125,37.4892018867188],[115.5927746875,37.4785121894531],[115.551470976563,37.448852765625],[115.5819934375,37.3684133125],[115.618624296875,37.3713564277344],[115.64197390625,37.3512404609376],[115.62271609375,37.3384706855469],[115.607345,37.333843],[115.58142703125,37.3297585273438],[115.573013945313,37.3175722480469],[115.528609648438,37.3275258613282],[115.509176054688,37.3556740546875],[115.49142703125,37.3679274726563],[115.48326296875,37.3797585273438],[115.464522734375,37.3926943183594],[115.442345,37.3877223945313],[115.432345,37.3899636054688],[115.418995390625,37.3869704414063],[115.399176054688,37.4156740546875],[115.37697390625,37.4310024238281],[115.361890898438,37.4276210761719],[115.337345,37.443843],[115.34978640625,37.4599599433594],[115.371832304688,37.4567018867188],[115.382345,37.4703212714845],[115.391832304688,37.4580287910156],[115.407345,37.4603212714844],[115.422706328125,37.4580507636719],[115.43170046875,37.4627614570313],[115.41170046875,37.4781996894531],[115.40298953125,37.489486310547],[115.384595976563,37.5036818671875],[115.441378203125,37.4952907539062],[115.4060559375,37.5225551582031],[115.39298953125,37.5394863105469],[115.361612578125,37.5523281074219],[115.347345,37.5338430000001]]],[[[115.387345,37.7238430000001],[115.367345,37.7238430000001],[115.367345,37.733843],[115.374605742188,37.7470864082032],[115.387345,37.7238430000001]]]]}},{"type":"Feature","properties":{"name":"饶阳县","id":"131124"},"geometry":{"type":"MultiPolygon","coordinates":[[[[115.742545195313,38.3698378730469],[115.751890898438,38.3581642890625],[115.76259890625,38.3594960761719],[115.832896757813,38.3393959785156],[115.847345,38.303843],[115.82541140625,38.2992714667969],[115.839464140625,38.267993390625],[115.853892851563,38.2603932929688],[115.861905546875,38.2219765449219],[115.90037234375,38.2017128730469],[115.88603640625,38.1698000312501],[115.897345,38.163843],[115.893531523438,38.1576552558594],[115.8328528125,38.1372365546876],[115.827345,38.113843],[115.802574492188,38.1291542792969],[115.787515898438,38.1282570625001],[115.729698515625,38.1075112128907],[115.692345,38.1097365546875],[115.678521757813,38.0796181464844],[115.64158328125,38.0996913886719],[115.573409453125,38.0956288886719],[115.567345,38.153843],[115.561080351563,38.1694325996094],[115.606163359375,38.1816555000001],[115.601402617188,38.2093044257813],[115.62861453125,38.2454616523438],[115.608902617188,38.2601235175782],[115.640318632813,38.2834950996095],[115.681197539063,38.2764577460938],[115.661412382813,38.3084279609375],[115.664464140625,38.326137921875],[115.657345,38.343843],[115.689263945313,38.3478676582032],[115.697345,38.3638430000001],[115.722589140625,38.3581081367187],[115.742545195313,38.3698378730469]]]]}},{"type":"Feature","properties":{"name":"深州市","id":"131182"},"geometry":{"type":"MultiPolygon","coordinates":[[[[115.567345,38.153843],[115.573409453125,38.0956288886719],[115.64158328125,38.0996913886719],[115.678521757813,38.0796181464844],[115.692345,38.1097365546875],[115.729698515625,38.1075112128907],[115.787515898438,38.1282570625001],[115.802574492188,38.1291542792969],[115.827345,38.113843],[115.84107546875,38.10284690625],[115.809908476563,38.0778896308594],[115.781676054688,38.0392348457031],[115.785064726563,38.0119765449219],[115.771236601563,37.9884487128907],[115.805670195313,37.9786037421875],[115.792896757813,37.9482900214844],[115.772896757813,37.9322743964844],[115.781793242188,37.9182900214844],[115.787345,37.9138430000001],[115.779176054688,37.9020119453126],[115.751026640625,37.8825771308594],[115.74107546875,37.8381728339844],[115.75326296875,37.8297585273438],[115.757345,37.823843],[115.691612578125,37.8195778632813],[115.659639921875,37.8067263007813],[115.642345,37.8097035957032],[115.629508085938,37.8074941230469],[115.61291140625,37.8298012519532],[115.592345,37.8262599921876],[115.564210234375,37.8311049628907],[115.574967070313,37.7686196113281],[115.5344153125,37.7576259589844],[115.517203398438,37.7605886054688],[115.50177859375,37.7813271308594],[115.477345,37.7771218085938],[115.443922148438,37.7828749824219],[115.423077421875,37.7531325507812],[115.473077421875,37.7395778632813],[115.477345,37.713843],[115.452345,37.7199831367188],[115.427345,37.713843],[115.415640898438,37.7307936835938],[115.387345,37.7238430000001],[115.374605742188,37.7470864082032],[115.367345,37.733843],[115.336261015625,37.7418202949219],[115.355235625,37.7709572578125],[115.348980742188,37.7988430000001],[115.360303984375,37.8493361640625],[115.38326296875,37.8579274726563],[115.39142703125,37.8667018867188],[115.36142703125,37.8779274726562],[115.35326296875,37.8992189765625],[115.40326296875,37.9179274726562],[115.412345,37.9422060371094],[115.451397734375,37.9334499335937],[115.440103789063,37.9838430000001],[115.44361453125,37.9995131660157],[115.430103789063,38.008843],[115.44361453125,38.0181728339844],[115.44107546875,38.0295131660156],[115.45326296875,38.0379274726563],[115.46142703125,38.0597585273438],[115.478428984375,38.0858657050781],[115.447345,38.093843],[115.439405546875,38.1002016425782],[115.443941679688,38.1366811347657],[115.431397734375,38.1693117500001],[115.472896757813,38.1782900214844],[115.506143828125,38.1978322578126],[115.521793242188,38.1782900214844],[115.532896757813,38.1693959785157],[115.541793242188,38.1582900214844],[115.567345,38.153843]]]]}},{"type":"Feature","properties":{"name":"桃城区","id":"131102"},"geometry":{"type":"MultiPolygon","coordinates":[[[[115.477345,37.713843],[115.462476835938,37.686489484375],[115.43142703125,37.7079274726563],[115.427345,37.713843],[115.452345,37.7199831367188],[115.477345,37.713843]]],[[[115.477345,37.713843],[115.473077421875,37.7395778632813],[115.423077421875,37.7531325507812],[115.443922148438,37.7828749824219],[115.477345,37.7771218085938],[115.50177859375,37.7813271308594],[115.517203398438,37.7605886054688],[115.5344153125,37.7576259589844],[115.574967070313,37.7686196113281],[115.564210234375,37.8311049628907],[115.592345,37.8262599921876],[115.61291140625,37.8298012519532],[115.629508085938,37.8074941230469],[115.642345,37.8097035957032],[115.659639921875,37.8067263007813],[115.691612578125,37.8195778632813],[115.757345,37.823843],[115.790201445313,37.8190602851563],[115.774854765625,37.7698024726563],[115.810992460938,37.7574892402344],[115.82281375,37.7227968574219],[115.844366484375,37.709516828125],[115.828385039063,37.673843],[115.837345,37.653843],[115.821519804688,37.6494362617188],[115.8236340625,37.6351039863282],[115.73170046875,37.6194863105469],[115.70298953125,37.6081996894532],[115.687345,37.6038430000001],[115.682174101563,37.6219313789062],[115.647330351563,37.6175978828125],[115.533648710938,37.6318007636719],[115.522896757813,37.6693959785157],[115.511793242188,37.6782900214844],[115.502896757813,37.6893959785156],[115.491793242188,37.6982900214844],[115.482896757813,37.7093959785157],[115.477345,37.713843]]]]}},{"type":"Feature","properties":{"name":"武强县","id":"131123"},"geometry":{"type":"MultiPolygon","coordinates":[[[[115.987345,37.9838430000001],[115.999537382813,37.9804201484375],[115.990767851563,37.9716506171876],[115.987345,37.9838430000001]]],[[[115.987345,37.9838430000001],[115.961881132813,37.9793056464844],[115.93634890625,37.9646804023438],[115.915704375,37.9398268867188],[115.821881132813,37.9293056464844],[115.802667265625,37.9183010078126],[115.791954375,37.9193923164063],[115.787345,37.9138430000001],[115.781793242188,37.9182900214844],[115.772896757813,37.9322743964844],[115.792896757813,37.9482900214844],[115.805670195313,37.9786037421875],[115.771236601563,37.9884487128907],[115.785064726563,38.0119765449219],[115.781676054688,38.0392348457031],[115.809908476563,38.0778896308594],[115.84107546875,38.10284690625],[115.827345,38.113843],[115.8328528125,38.1372365546876],[115.893531523438,38.1576552558594],[115.897345,38.163843],[115.92298953125,38.1594863105469],[115.932081328125,38.1477053046875],[115.987345,38.1259804511719],[116.043863554688,38.1481996894532],[116.04298953125,38.1181996894531],[116.028189726563,38.0936659980469],[116.047345,38.0638430000001],[116.050704375,38.0472023750001],[116.068116484375,38.03839378125],[116.038585234375,38.0298720527344],[116.054976835938,38.0092348457032],[116.049893828125,37.9988283515626],[116.057345,37.9838430000001],[116.040885039063,37.9873830390625],[116.024605742188,38.0170864082032],[116.013267851563,37.9964028144532],[115.997735625,38.0028029609375],[115.987345,37.9838430000001]]]]}},{"type":"Feature","properties":{"name":"武邑县","id":"131122"},"geometry":{"type":"MultiPolygon","coordinates":[[[[116.077345,37.8738430000001],[116.04439578125,37.8695619941407],[116.070260039063,37.8603932929688],[116.095767851563,37.8691152167969],[116.086588164063,37.8281728339844],[116.114093046875,37.809184796875],[116.097345,37.783843],[116.071158476563,37.7800307441407],[116.059263945313,37.7451308417969],[116.037345,37.751958234375],[116.00373171875,37.7414882636719],[116.013975859375,37.7086025214844],[115.98556765625,37.6481349921875],[115.967345,37.6438430000001],[115.923219023438,37.6264968085938],[115.884996367188,37.6321462226563],[115.837345,37.653843],[115.828385039063,37.673843],[115.844366484375,37.709516828125],[115.82281375,37.7227968574219],[115.810992460938,37.7574892402344],[115.774854765625,37.7698024726563],[115.790201445313,37.8190602851563],[115.757345,37.823843],[115.75326296875,37.8297585273438],[115.74107546875,37.8381728339844],[115.751026640625,37.8825771308594],[115.779176054688,37.9020119453126],[115.787345,37.9138430000001],[115.791954375,37.9193923164063],[115.802667265625,37.9183010078126],[115.821881132813,37.9293056464844],[115.915704375,37.9398268867188],[115.93634890625,37.9646804023438],[115.961881132813,37.9793056464844],[115.987345,37.9838430000001],[115.990767851563,37.9716506171876],[115.999537382813,37.9804201484375],[115.987345,37.9838430000001],[115.997735625,38.0028029609375],[116.013267851563,37.9964028144532],[116.024605742188,38.0170864082032],[116.040885039063,37.9873830390625],[116.057345,37.9838430000001],[116.07326296875,37.9797585273438],[116.09142703125,37.9479274726563],[116.104093046875,37.9391847968751],[116.087345,37.9138430000001],[116.083985625,37.907202375],[116.0654309375,37.8978151679688],[116.077345,37.8738430000001]]]]}},{"type":"Feature","properties":{"name":"枣强县","id":"131121"},"geometry":{"type":"MultiPolygon","coordinates":[[[[115.797345,37.363843],[115.793922148438,37.3760353828125],[115.785152617188,37.3672658515625],[115.793170195313,37.3580178046875],[115.781378203125,37.3495680976563],[115.771358671875,37.2988430000001],[115.779947539063,37.255376203125],[115.753170195313,37.2180178046876],[115.747345,37.213843],[115.728233671875,37.2195973945313],[115.693316679688,37.2601259589844],[115.671998320313,37.2584133125],[115.661651640625,37.2815993476563],[115.621099882813,37.2783412910156],[115.6227746875,37.2991970039063],[115.582730742188,37.3112538886719],[115.60271609375,37.3284706855469],[115.607345,37.333843],[115.62271609375,37.3384706855469],[115.64197390625,37.3512404609376],[115.618624296875,37.3713564277344],[115.5819934375,37.3684133125],[115.551470976563,37.448852765625],[115.5927746875,37.4785121894531],[115.5919153125,37.4892018867188],[115.6330871875,37.4985549140625],[115.620650664063,37.5208437324219],[115.65271609375,37.5484706855469],[115.6666028125,37.5645864082032],[115.6827746875,37.5785195136719],[115.681925078125,37.5890810371094],[115.687345,37.6038430000001],[115.70298953125,37.6081996894532],[115.73170046875,37.6194863105469],[115.8236340625,37.6351039863282],[115.821519804688,37.6494362617188],[115.837345,37.653843],[115.884996367188,37.6321462226563],[115.923219023438,37.6264968085938],[115.967345,37.6438430000001],[115.9611340625,37.6215322089844],[115.926607695313,37.6074013496094],[115.9069153125,37.5573183417969],[115.917345,37.4938430000001],[115.89142703125,37.4897585273438],[115.881085234375,37.4494557929688],[115.884342070313,37.4349416328126],[115.8541028125,37.3885097480469],[115.8308215625,37.3724330878907],[115.797345,37.363843]]]]}}]}