spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"登封市","id":"410185"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.172535429688,34.5890334296876],[113.184178496094,34.4796327949219],[113.207198515625,34.5044765449219],[113.282928496094,34.4749867988282],[113.312535429688,34.4190334296875],[113.317345,34.4038430000001],[113.31170046875,34.3894863105469],[113.30298953125,34.3581996894531],[113.27170046875,34.3494863105469],[113.250767851563,34.3368593574219],[113.230955839844,34.3397866035156],[113.186058378906,34.3051308417969],[113.167257109375,34.2807741523438],[113.11298953125,34.2681996894531],[113.077345,34.263843],[113.070941191406,34.2721388984376],[113.000826445313,34.3008351875],[112.977345,34.2973647285156],[112.952345,34.301059796875],[112.912345,34.2951491523438],[112.841136503906,34.3056716132813],[112.843990507813,34.3249831367188],[112.806737089844,34.3402309394532],[112.786097441406,34.3371804023438],[112.757345,34.343843],[112.753531523438,34.3500307441407],[112.731158476563,34.3576552558594],[112.720650664063,34.3884877753906],[112.733531523438,34.4276552558594],[112.737345,34.493843],[112.772659941406,34.499536359375],[112.802633085938,34.4819167304688],[112.832345,34.4782216621094],[112.842345,34.4794643378906],[112.911297636719,34.4708888984375],[112.923785429688,34.5286147285157],[112.977345,34.533843],[113.0082434375,34.5211452460937],[113.03502078125,34.5585036445313],[113.092345,34.5698305488282],[113.105303984375,34.5672707343751],[113.133170195313,34.5780178046876],[113.141519804688,34.5896681953125],[113.157345,34.5938430000001],[113.172535429688,34.5890334296876]]]]}},{"type":"Feature","properties":{"name":"二七区","id":"410103"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.657345,34.763843],[113.668319121094,34.6970363593751],[113.651485625,34.6691298652344],[113.657345,34.643843],[113.619798613281,34.6413893867188],[113.613607207031,34.6223415351563],[113.600657988281,34.635786359375],[113.594891386719,34.6062966132813],[113.577345,34.603843],[113.570794707031,34.6072927070313],[113.562345,34.6355825019531],[113.529271269531,34.6207228828125],[113.49826296875,34.6447585273438],[113.50502078125,34.65980003125],[113.497345,34.663843],[113.501429472656,34.6997585273438],[113.507345,34.723843],[113.523260527344,34.7197585273438],[113.542345,34.7073305488281],[113.562147246094,34.7202260566406],[113.608819609375,34.7006227851563],[113.621429472656,34.7497585273438],[113.627345,34.763843],[113.657345,34.763843]]]]}},{"type":"Feature","properties":{"name":"巩义市","id":"410181"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.167345,34.7538430000001],[113.155152617188,34.7504201484375],[113.163922148438,34.7416506171875],[113.185545683594,34.7614882636719],[113.222345,34.7532387519532],[113.269039335938,34.76370628125],[113.261224394531,34.728843],[113.263499785156,34.718696515625],[113.251190214844,34.678989484375],[113.2556653125,34.6590297675781],[113.223260527344,34.6379274726563],[113.201429472656,34.6297585273438],[113.197345,34.623843],[113.187345,34.623843],[113.187345,34.603843],[113.157345,34.603843],[113.157345,34.5938430000001],[113.141519804688,34.5896681953125],[113.133170195313,34.5780178046876],[113.105303984375,34.5672707343751],[113.092345,34.5698305488282],[113.03502078125,34.5585036445313],[113.0082434375,34.5211452460937],[112.977345,34.533843],[112.972899199219,34.5393959785156],[112.884036894531,34.5505104804688],[112.852899199219,34.5893959785157],[112.841790800781,34.5982900214844],[112.82634890625,34.6870290351563],[112.857074003906,34.7116347480469],[112.892474394531,34.6980275703125],[112.931790800781,34.7222743964844],[112.901441679688,34.7465785957032],[112.902967558594,34.758843],[112.900513945313,34.7785610175781],[112.811790800781,34.7882900214844],[112.807345,34.793843],[112.810704375,34.810483625],[112.817345,34.8238430000001],[112.839298125,34.8146230292969],[112.886395292969,34.8539003730469],[112.927345,34.843843],[112.937503691406,34.8296681953126],[112.963170195313,34.8480178046876],[112.977503691406,34.8680178046875],[113.013170195313,34.8596681953125],[113.048682890625,34.8371218085937],[113.128109160156,34.8529799628907],[113.157345,34.833843],[113.150042753906,34.8041127753907],[113.153465605469,34.7888430000001],[113.151121855469,34.7783913398438],[113.167345,34.7538430000001]]]]}},{"type":"Feature","properties":{"name":"管城回族区","id":"410104"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.821429472656,34.7579274726562],[113.837345,34.7538430000001],[113.847349882813,34.7337136054687],[113.823985625,34.687202375],[113.810704375,34.6804836250001],[113.803985625,34.667202375],[113.790704375,34.660483625],[113.787345,34.623843],[113.752415800781,34.6182118964844],[113.727366972656,34.6213283515625],[113.69834109375,34.6575746894532],[113.680284453125,34.6350258613282],[113.657345,34.643843],[113.651485625,34.6691298652344],[113.668319121094,34.6970363593751],[113.657345,34.763843],[113.671429472656,34.7579274726562],[113.703260527344,34.7497585273438],[113.722345,34.7373305488281],[113.758443632813,34.7608388496094],[113.780230742188,34.7559548164062],[113.802345,34.7703554511719],[113.821429472656,34.7579274726562]]]]}},{"type":"Feature","properties":{"name":"惠济区","id":"410108"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.643260527344,34.9297585273438],[113.674276152344,34.9057204414063],[113.744224882813,34.9229018378907],[113.775091582031,34.9015895820313],[113.787345,34.883843],[113.796412382813,34.8602516914063],[113.71373171875,34.8705361152344],[113.692899199219,34.8582900214844],[113.633648710938,34.8479787421876],[113.622899199219,34.7982900214844],[113.617345,34.793843],[113.602977324219,34.8062221503907],[113.584464140625,34.8477089667969],[113.570174589844,34.8600209785157],[113.507345,34.853843],[113.491754179688,34.8788222480469],[113.502769804688,34.8985671210938],[113.497345,34.963843],[113.553985625,34.9604836250001],[113.587345,34.9438430000001],[113.591429472656,34.9379274726563],[113.643260527344,34.9297585273438]]]]}},{"type":"Feature","properties":{"name":"金水区","id":"410105"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.853079863281,34.8681081367188],[113.833331328125,34.8361989570313],[113.844461699219,34.7715480781251],[113.837345,34.7538430000001],[113.821429472656,34.7579274726562],[113.802345,34.7703554511719],[113.780230742188,34.7559548164062],[113.758443632813,34.7608388496094],[113.722345,34.7373305488281],[113.703260527344,34.7497585273438],[113.671429472656,34.7579274726562],[113.657345,34.763843],[113.627345,34.763843],[113.620704375,34.7772023750001],[113.617345,34.793843],[113.622899199219,34.7982900214844],[113.633648710938,34.8479787421876],[113.692899199219,34.8582900214844],[113.71373171875,34.8705361152344],[113.796412382813,34.8602516914063],[113.787345,34.883843],[113.857345,34.883843],[113.853079863281,34.8681081367188]]]]}},{"type":"Feature","properties":{"name":"上街区","id":"410106"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.31312625,34.8085512519531],[113.307345,34.793843],[113.253577910156,34.8154982734375],[113.250223417969,34.8381996894532],[113.310208769531,34.8282949042969],[113.31312625,34.8085512519531]]]]}},{"type":"Feature","properties":{"name":"新密市","id":"410183"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.567345,34.413843],[113.563922148438,34.4260353828126],[113.555152617188,34.4172658515625],[113.55970828125,34.3840810371094],[113.513206816406,34.3666811347657],[113.507345,34.343843],[113.454515410156,34.3372426582032],[113.422628203125,34.3494997382813],[113.411846953125,34.3481594062501],[113.402899199219,34.3693959785157],[113.371790800781,34.3782900214844],[113.356832304688,34.3969716621094],[113.317345,34.4038430000001],[113.312535429688,34.4190334296875],[113.282928496094,34.4749867988282],[113.207198515625,34.5044765449219],[113.184178496094,34.4796327949219],[113.172535429688,34.5890334296876],[113.157345,34.5938430000001],[113.157345,34.603843],[113.187345,34.603843],[113.187345,34.623843],[113.197345,34.623843],[113.204620390625,34.6147573066406],[113.322625761719,34.6295009589844],[113.354508085938,34.6172463203125],[113.381890898438,34.6206520820313],[113.396175566406,34.6028151679688],[113.45099734375,34.6259169746094],[113.476624785156,34.6579189277344],[113.497345,34.663843],[113.50502078125,34.65980003125],[113.49826296875,34.6447585273438],[113.529271269531,34.6207228828125],[113.562345,34.6355825019531],[113.570794707031,34.6072927070313],[113.577345,34.603843],[113.580704375,34.587202375],[113.593985625,34.580483625],[113.600704375,34.567202375],[113.648675566406,34.5597560859375],[113.668001738281,34.5354274726563],[113.659713164063,34.5184511542969],[113.678643828125,34.4946181464844],[113.650704375,34.480483625],[113.643985625,34.457202375],[113.610704375,34.440483625],[113.583985625,34.417202375],[113.567345,34.413843]]]]}},{"type":"Feature","properties":{"name":"新郑市","id":"410184"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.567345,34.413843],[113.555152617188,34.4172658515625],[113.563922148438,34.4260353828126],[113.567345,34.413843]]],[[[113.567345,34.413843],[113.583985625,34.417202375],[113.610704375,34.440483625],[113.643985625,34.457202375],[113.650704375,34.480483625],[113.678643828125,34.4946181464844],[113.659713164063,34.5184511542969],[113.668001738281,34.5354274726563],[113.648675566406,34.5597560859375],[113.600704375,34.567202375],[113.593985625,34.580483625],[113.580704375,34.587202375],[113.577345,34.603843],[113.594891386719,34.6062966132813],[113.600657988281,34.635786359375],[113.613607207031,34.6223415351563],[113.619798613281,34.6413893867188],[113.657345,34.643843],[113.680284453125,34.6350258613282],[113.69834109375,34.6575746894532],[113.727366972656,34.6213283515625],[113.752415800781,34.6182118964844],[113.787345,34.623843],[113.833079863281,34.5995778632813],[113.841610136719,34.5881081367187],[113.853304472656,34.5794106269532],[113.844207792969,34.5265810371095],[113.891092558594,34.5346535468751],[113.879859648438,34.4694106269532],[113.893079863281,34.4595778632813],[113.897345,34.453843],[113.871785917969,34.4124977851563],[113.877345,34.3338430000001],[113.840804472656,34.3253762031251],[113.795889921875,34.3320131660156],[113.766832304688,34.3144850898438],[113.725689726563,34.3205654121094],[113.692857695313,34.2780287910157],[113.677345,34.2803212714844],[113.654783964844,34.2769875312501],[113.637345,34.283843],[113.623250761719,34.3067189765625],[113.573189726563,34.3237783027344],[113.542345,34.3141713691407],[113.512115507813,34.3235866523438],[113.507345,34.343843],[113.513206816406,34.3666811347657],[113.55970828125,34.3840810371094],[113.567345,34.413843]]]]}},{"type":"Feature","properties":{"name":"中牟县","id":"410122"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.126475859375,34.9644313789063],[114.201849394531,34.9335829902344],[114.207345,34.913843],[114.201600371094,34.8788771796875],[114.204007597656,34.8625942207032],[114.197345,34.833843],[114.178992949219,34.8271034980469],[114.152345,34.8292446113282],[114.1155090625,34.82628440625],[114.163074980469,34.7687807441406],[114.144046660156,34.7523867011719],[114.13271609375,34.7350612617188],[114.152769804688,34.6991213203125],[114.151942167969,34.688843],[114.153155546875,34.6737514472657],[114.147345,34.603843],[114.132000761719,34.6097414375001],[114.102078886719,34.5604775214844],[114.080941191406,34.4809291816407],[114.032230253906,34.4996535468751],[114.0002746875,34.4808693671875],[114.018131132813,34.4504946113282],[113.986187773438,34.4370351386719],[113.939527617188,34.4503578925782],[113.914508085938,34.4472463203126],[113.897345,34.453843],[113.893079863281,34.4595778632813],[113.879859648438,34.4694106269532],[113.891092558594,34.5346535468751],[113.844207792969,34.5265810371095],[113.853304472656,34.5794106269532],[113.841610136719,34.5881081367187],[113.833079863281,34.5995778632813],[113.787345,34.623843],[113.790704375,34.660483625],[113.803985625,34.667202375],[113.810704375,34.6804836250001],[113.823985625,34.687202375],[113.847349882813,34.7337136054687],[113.837345,34.7538430000001],[113.844461699219,34.7715480781251],[113.833331328125,34.8361989570313],[113.853079863281,34.8681081367188],[113.857345,34.883843],[113.89170046875,34.8994863105469],[113.96298953125,34.9081996894532],[113.990113554688,34.9433412910156],[114.048800078125,34.9520131660157],[114.077345,34.9347951484375],[114.126475859375,34.9644313789063]]]]}},{"type":"Feature","properties":{"name":"中原区","id":"410102"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.584464140625,34.8477089667969],[113.602977324219,34.8062221503907],[113.617345,34.793843],[113.620704375,34.7772023750001],[113.627345,34.763843],[113.621429472656,34.7497585273438],[113.608819609375,34.7006227851563],[113.562147246094,34.7202260566406],[113.542345,34.7073305488281],[113.523260527344,34.7197585273438],[113.507345,34.723843],[113.470916777344,34.7285036445313],[113.484383574219,34.7396901679688],[113.453240996094,34.7655580878907],[113.482896757813,34.7784194160157],[113.480677519531,34.8002016425781],[113.451673613281,34.7972450996094],[113.452855253906,34.808843],[113.450816679688,34.8288430000001],[113.476436796875,34.8399550605469],[113.492735625,34.8382936835938],[113.501883574219,34.8493056464844],[113.507345,34.853843],[113.570174589844,34.8600209785157],[113.584464140625,34.8477089667969]]]]}},{"type":"Feature","properties":{"name":"荥阳市","id":"410182"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.167345,34.7538430000001],[113.163922148438,34.7416506171875],[113.155152617188,34.7504201484375],[113.167345,34.7538430000001]]],[[[113.167345,34.7538430000001],[113.151121855469,34.7783913398438],[113.153465605469,34.7888430000001],[113.150042753906,34.8041127753907],[113.157345,34.833843],[113.164080839844,34.8471559882813],[113.210650664063,34.8705495429688],[113.227345,34.9038430000001],[113.255240507813,34.9522255683594],[113.333316679688,34.9459523750001],[113.378563261719,34.9984706855469],[113.458072539063,34.9746059394532],[113.47209109375,34.9583339667969],[113.497345,34.963843],[113.502769804688,34.8985671210938],[113.491754179688,34.8788222480469],[113.507345,34.853843],[113.501883574219,34.8493056464844],[113.492735625,34.8382936835938],[113.476436796875,34.8399550605469],[113.450816679688,34.8288430000001],[113.452855253906,34.808843],[113.451673613281,34.7972450996094],[113.480677519531,34.8002016425781],[113.482896757813,34.7784194160157],[113.453240996094,34.7655580878907],[113.484383574219,34.7396901679688],[113.470916777344,34.7285036445313],[113.507345,34.723843],[113.501429472656,34.6997585273438],[113.497345,34.663843],[113.476624785156,34.6579189277344],[113.45099734375,34.6259169746094],[113.396175566406,34.6028151679688],[113.381890898438,34.6206520820313],[113.354508085938,34.6172463203125],[113.322625761719,34.6295009589844],[113.204620390625,34.6147573066406],[113.197345,34.623843],[113.201429472656,34.6297585273438],[113.223260527344,34.6379274726563],[113.2556653125,34.6590297675781],[113.251190214844,34.678989484375],[113.263499785156,34.718696515625],[113.261224394531,34.728843],[113.269039335938,34.76370628125],[113.222345,34.7532387519532],[113.185545683594,34.7614882636719],[113.167345,34.7538430000001]],[[113.307345,34.793843],[113.31312625,34.8085512519531],[113.310208769531,34.8282949042969],[113.250223417969,34.8381996894532],[113.253577910156,34.8154982734375],[113.307345,34.793843]]]]}}]}