spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"隆昌县","id":"511028"},"geometry":{"type":"MultiPolygon","coordinates":[[[[105.197345,29.2238430000001],[105.193922148438,29.2116506171875],[105.185152617188,29.2204201484375],[105.197345,29.2238430000001]]],[[[105.337345,29.4538430000001],[105.325152617188,29.4504201484375],[105.333922148438,29.4416506171875],[105.353199492188,29.4462795234375],[105.364276152344,29.4664870429688],[105.400589628906,29.4465846992188],[105.366605253906,29.4279567695313],[105.425662871094,29.4200539375],[105.43646609375,29.393843],[105.430284453125,29.3788430000001],[105.43478640625,29.3679225898438],[105.420885039063,29.3603029609375],[105.417345,29.313843],[105.399642363281,29.3086476875],[105.381954375,29.2873537421876],[105.36213015625,29.2893752265626],[105.316771269531,29.2766921210938],[105.282806425781,29.1983815742188],[105.267345,29.193843],[105.232667265625,29.2100368476563],[105.221893339844,29.2076198554687],[105.197345,29.2238430000001],[105.189881621094,29.2529274726563],[105.131429472656,29.2679274726562],[105.123260527344,29.2797585273438],[105.111073027344,29.2881716132812],[105.116158476563,29.31085471875],[105.097345,29.323843],[105.09170046875,29.32819846875],[105.08298953125,29.33948753125],[105.07170046875,29.3481984687501],[105.042386503906,29.3861794257812],[105.03298953125,29.413921125],[105.072784453125,29.4080397773438],[105.08170046875,29.415044171875],[105.061395292969,29.4487062812501],[105.067345,29.463843],[105.087274199219,29.4737502265625],[105.097345,29.4538430000001],[105.085152617188,29.4504201484375],[105.093922148438,29.4416506171875],[105.097345,29.4538430000001],[105.122303496094,29.4477126289063],[105.147345,29.4533254218751],[105.173016386719,29.4475710273438],[105.181429472656,29.4597585273438],[105.213814726563,29.4718752265626],[105.232345,29.4677223945313],[105.242345,29.4699636054688],[105.262059355469,29.4655446601563],[105.271429472656,29.4841188789063],[105.251429472656,29.4979274726563],[105.247345,29.533843],[105.272686796875,29.5170973945313],[105.281429472656,29.5297585273438],[105.287345,29.533843],[105.311732207031,29.5275856757813],[105.321429472656,29.4779274726563],[105.333260527344,29.4697585273438],[105.337345,29.4538430000001]]],[[[105.247345,29.533843],[105.235152617188,29.5372658515625],[105.243922148438,29.5460353828126],[105.247345,29.533843]]]]}},{"type":"Feature","properties":{"name":"东兴区","id":"511011"},"geometry":{"type":"MultiPolygon","coordinates":[[[[105.097345,29.4538430000001],[105.093922148438,29.4416506171875],[105.085152617188,29.4504201484375],[105.097345,29.4538430000001]]],[[[105.007345,29.513843],[104.997345,29.513843],[104.997345,29.5238430000001],[105.007345,29.5238430000001],[105.007345,29.513843]]],[[[104.997345,29.5238430000001],[104.985152617188,29.5272658515625],[104.993922148438,29.5360353828125],[104.997345,29.5238430000001]]],[[[105.317345,29.6038430000001],[105.327345,29.6038430000001],[105.322345,29.5910353828125],[105.317345,29.6038430000001]]],[[[105.327345,29.6038430000001],[105.322345,29.6166506171875],[105.317345,29.6038430000001],[105.309888945313,29.6012990546875],[105.304801054688,29.5763869453125],[105.289888945313,29.5612990546875],[105.287345,29.533843],[105.281429472656,29.5297585273438],[105.272686796875,29.5170973945313],[105.247345,29.533843],[105.243922148438,29.5460353828126],[105.235152617188,29.5372658515625],[105.247345,29.533843],[105.251429472656,29.4979274726563],[105.271429472656,29.4841188789063],[105.262059355469,29.4655446601563],[105.242345,29.4699636054688],[105.232345,29.4677223945313],[105.213814726563,29.4718752265626],[105.181429472656,29.4597585273438],[105.173016386719,29.4475710273438],[105.147345,29.4533254218751],[105.122303496094,29.4477126289063],[105.097345,29.4538430000001],[105.087274199219,29.4737502265625],[105.067345,29.463843],[105.047345,29.463843],[105.047345,29.4838430000001],[105.027345,29.4838430000001],[105.011815214844,29.4916994453125],[105.007345,29.513843],[105.037425566406,29.4943386054688],[105.031385527344,29.5294118476562],[105.043079863281,29.5381081367188],[105.053626738281,29.5522853828125],[105.08474734375,29.5104494453125],[105.101610136719,29.5461867500001],[105.071610136719,29.5581081367188],[105.062567167969,29.5914626289062],[105.039783964844,29.5875417304688],[105.022345,29.6314260078125],[104.999530058594,29.6274977851563],[105.006165800781,29.6660305],[104.977345,29.6738430000001],[104.993568144531,29.6983913398438],[104.989466582031,29.7166872382813],[105.058822050781,29.73448753125],[105.091707792969,29.7599733710938],[105.101429472656,29.8097585273437],[105.117345,29.8338430000001],[105.142899199219,29.8382888007813],[105.173551054688,29.85007346875],[105.230618925781,29.8377248359375],[105.232967558594,29.818843],[105.230548125,29.7993971992187],[105.282899199219,29.8082888007812],[105.294610625,29.8229152656251],[105.341890898438,29.8170339179688],[105.35834109375,29.8375734687501],[105.381790800781,29.8082888007812],[105.397547636719,29.7956716132813],[105.391673613281,29.7484499335938],[105.412899199219,29.7193971992188],[105.417345,29.6838430000001],[105.381522246094,29.6694142890625],[105.383084746094,29.658843],[105.378409453125,29.6272072578125],[105.350809355469,29.6312868476562],[105.33298953125,29.60819846875],[105.327345,29.6038430000001]]]]}},{"type":"Feature","properties":{"name":"市中区","id":"511002"},"geometry":{"type":"MultiPolygon","coordinates":[[[[105.007345,29.513843],[105.007345,29.5238430000001],[104.997345,29.5238430000001],[104.993922148438,29.5360353828125],[104.985152617188,29.5272658515625],[104.997345,29.5238430000001],[104.997345,29.513843],[105.011815214844,29.4916994453125],[105.027345,29.4838430000001],[105.033856230469,29.4683400703125],[105.021073027344,29.4595143867188],[105.024827910156,29.4427614570313],[105.002345,29.4377223945313],[104.992066679688,29.4400270820313],[104.954088164063,29.4240749335938],[104.933892851563,29.4533254218751],[104.919554472656,29.4325588203125],[104.863260527344,29.4697585273438],[104.847345,29.473843],[104.840704375,29.4772023750001],[104.829830351563,29.498696515625],[104.837205839844,29.513794171875],[104.862672148438,29.5013576484375],[104.870704375,29.5370851875],[104.850704375,29.5472023750001],[104.837345,29.573843],[104.89343875,29.5964357734375],[104.888836699219,29.6275856757813],[104.902857695313,29.6296584296875],[104.918060332031,29.6099587226563],[104.945657988281,29.6561037421875],[104.977345,29.6738430000001],[105.006165800781,29.6660305],[104.999530058594,29.6274977851563],[105.022345,29.6314260078125],[105.039783964844,29.5875417304688],[105.062567167969,29.5914626289062],[105.071610136719,29.5581081367188],[105.101610136719,29.5461867500001],[105.08474734375,29.5104494453125],[105.053626738281,29.5522853828125],[105.043079863281,29.5381081367188],[105.031385527344,29.5294118476562],[105.037425566406,29.4943386054688],[105.007345,29.513843]]]]}},{"type":"Feature","properties":{"name":"威远县","id":"511024"},"geometry":{"type":"MultiPolygon","coordinates":[[[[104.787345,29.593843],[104.790767851563,29.6060353828125],[104.799537382813,29.5972658515625],[104.787345,29.593843]]],[[[104.787345,29.593843],[104.795523710938,29.5776784492188],[104.837345,29.573843],[104.850704375,29.5472023750001],[104.870704375,29.5370851875],[104.862672148438,29.5013576484375],[104.837205839844,29.513794171875],[104.829830351563,29.498696515625],[104.840704375,29.4772023750001],[104.847345,29.473843],[104.828924589844,29.4296901679688],[104.80259890625,29.4591555000001],[104.792345,29.4585451484375],[104.774859648438,29.4595876289063],[104.740638457031,29.4438796210938],[104.752625761719,29.3991237617188],[104.757345,29.3738430000001],[104.747345,29.3738430000001],[104.741541777344,29.3868337226562],[104.737345,29.363843],[104.701429472656,29.3679274726563],[104.693260527344,29.3797585273438],[104.663682890625,29.4001808906251],[104.643260527344,29.4297585273437],[104.613292265625,29.44097190625],[104.592345,29.4273317695313],[104.568621855469,29.4427785468751],[104.547345,29.433843],[104.543922148438,29.4460353828125],[104.535152617188,29.4372658515626],[104.547345,29.433843],[104.541317167969,29.4219264960938],[104.517345,29.433843],[104.505279570313,29.4632033515625],[104.537689238281,29.4567995429688],[104.5262121875,29.5148757148438],[104.504920683594,29.5484133125],[104.491519804688,29.5580178046876],[104.480416289063,29.6134011054688],[104.438551054688,29.6051296210938],[104.387811308594,29.6259792304688],[104.371658964844,29.5841042304687],[104.344132109375,29.5643727851563],[104.328995390625,29.5854933906251],[104.311519804688,29.5980178046876],[104.303170195313,29.6096681953125],[104.281519804688,29.6180178046875],[104.273170195313,29.6296681953125],[104.267345,29.633843],[104.28170046875,29.6694875312501],[104.29298953125,29.67819846875],[104.317738066406,29.7102638984376],[104.343436308594,29.7064650703125],[104.340391875,29.7270632148438],[104.392447539063,29.7498122382813],[104.426143828125,29.72948753125],[104.45298953125,29.74819846875],[104.463038359375,29.7842897773438],[104.497345,29.7938430000001],[104.523199492188,29.7777053046876],[104.568624296875,29.7813552070313],[104.58271609375,29.7692140937501],[104.592345,29.7580397773438],[104.602020292969,29.7692702460938],[104.612345,29.7684401679687],[104.632345,29.7700490546875],[104.650484648438,29.7293947578125],[104.662345,29.7284401679687],[104.672691679688,29.7292726875],[104.68197390625,29.70847190625],[104.693524199219,29.6985182929688],[104.691073027344,29.6680080390625],[104.712769804688,29.6291213203126],[104.711302519531,29.6108596015625],[104.787345,29.593843]]]]}},{"type":"Feature","properties":{"name":"资中县","id":"511025"},"geometry":{"type":"MultiPolygon","coordinates":[[[[104.457345,30.003843],[104.453922148438,29.9916506171875],[104.445152617188,30.0004201484376],[104.457345,30.003843]]],[[[104.787345,29.8738430000001],[104.774537382813,29.8688430000001],[104.787345,29.863843],[104.792779570313,29.8511452460938],[104.810343046875,29.8597902656251],[104.787345,29.863843],[104.802330351563,29.8812917304688],[104.821353789063,29.8720021796875],[104.830704375,29.8904836250001],[104.857345,29.893843],[104.860767851563,29.8816506171875],[104.869537382813,29.8904201484376],[104.857345,29.893843],[104.87634890625,29.91757346875],[104.887345,29.9038430000001],[104.875152617188,29.9004201484375],[104.883922148438,29.8916506171876],[104.887345,29.9038430000001],[104.893985625,29.907202375],[104.900704375,29.9204836250001],[104.927205839844,29.9338893867188],[104.917347441406,29.9540773750001],[104.930704375,29.980483625],[104.957345,29.993843],[104.972806425781,29.9893044257813],[105.002078886719,29.9783058906251],[105.023516875,29.9804909492188],[105.046419707031,29.9529177070313],[105.062894316406,29.9392336250001],[105.061793242188,29.9284352851563],[105.101883574219,29.9037087226563],[105.092806425781,29.8883815742188],[105.073267851563,29.8721486640625],[105.112806425781,29.8393044257813],[105.117345,29.8338430000001],[105.101429472656,29.8097585273437],[105.091707792969,29.7599733710938],[105.058822050781,29.73448753125],[104.989466582031,29.7166872382813],[104.993568144531,29.6983913398438],[104.977345,29.6738430000001],[104.945657988281,29.6561037421875],[104.918060332031,29.6099587226563],[104.902857695313,29.6296584296875],[104.888836699219,29.6275856757813],[104.89343875,29.5964357734375],[104.837345,29.573843],[104.795523710938,29.5776784492188],[104.787345,29.593843],[104.799537382813,29.5972658515625],[104.790767851563,29.6060353828125],[104.787345,29.593843],[104.711302519531,29.6108596015625],[104.712769804688,29.6291213203126],[104.691073027344,29.6680080390625],[104.693524199219,29.6985182929688],[104.68197390625,29.70847190625],[104.672691679688,29.7292726875],[104.662345,29.7284401679687],[104.650484648438,29.7293947578125],[104.632345,29.7700490546875],[104.612345,29.7684401679687],[104.602020292969,29.7692702460938],[104.592345,29.7580397773438],[104.58271609375,29.7692140937501],[104.568624296875,29.7813552070313],[104.523199492188,29.7777053046876],[104.497345,29.7938430000001],[104.493170195313,29.8096681953126],[104.481519804688,29.8180178046876],[104.473170195313,29.8465163398438],[104.501390410156,29.8909670234375],[104.47127078125,29.9384108710938],[104.473455839844,29.9494631171875],[104.456436796875,29.9616603828125],[104.475125761719,29.991098859375],[104.457345,30.003843],[104.457345,30.033843],[104.467345,30.033843],[104.479420195313,30.0193044257813],[104.492806425781,30.0283815742188],[104.503192167969,30.0408815742188],[104.529234648438,30.0095290351562],[104.571600371094,29.9911550117188],[104.573363066406,29.973843],[104.570748320313,29.9481716132813],[104.591954375,29.9503322578125],[104.60396609375,29.9358718085938],[104.632806425781,29.9483815742188],[104.647081328125,29.9655641914063],[104.675819121094,29.8993044257813],[104.705921660156,29.9383913398438],[104.662806425781,29.9510427070312],[104.684647246094,29.96050315625],[104.722806425781,29.9493044257813],[104.74095828125,29.9274562812501],[104.762806425781,29.9093044257813],[104.771883574219,29.8883815742188],[104.782806425781,29.8793044257813],[104.787345,29.8738430000001]]]]}}]}