spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"北戴河区","id":"130304"},"geometry":{"type":"MultiPolygon","coordinates":[[[[119.527345,39.883843],[119.5188684375,39.849341046875],[119.525836210938,39.8182680488281],[119.46142703125,39.8097585273438],[119.437345,39.803843],[119.40599734375,39.8086562324219],[119.413604765625,39.838843],[119.403922148438,39.8772634101563],[119.443062773438,39.8674025703125],[119.451339140625,39.879848859375],[119.467345,39.883843],[119.4824621875,39.8602272773437],[119.511246367188,39.8799404121094],[119.527345,39.883843]]]]}},{"type":"Feature","properties":{"name":"昌黎县","id":"130322"},"geometry":{"type":"MultiPolygon","coordinates":[[[[119.287345,39.4338430000001],[119.297345,39.4338430000001],[119.297345,39.423843],[119.287345,39.423843],[119.287345,39.4338430000001]]],[[[119.293922148438,39.4760353828125],[119.297345,39.463843],[119.285152617188,39.4672658515625],[119.293922148438,39.4760353828125]]],[[[119.247345,39.4738430000001],[119.235152617188,39.4704201484375],[119.243922148438,39.4616506171876],[119.267345,39.4738430000001],[119.267345,39.463843],[119.255152617188,39.4604201484375],[119.263922148438,39.4516506171876],[119.267345,39.463843],[119.295289335938,39.4498293281251],[119.287345,39.4338430000001],[119.277345,39.4338430000001],[119.273922148438,39.4460353828125],[119.265152617188,39.4372658515625],[119.277345,39.4338430000001],[119.277345,39.423843],[119.25170046875,39.4281996894532],[119.22298953125,39.4494863105469],[119.19170046875,39.4581996894531],[119.16263796875,39.4696254707031],[119.122345,39.4636708808594],[119.065889921875,39.4720131660156],[119.042735625,39.4580458808595],[119.000924101563,39.4642250800782],[119.00588015625,39.4977577949219],[118.970167265625,39.5191164375001],[118.973170195313,39.5394362617188],[118.924810820313,39.5529018378907],[118.8919153125,39.548040998047],[118.857345,39.573843],[118.84115359375,39.6085219550782],[118.844815703125,39.6248744941407],[118.817345,39.643843],[118.81326296875,39.6597585273438],[118.7855871875,39.7022585273438],[118.768033476563,39.7588869453126],[118.787345,39.763843],[118.83463015625,39.7260182929688],[118.862799101563,39.7295217109375],[118.873702421875,39.7159023261719],[118.922345,39.7219521308594],[118.965206328125,39.7166213203125],[118.995904570313,39.7295571113281],[119.011793242188,39.7493959785156],[119.089273710938,39.7661611152344],[119.111793242188,39.7793959785157],[119.127345,39.7838430000001],[119.162310820313,39.7895864082031],[119.181832304688,39.7867018867188],[119.198424101563,39.8081996894531],[119.2172278125,39.7969509101563],[119.238795195313,39.7690090156251],[119.27298953125,39.7594863105469],[119.313253203125,39.729634015625],[119.347345,39.723843],[119.33170046875,39.6894863105469],[119.30298953125,39.6181996894531],[119.257877226563,39.5212660957032],[119.25170046875,39.4794863105469],[119.247345,39.4738430000001]]]]}},{"type":"Feature","properties":{"name":"抚宁县","id":"130323"},"geometry":{"type":"MultiPolygon","coordinates":[[[[119.627345,40.2338430000001],[119.615152617188,40.2304201484375],[119.623922148438,40.2216506171876],[119.64205203125,40.2280605292969],[119.66111453125,40.2308779121094],[119.706485625,40.1972377753906],[119.740748320313,40.2023012519531],[119.756256132813,40.1353871894531],[119.74298953125,40.1181996894532],[119.737345,40.113843],[119.722359648438,40.1063942695313],[119.711353789063,40.1117690253907],[119.699771757813,40.088872296875],[119.670704375,40.080483625],[119.667345,40.063843],[119.58111453125,40.0591677070312],[119.582745390625,40.038843],[119.581734648438,40.0262404609375],[119.56197390625,40.0092153144532],[119.55271609375,39.9984706855469],[119.46287234375,39.9847805000001],[119.482769804688,39.9491213203125],[119.481734648438,39.9362404609376],[119.46000125,39.9175148750001],[119.467345,39.883843],[119.451339140625,39.879848859375],[119.443062773438,39.8674025703125],[119.403922148438,39.8772634101563],[119.413604765625,39.838843],[119.40599734375,39.8086562324219],[119.437345,39.803843],[119.43326296875,39.7979274726563],[119.42142703125,39.7897585273438],[119.41326296875,39.7779274726563],[119.359859648438,39.7419667792969],[119.347345,39.723843],[119.313253203125,39.729634015625],[119.27298953125,39.7594863105469],[119.238795195313,39.7690090156251],[119.2172278125,39.7969509101563],[119.198424101563,39.8081996894531],[119.181832304688,39.7867018867188],[119.162310820313,39.7895864082031],[119.127345,39.7838430000001],[119.133678007813,39.8014907050781],[119.13123171875,39.8424990058594],[119.102061796875,39.8685622382813],[119.092628203125,39.8791237617188],[119.0720325,39.8885768867188],[119.073389921875,39.9113747382813],[119.0926575,39.9285903144532],[119.091851835938,39.9421511054688],[119.06611453125,39.9895119453125],[119.141148710938,39.9850405097657],[119.111910429688,40.038843],[119.1226575,40.0586171699219],[119.122047148438,40.068843],[119.122652617188,40.0790016914063],[119.117345,40.103843],[119.15170046875,40.1294863105469],[119.18298953125,40.1381996894531],[119.20170046875,40.1494863105469],[119.26298953125,40.1581996894532],[119.288511992188,40.1735964179688],[119.330084257813,40.1565822578126],[119.345264921875,40.1194948554688],[119.376143828125,40.0794863105469],[119.482525664063,40.1046425605469],[119.50170046875,40.1294863105469],[119.51298953125,40.1381996894531],[119.529049101563,40.1774391914063],[119.553463164063,40.1962831855469],[119.550865507813,40.213843],[119.555299101563,40.243843],[119.5515246875,40.2693825507813],[119.5831653125,40.2883034492188],[119.580074492188,40.3092104316407],[119.607345,40.3138430000001],[119.610704375,40.307202375],[119.631090117188,40.2968898750001],[119.644976835938,40.2684511542969],[119.630704375,40.2504836250001],[119.627345,40.2338430000001]]]]}},{"type":"Feature","properties":{"name":"海港区","id":"130302"},"geometry":{"type":"MultiPolygon","coordinates":[[[[119.677750273438,39.9894167304688],[119.691539335938,39.9670351386719],[119.703428984375,39.9707387519532],[119.707345,39.943843],[119.65142703125,39.9297585273438],[119.602652617188,39.9076528144532],[119.573326445313,39.9142275214844],[119.527345,39.883843],[119.511246367188,39.8799404121094],[119.4824621875,39.8602272773437],[119.467345,39.883843],[119.46000125,39.9175148750001],[119.481734648438,39.9362404609376],[119.482769804688,39.9491213203125],[119.46287234375,39.9847805000001],[119.55271609375,39.9984706855469],[119.56197390625,40.0092153144532],[119.581734648438,40.0262404609375],[119.582745390625,40.038843],[119.58111453125,40.0591677070312],[119.667345,40.063843],[119.663531523438,40.0576552558594],[119.634156523438,40.039555890625],[119.62041140625,39.9977638984376],[119.677750273438,39.9894167304688]]]]}},{"type":"Feature","properties":{"name":"卢龙县","id":"130324"},"geometry":{"type":"MultiPolygon","coordinates":[[[[118.95834109375,40.1675746894531],[118.983702421875,40.1359023261719],[119.012799101563,40.1395217109375],[119.021793242188,40.1282900214844],[119.045904570313,40.1181288886719],[119.066578398438,40.0923110175781],[119.117345,40.103843],[119.122652617188,40.0790016914063],[119.122047148438,40.068843],[119.1226575,40.0586171699219],[119.111910429688,40.038843],[119.141148710938,39.9850405097657],[119.06611453125,39.9895119453125],[119.091851835938,39.9421511054688],[119.0926575,39.9285903144532],[119.073389921875,39.9113747382813],[119.0720325,39.8885768867188],[119.092628203125,39.8791237617188],[119.102061796875,39.8685622382813],[119.13123171875,39.8424990058594],[119.133678007813,39.8014907050781],[119.127345,39.7838430000001],[119.111793242188,39.7793959785157],[119.089273710938,39.7661611152344],[119.011793242188,39.7493959785156],[118.995904570313,39.7295571113281],[118.965206328125,39.7166213203125],[118.922345,39.7219521308594],[118.873702421875,39.7159023261719],[118.862799101563,39.7295217109375],[118.83463015625,39.7260182929688],[118.787345,39.763843],[118.794796171875,39.7788283515625],[118.789298125,39.7900783515625],[118.815391875,39.7976076484375],[118.807432890625,39.81390159375],[118.823985625,39.847202375],[118.827345,39.863843],[118.841827421875,39.873843],[118.86142703125,39.9297585273438],[118.87326296875,39.9379274726562],[118.88142703125,39.9972145820313],[118.859454375,40.0309572578126],[118.863468046875,40.0488430000001],[118.860474882813,40.0621938300782],[118.899176054688,40.0889150214844],[118.92392703125,40.0981764960938],[118.911143828125,40.1286025214844],[118.917345,40.153843],[118.942725859375,40.1480776191407],[118.95834109375,40.1675746894531]]]]}},{"type":"Feature","properties":{"name":"青龙满族自治县","id":"130321"},"geometry":{"type":"MultiPolygon","coordinates":[[[[119.147345,40.6138430000001],[119.147345,40.603843],[119.237345,40.603843],[119.214136992188,40.5687233710938],[119.261900664063,40.537622296875],[119.272789335938,40.540063703125],[119.291900664063,40.527622296875],[119.312345,40.5322060371094],[119.332789335938,40.527622296875],[119.363975859375,40.5479274726562],[119.38326296875,40.5397585273438],[119.391842070313,40.5273305488281],[119.425548125,40.5414882636719],[119.472550078125,40.5309511542969],[119.501900664063,40.550063703125],[119.517345,40.5466017890625],[119.539112578125,40.5514821601563],[119.553858671875,40.528843],[119.54060671875,40.5084950996094],[119.55326296875,40.4997585273438],[119.565513945313,40.4820119453125],[119.58978640625,40.4652529121094],[119.593472929688,40.4488014960937],[119.587345,40.4238430000001],[119.581676054688,40.3784841132813],[119.593013945313,40.3592031074219],[119.590533476563,40.3392958808594],[119.602896757813,40.3293959785156],[119.607345,40.3138430000001],[119.580074492188,40.3092104316407],[119.5831653125,40.2883034492188],[119.5515246875,40.2693825507813],[119.555299101563,40.243843],[119.550865507813,40.213843],[119.553463164063,40.1962831855469],[119.529049101563,40.1774391914063],[119.51298953125,40.1381996894531],[119.50170046875,40.1294863105469],[119.482525664063,40.1046425605469],[119.376143828125,40.0794863105469],[119.345264921875,40.1194948554688],[119.330084257813,40.1565822578126],[119.288511992188,40.1735964179688],[119.26298953125,40.1581996894532],[119.20170046875,40.1494863105469],[119.18298953125,40.1381996894531],[119.15170046875,40.1294863105469],[119.117345,40.103843],[119.066578398438,40.0923110175781],[119.045904570313,40.1181288886719],[119.021793242188,40.1282900214844],[119.012799101563,40.1395217109375],[118.983702421875,40.1359023261719],[118.95834109375,40.1675746894531],[118.942725859375,40.1480776191407],[118.917345,40.153843],[118.88170046875,40.1681996894532],[118.860767851563,40.1808266425781],[118.823883085938,40.1753749824219],[118.81298953125,40.1894863105469],[118.797086210938,40.2017604804687],[118.74490359375,40.1940492988281],[118.73298953125,40.2094863105469],[118.695343046875,40.2199697089844],[118.657921171875,40.242544171875],[118.617345,40.253843],[118.603985625,40.260483625],[118.570704375,40.267202375],[118.567345,40.283843],[118.571881132813,40.2993056464844],[118.596636992188,40.3100405097656],[118.643116484375,40.3687685371094],[118.631881132813,40.3883803535157],[118.622808867188,40.4093056464844],[118.607965117188,40.4352211738282],[118.655045195313,40.4490370917969],[118.679107695313,40.47800315625],[118.697345,40.4798622871094],[118.764332304688,40.4730348945313],[118.782808867188,40.4883803535157],[118.7995715625,40.5270314765625],[118.822345,40.5293520332031],[118.84834109375,40.5267031074219],[118.884215117188,40.540180890625],[118.950650664063,40.5334096503906],[118.962745390625,40.5612990546876],[119.05814578125,40.6019753242188],[119.082345,40.5881154609375],[119.114464140625,40.6065102363282],[119.141881132813,40.6093056464844],[119.147345,40.6138430000001]]]]}},{"type":"Feature","properties":{"name":"山海关区","id":"130303"},"geometry":{"type":"MultiPolygon","coordinates":[[[[119.737345,40.113843],[119.741988554688,40.09226096875],[119.76478640625,40.0797646308594],[119.754263945313,40.0542348457031],[119.787345,40.0405995917969],[119.8135559375,40.0514028144532],[119.84966921875,40.0316078925782],[119.83654421875,39.9997646308594],[119.847345,39.993843],[119.84298953125,39.9881996894531],[119.81170046875,39.9794863105469],[119.7803528125,39.9562453437501],[119.707345,39.943843],[119.703428984375,39.9707387519532],[119.691539335938,39.9670351386719],[119.677750273438,39.9894167304688],[119.62041140625,39.9977638984376],[119.634156523438,40.039555890625],[119.663531523438,40.0576552558594],[119.667345,40.063843],[119.670704375,40.080483625],[119.699771757813,40.088872296875],[119.711353789063,40.1117690253907],[119.722359648438,40.1063942695313],[119.737345,40.113843]]]]}}]}