spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"安陆市","id":"420982"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.607345,31.0938430000001],[113.594537382813,31.098843],[113.607345,31.103843],[113.607345,31.0938430000001]]],[[[113.607345,31.0938430000001],[113.620152617188,31.098843],[113.607345,31.103843],[113.602625761719,31.1191237617188],[113.572064238281,31.1285622382813],[113.554212675781,31.148540265625],[113.502447539063,31.1084230781251],[113.487345,31.113843],[113.480748320313,31.1310060859375],[113.483587675781,31.153843],[113.474154082031,31.2296901679688],[113.462345,31.2282204414063],[113.44248171875,31.2306911445313],[113.405064726563,31.292290265625],[113.362345,31.286977765625],[113.352899199219,31.3093971992188],[113.33068484375,31.3271828437501],[113.317345,31.343843],[113.32298953125,31.3681984687501],[113.333182402344,31.42819846875],[113.36298953125,31.4194875312501],[113.382345,31.4078102851563],[113.404190703125,31.4209889960938],[113.471112089844,31.4308766914063],[113.522110625,31.3930666328125],[113.587345,31.423843],[113.598089628906,31.4145876289063],[113.619840117188,31.3893386054687],[113.66271609375,31.40847190625],[113.718616972656,31.47335471875],[113.77271609375,31.4492140937501],[113.792066679688,31.4384181953125],[113.802345,31.4392458320312],[113.820787382813,31.4377638984375],[113.853590117188,31.449809796875],[113.881651640625,31.4172365546875],[113.899947539063,31.43847190625],[113.943197050781,31.4088845039063],[113.93197390625,31.39921409375],[113.927345,31.3938430000001],[113.921429472656,31.3897585273438],[113.913016386719,31.3775710273437],[113.902345,31.3799636054688],[113.892345,31.3777223945313],[113.881793242188,31.3800881171875],[113.853260527344,31.3543654609375],[113.863565703125,31.3083962226563],[113.844105253906,31.27851096875],[113.820472441406,31.2621950507813],[113.824586210938,31.2438430000001],[113.821124296875,31.2283962226563],[113.833856230469,31.2088430000001],[113.814105253906,31.1785109687501],[113.807345,31.173843],[113.800990019531,31.1841555],[113.721461210938,31.2109181953125],[113.713531523438,31.1876564765626],[113.701158476563,31.1800295234375],[113.693531523438,31.1676564765625],[113.681158476563,31.1600295234375],[113.665748320313,31.1350221992188],[113.67420046875,31.1078835273438],[113.651158476563,31.1000295234375],[113.643531523438,31.0676564765626],[113.627345,31.063843],[113.620704375,31.0672023750001],[113.607345,31.0938430000001]]]]}},{"type":"Feature","properties":{"name":"大悟县","id":"420922"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.288597441406,31.7588649726562],[114.430667753906,31.7372536445313],[114.467345,31.739438703125],[114.490845976563,31.7380373359376],[114.5026575,31.7485890937501],[114.501470976563,31.7684938789063],[114.51259890625,31.7691555],[114.532345,31.7470558906251],[114.552198515625,31.7692775703125],[114.567345,31.763843],[114.58443484375,31.7599343085938],[114.573761015625,31.728843],[114.584351835938,31.6979982734375],[114.571065703125,31.690122296875],[114.563624296875,31.667563703125],[114.551065703125,31.650122296875],[114.547345,31.573843],[114.54326296875,31.5579274726563],[114.506939726563,31.5443361640625],[114.497862578125,31.5038430000001],[114.5066809375,31.4645095039063],[114.4783996875,31.4708473945313],[114.470103789063,31.4338430000001],[114.4766809375,31.4045095039062],[114.451573515625,31.4101369453125],[114.44326296875,31.3879274726563],[114.42490359375,31.3752516914063],[114.421073027344,31.3581716132813],[114.433616972656,31.3495143867187],[114.431214628906,31.3388014960938],[114.437345,31.3138430000001],[114.318563261719,31.3212892890625],[114.282720976563,31.36140159375],[114.247345,31.3538430000001],[114.241610136719,31.3581081367188],[114.226878691406,31.3779128242188],[114.142345,31.357934796875],[114.077513457031,31.3732570625],[114.063079863281,31.4095778632813],[114.051610136719,31.4181081367188],[114.047345,31.4338430000001],[114.063765898438,31.4599025703126],[114.060855742188,31.488452375],[114.072894316406,31.498452375],[114.071795683594,31.5092336250001],[114.082806425781,31.5183815742188],[114.091883574219,31.5293044257812],[114.103363066406,31.538843],[114.083026152344,31.5557375312501],[114.103682890625,31.6107106757812],[114.101803007813,31.629165265625],[114.128033476563,31.6749636054688],[114.089193144531,31.7072267890625],[114.104334746094,31.7752419257812],[114.097345,31.793843],[114.107345,31.793843],[114.107345,31.803843],[114.11298953125,31.80819846875],[114.134964628906,31.8449440742188],[114.187345,31.8538430000001],[114.231170683594,31.8231374335938],[114.288597441406,31.7588649726562]]]]}},{"type":"Feature","properties":{"name":"汉川市","id":"420984"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.383922148438,30.6860353828126],[113.387345,30.6738430000001],[113.375152617188,30.6772658515625],[113.383922148438,30.6860353828126]]],[[[113.445267363281,30.798403546875],[113.510902128906,30.7174587226563],[113.533326445313,30.7299684882813],[113.573702421875,30.726723859375],[113.621956816406,30.7412526679688],[113.599151640625,30.760903546875],[113.63197390625,30.77921409375],[113.673460722656,30.7977272773438],[113.701373320313,30.8301271796875],[113.722669707031,30.8284157539063],[113.73197390625,30.8392140937501],[113.737345,30.843843],[113.74298953125,30.83948753125],[113.75170046875,30.81819846875],[113.787181425781,30.8036794257813],[113.80170046875,30.76819846875],[113.815994902344,30.7571657539063],[113.832345,30.7595827460937],[113.853436308594,30.7564650703126],[113.851600371094,30.7688771796875],[113.857345,30.803843],[113.901058378906,30.7964162421876],[113.907345,30.773843],[113.901160917969,30.7591213203125],[113.908509550781,30.7263405585937],[113.883260527344,30.7319997382813],[113.891861601563,30.7171804023438],[113.921898222656,30.697622296875],[113.935697050781,30.7007155585938],[113.947345,30.683843],[113.921092558594,30.6486696601563],[113.933160429688,30.6393556953126],[113.930867949219,30.623843],[113.937034941406,30.5821096015625],[113.883878203125,30.567309796875],[113.872542753906,30.52659690625],[113.847738066406,30.5302638984375],[113.82298953125,30.49819846875],[113.800413847656,30.4807741523438],[113.767611113281,30.43827659375],[113.715030546875,30.4167580390625],[113.697345,30.393843],[113.665513945313,30.4020119453125],[113.651673613281,30.422055890625],[113.632345,30.4177223945313],[113.61724734375,30.4211061835938],[113.629845,30.4772951484375],[113.594622832031,30.4904738593751],[113.564105253906,30.4836330390625],[113.542274199219,30.4520143867188],[113.533260527344,30.4279274726563],[113.504151640625,30.417036359375],[113.492264433594,30.3852663398438],[113.457345,30.393843],[113.45298953125,30.45948753125],[113.430282011719,30.4971315742187],[113.446392851563,30.523843],[113.426307402344,30.5571413398438],[113.456092558594,30.6253005195313],[113.429078398438,30.6617360664063],[113.433084746094,30.688843],[113.430867949219,30.7038430000001],[113.433140898438,30.719233625],[113.421549101563,30.738452375],[113.4284778125,30.7853395820313],[113.377345,30.853843],[113.384422636719,30.862055890625],[113.42197390625,30.81847190625],[113.445267363281,30.798403546875]]]]}},{"type":"Feature","properties":{"name":"孝昌县","id":"420921"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.047345,31.4338430000001],[114.051610136719,31.4181081367188],[114.063079863281,31.4095778632813],[114.077513457031,31.3732570625],[114.142345,31.357934796875],[114.226878691406,31.3779128242188],[114.241610136719,31.3581081367188],[114.247345,31.3538430000001],[114.227532988281,31.3162819648438],[114.18797,31.2919045234376],[114.173531523438,31.2455495429688],[114.20963015625,31.2081764960938],[114.241158476563,31.1974318671875],[114.233531523438,31.1676564765625],[114.174444609375,31.1026442695313],[114.187345,31.073843],[114.17170046875,31.07819846875],[114.15298953125,31.08948753125],[114.115926542969,31.1046559882813],[114.10298953125,31.0581984687501],[114.062652617188,31.046968],[114.04490359375,31.0699611640625],[114.032345,31.0681032539063],[114.0219153125,31.0696462226563],[113.989451933594,31.0455763984375],[113.956268339844,31.0504787421876],[113.97298953125,31.07819846875],[113.983385039063,31.1394020820313],[113.933995390625,31.1498244453125],[113.917838164063,31.1474391914063],[113.898631621094,31.1225563789063],[113.88170046875,31.10948753125],[113.87298953125,31.08819846875],[113.85170046875,31.0794875312501],[113.84298953125,31.0681984687501],[113.827345,31.063843],[113.817432890625,31.08378440625],[113.829671660156,31.108843],[113.8174621875,31.133843],[113.825269804688,31.1498342109375],[113.810704375,31.157202375],[113.807345,31.173843],[113.814105253906,31.1785109687501],[113.833856230469,31.2088430000001],[113.821124296875,31.2283962226563],[113.824586210938,31.2438430000001],[113.820472441406,31.2621950507813],[113.844105253906,31.27851096875],[113.863565703125,31.3083962226563],[113.853260527344,31.3543654609375],[113.881793242188,31.3800881171875],[113.892345,31.3777223945313],[113.902345,31.3799636054688],[113.913016386719,31.3775710273437],[113.921429472656,31.3897585273438],[113.927345,31.3938430000001],[113.931861601563,31.3873024726563],[113.975767851563,31.3985720039063],[113.968011503906,31.4331764960938],[114.01033328125,31.4236891914063],[114.024088164063,31.4436110664063],[114.047345,31.4338430000001]]]]}},{"type":"Feature","properties":{"name":"孝南区","id":"420902"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.956268339844,31.0504787421876],[113.989451933594,31.0455763984375],[114.0219153125,31.0696462226563],[114.032345,31.0681032539063],[114.04490359375,31.0699611640625],[114.062652617188,31.046968],[114.10298953125,31.0581984687501],[114.115926542969,31.1046559882813],[114.15298953125,31.08948753125],[114.17170046875,31.07819846875],[114.187345,31.073843],[114.178450957031,31.0627370429687],[114.153448515625,31.0427150703126],[114.151688261719,31.028559796875],[114.166102324219,30.9910573554688],[114.151678496094,30.8885866523437],[114.170325957031,30.8400710273438],[114.172967558594,30.8188430000001],[114.170479765625,30.798843],[114.174232207031,30.7686721015626],[114.157345,30.763843],[114.124241972656,30.7759987617188],[113.992948027344,30.7893923164063],[113.907345,30.773843],[113.901058378906,30.7964162421876],[113.857345,30.803843],[113.861883574219,30.8093044257812],[113.883873320313,30.8188430000001],[113.853240996094,30.8321291328125],[113.872806425781,30.8483815742188],[113.881883574219,30.8603249335938],[113.862020292969,30.8583010078125],[113.832806425781,30.8753688789063],[113.862806425781,30.8883815742188],[113.871883574219,30.8953688789063],[113.833240996094,30.9121291328126],[113.852894316406,30.928452375],[113.851834746094,30.9388430000001],[113.852882109375,30.9491091132813],[113.830736113281,31.0080471015625],[113.834486113281,31.0448415351562],[113.827345,31.063843],[113.84298953125,31.0681984687501],[113.85170046875,31.0794875312501],[113.87298953125,31.08819846875],[113.88170046875,31.10948753125],[113.898631621094,31.1225563789063],[113.917838164063,31.1474391914063],[113.933995390625,31.1498244453125],[113.983385039063,31.1394020820313],[113.97298953125,31.07819846875],[113.956268339844,31.0504787421876]]]]}},{"type":"Feature","properties":{"name":"应城市","id":"420981"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.607345,31.0938430000001],[113.607345,31.103843],[113.620152617188,31.098843],[113.607345,31.0938430000001]]],[[[113.607345,31.103843],[113.594537382813,31.098843],[113.607345,31.0938430000001],[113.620704375,31.0672023750001],[113.627345,31.063843],[113.633043242188,31.0433766914063],[113.680716582031,31.0148659492188],[113.683084746094,30.998843],[113.681529570313,30.9883303046875],[113.702178984375,30.9723928046875],[113.71170046875,30.93819846875],[113.770382109375,30.8939064765626],[113.746058378906,30.8751296210938],[113.737345,30.843843],[113.73197390625,30.8392140937501],[113.722669707031,30.8284157539063],[113.701373320313,30.8301271796875],[113.673460722656,30.7977272773438],[113.63197390625,30.77921409375],[113.599151640625,30.760903546875],[113.621956816406,30.7412526679688],[113.573702421875,30.726723859375],[113.533326445313,30.7299684882813],[113.510902128906,30.7174587226563],[113.445267363281,30.798403546875],[113.42197390625,30.81847190625],[113.384422636719,30.862055890625],[113.377345,30.853843],[113.357345,30.853843],[113.357345,30.873843],[113.337345,30.873843],[113.337345,30.8938430000001],[113.327345,30.8938430000001],[113.320382109375,30.9107888007813],[113.331636992188,30.9399709296876],[113.352345,30.9358791328126],[113.361519804688,30.9596681953125],[113.383472929688,30.9681349921875],[113.379490996094,30.9882863593751],[113.423170195313,31.0180178046875],[113.431519804688,31.0296681953126],[113.452506132813,31.0447096992188],[113.465194121094,31.1079982734375],[113.487345,31.113843],[113.502447539063,31.1084230781251],[113.554212675781,31.148540265625],[113.572064238281,31.1285622382813],[113.602625761719,31.1191237617188],[113.607345,31.103843]]]]}},{"type":"Feature","properties":{"name":"云梦县","id":"420923"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.832806425781,30.8753688789063],[113.862020292969,30.8583010078125],[113.881883574219,30.8603249335938],[113.872806425781,30.8483815742188],[113.853240996094,30.8321291328125],[113.883873320313,30.8188430000001],[113.861883574219,30.8093044257812],[113.857345,30.803843],[113.851600371094,30.7688771796875],[113.853436308594,30.7564650703126],[113.832345,30.7595827460937],[113.815994902344,30.7571657539063],[113.80170046875,30.76819846875],[113.787181425781,30.8036794257813],[113.75170046875,30.81819846875],[113.74298953125,30.83948753125],[113.737345,30.843843],[113.746058378906,30.8751296210938],[113.770382109375,30.8939064765626],[113.71170046875,30.93819846875],[113.702178984375,30.9723928046875],[113.681529570313,30.9883303046875],[113.683084746094,30.998843],[113.680716582031,31.0148659492188],[113.633043242188,31.0433766914063],[113.627345,31.063843],[113.643531523438,31.0676564765626],[113.651158476563,31.1000295234375],[113.67420046875,31.1078835273438],[113.665748320313,31.1350221992188],[113.681158476563,31.1600295234375],[113.693531523438,31.1676564765625],[113.701158476563,31.1800295234375],[113.713531523438,31.1876564765626],[113.721461210938,31.2109181953125],[113.800990019531,31.1841555],[113.807345,31.173843],[113.810704375,31.157202375],[113.825269804688,31.1498342109375],[113.8174621875,31.133843],[113.829671660156,31.108843],[113.817432890625,31.08378440625],[113.827345,31.063843],[113.834486113281,31.0448415351562],[113.830736113281,31.0080471015625],[113.852882109375,30.9491091132813],[113.851834746094,30.9388430000001],[113.852894316406,30.928452375],[113.833240996094,30.9121291328126],[113.871883574219,30.8953688789063],[113.862806425781,30.8883815742188],[113.832806425781,30.8753688789063]]]]}}]}