Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print single country #7

Open
cyrilchapon opened this issue Nov 3, 2016 · 0 comments
Open

Print single country #7

cyrilchapon opened this issue Nov 3, 2016 · 0 comments

Comments

@cyrilchapon
Copy link

I have geojson for a country or a town, but I'm strugging to display it.

I tried to put my data inside geojson property, setting the center of one of these points and a zoom level, without any success, here

I'm able to display a large square though, here.

Am I missing something ?


geojson { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [ 3.065809, 50.7195583 ], [ 3.0673454, 50.7177792 ], [ 3.0674836, 50.7173996 ], [ 3.0678843, 50.7166984 ], [ 3.0689952, 50.7153529 ], [ 3.069591, 50.7146309 ], [ 3.0714833, 50.7126079 ], [ 3.0711674, 50.711454 ], [ 3.0710836, 50.7113566 ], [ 3.071509, 50.7109295 ], [ 3.0717044, 50.7109283 ], [ 3.0718445, 50.7107599 ], [ 3.0720635, 50.7103836 ], [ 3.0720989, 50.7103652 ], [ 3.0724685, 50.7098938 ], [ 3.0726121, 50.7096945 ], [ 3.0722987, 50.7095748 ], [ 3.0709105, 50.7090351 ], [ 3.0706633, 50.7087829 ], [ 3.070349, 50.7089933 ], [ 3.0701172, 50.7089721 ], [ 3.0697595, 50.7088669 ], [ 3.069292, 50.7085702 ], [ 3.0705071, 50.7076922 ], [ 3.0710989, 50.7073889 ], [ 3.0715819, 50.7069563 ], [ 3.0717349, 50.7064805 ], [ 3.0719876, 50.7061284 ], [ 3.0718589, 50.7058635 ], [ 3.0716972, 50.7057684 ], [ 3.0715595, 50.7054923 ], [ 3.0712148, 50.7050761 ], [ 3.0707649, 50.7047623 ], [ 3.0703338, 50.7045162 ], [ 3.0705597, 50.704153 ], [ 3.0705579, 50.7040343 ], [ 3.0706557, 50.7040281 ], [ 3.070849, 50.7038629 ], [ 3.0713632, 50.7031418 ], [ 3.0700161, 50.7025626 ], [ 3.0714846, 50.7011908 ], [ 3.0716274, 50.7012182 ], [ 3.0722678, 50.7017626 ], [ 3.0723568, 50.7017677 ], [ 3.0734512, 50.7005794 ], [ 3.0735881, 50.7004024 ], [ 3.0737643, 50.7001782 ], [ 3.074101, 50.6998413 ], [ 3.0743037, 50.6995664 ], [ 3.0746576, 50.6992627 ], [ 3.0750048, 50.698903 ], [ 3.0750903, 50.6986829 ], [ 3.0754908, 50.6981151 ], [ 3.0756285, 50.6976828 ], [ 3.0756844, 50.6973612 ], [ 3.0757648, 50.6969269 ], [ 3.0756251, 50.6968398 ], [ 3.0755176, 50.6966896 ], [ 3.0755763, 50.6961715 ], [ 3.0755063, 50.6960749 ], [ 3.0748672, 50.6960029 ], [ 3.0748094, 50.6957206 ], [ 3.0748136, 50.6954097 ], [ 3.0749193, 50.6947646 ], [ 3.0749253, 50.694578 ], [ 3.0751863, 50.6941863 ], [ 3.0752149, 50.6937339 ], [ 3.0753, 50.693479 ], [ 3.075377, 50.6932806 ], [ 3.0753761, 50.6926419 ], [ 3.0754437, 50.691833 ], [ 3.0754871, 50.6917593 ], [ 3.0755716, 50.6903172 ], [ 3.0763605, 50.6889612 ], [ 3.0756097, 50.6887454 ], [ 3.0750927, 50.6886921 ], [ 3.0730117, 50.6882019 ], [ 3.0733721, 50.6875801 ], [ 3.0737947, 50.6868928 ], [ 3.0745064, 50.6866709 ], [ 3.0757208, 50.6863946 ], [ 3.0763511, 50.6861155 ], [ 3.0765826, 50.6861077 ], [ 3.0767815, 50.6859401 ], [ 3.0769426, 50.685939 ], [ 3.0813017, 50.6832116 ], [ 3.0843147, 50.6823595 ], [ 3.0846626, 50.683356 ], [ 3.0852612, 50.6850986 ], [ 3.0854428, 50.6850853 ], [ 3.0857123, 50.685187 ], [ 3.0863124, 50.6856149 ], [ 3.0866798, 50.6858557 ], [ 3.0874421, 50.6862522 ], [ 3.0877808, 50.6864932 ], [ 3.0881214, 50.6868498 ], [ 3.0884736, 50.68734 ], [ 3.088523, 50.687437 ], [ 3.0886006, 50.6875034 ], [ 3.0892638, 50.6889036 ], [ 3.0895621, 50.689613 ], [ 3.0902832, 50.6904292 ], [ 3.0903877, 50.6903799 ], [ 3.091455, 50.6913033 ], [ 3.0934434, 50.6911509 ], [ 3.0936929, 50.6911918 ], [ 3.0946467, 50.6915809 ], [ 3.0964699, 50.6924812 ], [ 3.0966998, 50.6924919 ], [ 3.0973902, 50.6919707 ], [ 3.0974556, 50.6918669 ], [ 3.0977208, 50.6916889 ], [ 3.0994707, 50.6927903 ], [ 3.0996496, 50.6926007 ], [ 3.1016865, 50.6912865 ], [ 3.1020837, 50.6915879 ], [ 3.1025516, 50.6921318 ], [ 3.1028639, 50.6924949 ], [ 3.1031019, 50.6926638 ], [ 3.1042573, 50.6934837 ], [ 3.1051688, 50.6941306 ], [ 3.1052069, 50.6941577 ], [ 3.1052094, 50.6943158 ], [ 3.1051443, 50.6944317 ], [ 3.1051748, 50.694541 ], [ 3.1053996, 50.6947062 ], [ 3.105601, 50.6948543 ], [ 3.1056219, 50.6949636 ], [ 3.1055904, 50.695161 ], [ 3.1055697, 50.6952923 ], [ 3.1056382, 50.695383 ], [ 3.1058811, 50.6955005 ], [ 3.1062459, 50.695677 ], [ 3.1064401, 50.695846 ], [ 3.1065408, 50.6961554 ], [ 3.1066107, 50.6963373 ], [ 3.1065933, 50.6964469 ], [ 3.1064252, 50.6967094 ], [ 3.1060465, 50.6969672 ], [ 3.1059818, 50.6971136 ], [ 3.1060128, 50.6972532 ], [ 3.1064951, 50.6980769 ], [ 3.1064401, 50.6982293 ], [ 3.1062218, 50.6983462 ], [ 3.1054414, 50.6986309 ], [ 3.1039362, 50.6996803 ], [ 3.1039765, 50.6998077 ], [ 3.1048096, 50.7004225 ], [ 3.1051693, 50.7007606 ], [ 3.1053966, 50.701203 ], [ 3.1054726, 50.7012169 ], [ 3.1058094, 50.7012793 ], [ 3.1058437, 50.7012766 ], [ 3.1060676, 50.7012594 ], [ 3.1062328, 50.7012785 ], [ 3.1063649, 50.701294 ], [ 3.1064219, 50.7013123 ], [ 3.1066243, 50.701377 ], [ 3.1067168, 50.7014581 ], [ 3.1070034, 50.7017093 ], [ 3.1078951, 50.7023845 ], [ 3.1070207, 50.7027853 ], [ 3.1058874, 50.7031514 ], [ 3.1073621, 50.7043638 ], [ 3.1085241, 50.7045873 ], [ 3.1090963, 50.7050396 ], [ 3.1095156, 50.7049213 ], [ 3.1102637, 50.7055913 ], [ 3.1105596, 50.7055408 ], [ 3.1110569, 50.7055071 ], [ 3.1121648, 50.7053357 ], [ 3.1121181, 50.705409 ], [ 3.1120771, 50.7070143 ], [ 3.1119453, 50.707155 ], [ 3.1126284, 50.707947 ], [ 3.1127757, 50.7081771 ], [ 3.1129572, 50.7087413 ], [ 3.1132922, 50.7093228 ], [ 3.1133618, 50.7094865 ], [ 3.1134682, 50.7095526 ], [ 3.1138296, 50.709988 ], [ 3.1141587, 50.7102047 ], [ 3.1152789, 50.7107932 ], [ 3.1205631, 50.7083691 ], [ 3.1206196, 50.7084446 ], [ 3.121188, 50.7088188 ], [ 3.122286, 50.7094742 ], [ 3.123547, 50.7101403 ], [ 3.1259574, 50.7112304 ], [ 3.1269989, 50.7115385 ], [ 3.1279675, 50.7121061 ], [ 3.128252, 50.7121955 ], [ 3.1285993, 50.7123049 ], [ 3.1288546, 50.7124082 ], [ 3.1291452, 50.7126443 ], [ 3.1295454, 50.7128446 ], [ 3.1312626, 50.7133372 ], [ 3.1322653, 50.7135099 ], [ 3.1338007, 50.7138393 ], [ 3.1338651, 50.7139138 ], [ 3.1335206, 50.7143982 ], [ 3.1334939, 50.7146101 ], [ 3.1335049, 50.7148756 ], [ 3.1334869, 50.714985 ], [ 3.133374, 50.7153408 ], [ 3.1334156, 50.7154999 ], [ 3.133192, 50.7155472 ], [ 3.1331082, 50.7156541 ], [ 3.1331159, 50.7157287 ], [ 3.1330348, 50.7159744 ], [ 3.1332535, 50.7162596 ], [ 3.1332623, 50.7163019 ], [ 3.1332952, 50.7164296 ], [ 3.1332896, 50.7164887 ], [ 3.1332951, 50.7166149 ], [ 3.1332761, 50.7167298 ], [ 3.1334113, 50.7167828 ], [ 3.1334836, 50.7168317 ], [ 3.1335665, 50.7168902 ], [ 3.1335745, 50.7169452 ], [ 3.1335634, 50.7170404 ], [ 3.1335331, 50.717138 ], [ 3.1334707, 50.7172529 ], [ 3.1333119, 50.7174948 ], [ 3.1331276, 50.7177718 ], [ 3.1330319, 50.7179388 ], [ 3.1330126, 50.7179887 ], [ 3.1329732, 50.7180349 ], [ 3.1328953, 50.7181847 ], [ 3.1328531, 50.7185737 ], [ 3.1328025, 50.7187832 ], [ 3.1327553, 50.7188859 ], [ 3.1318051, 50.7195429 ], [ 3.1318414, 50.7195824 ], [ 3.1319005, 50.7196968 ], [ 3.1320345, 50.7198428 ], [ 3.1320884, 50.7199194 ], [ 3.1322773, 50.7200788 ], [ 3.1324408, 50.7202308 ], [ 3.1325485, 50.7203475 ], [ 3.1329253, 50.7206393 ], [ 3.1329995, 50.7207471 ], [ 3.1330468, 50.7208622 ], [ 3.1330536, 50.7210392 ], [ 3.1330289, 50.7212163 ], [ 3.1329991, 50.7213413 ], [ 3.1330373, 50.721359 ], [ 3.1333638, 50.7215263 ], [ 3.1334578, 50.7215956 ], [ 3.1335878, 50.7216826 ], [ 3.1338529, 50.7218294 ], [ 3.1339958, 50.7218773 ], [ 3.1341387, 50.7219479 ], [ 3.1342256, 50.7220048 ], [ 3.1345811, 50.7222358 ], [ 3.1335487, 50.7225367 ], [ 3.1305773, 50.7234024 ], [ 3.1295815, 50.7236916 ], [ 3.1287339, 50.7239378 ], [ 3.1267374, 50.7245044 ], [ 3.1250413, 50.7250129 ], [ 3.1241826, 50.7252084 ], [ 3.1210342, 50.7261551 ], [ 3.1195566, 50.7265926 ], [ 3.1188685, 50.7263737 ], [ 3.1182475, 50.7261812 ], [ 3.1174778, 50.7256375 ], [ 3.1168678, 50.7251752 ], [ 3.1161784, 50.7249346 ], [ 3.1158627, 50.7247944 ], [ 3.1156416, 50.7246452 ], [ 3.1155447, 50.724617 ], [ 3.1155089, 50.7245425 ], [ 3.115274, 50.7243134 ], [ 3.115096, 50.7241551 ], [ 3.1148964, 50.724025 ], [ 3.1146487, 50.7239308 ], [ 3.1143632, 50.7238468 ], [ 3.1137487, 50.7237439 ], [ 3.1133047, 50.7236906 ], [ 3.1123867, 50.7242743 ], [ 3.112206, 50.7240817 ], [ 3.1115206, 50.7232524 ], [ 3.1111737, 50.722791 ], [ 3.1104341, 50.7222212 ], [ 3.1099387, 50.7208822 ], [ 3.1097771, 50.7209073 ], [ 3.1092435, 50.7211351 ], [ 3.1091296, 50.7211028 ], [ 3.1084967, 50.7214605 ], [ 3.1082096, 50.7214324 ], [ 3.1072612, 50.721308 ], [ 3.1071132, 50.7212698 ], [ 3.1068565, 50.7212723 ], [ 3.1060837, 50.7214017 ], [ 3.1058872, 50.7214555 ], [ 3.1058305, 50.7214061 ], [ 3.1041305, 50.7222271 ], [ 3.104285, 50.7223851 ], [ 3.1042458, 50.7225095 ], [ 3.1040428, 50.7226806 ], [ 3.1036951, 50.7228069 ], [ 3.1035713, 50.7227881 ], [ 3.1026224, 50.7232774 ], [ 3.1016783, 50.7240671 ], [ 3.1001686, 50.7242271 ], [ 3.1001863, 50.7246906 ], [ 3.0999869, 50.7250902 ], [ 3.0994715, 50.7256682 ], [ 3.0984069, 50.7266545 ], [ 3.0974722, 50.7273984 ], [ 3.0968709, 50.7277549 ], [ 3.0960638, 50.7281127 ], [ 3.0946428, 50.7286899 ], [ 3.0939385, 50.7290405 ], [ 3.093252, 50.7298742 ], [ 3.0930769, 50.7298623 ], [ 3.092539, 50.7296763 ], [ 3.0921867, 50.7295218 ], [ 3.0919698, 50.729471 ], [ 3.0910216, 50.729366 ], [ 3.0893961, 50.7287167 ], [ 3.0890849, 50.7285554 ], [ 3.0886918, 50.7284208 ], [ 3.0884256, 50.7285009 ], [ 3.0882918, 50.7285017 ], [ 3.0877328, 50.7289362 ], [ 3.0867526, 50.7294126 ], [ 3.0853552, 50.7288794 ], [ 3.0848378, 50.7293463 ], [ 3.0838843, 50.7289017 ], [ 3.083701, 50.7290204 ], [ 3.0829401, 50.7283918 ], [ 3.0823969, 50.7278662 ], [ 3.0823957, 50.7277879 ], [ 3.0827527, 50.7275897 ], [ 3.0825967, 50.7274797 ], [ 3.0825225, 50.727343 ], [ 3.0823459, 50.7272331 ], [ 3.0819317, 50.7270594 ], [ 3.0814094, 50.7265533 ], [ 3.0812851, 50.7265019 ], [ 3.081147, 50.7262219 ], [ 3.0806032, 50.7256507 ], [ 3.0799994, 50.7251974 ], [ 3.0799452, 50.7250149 ], [ 3.0797993, 50.7248982 ], [ 3.0792377, 50.7245034 ], [ 3.0788381, 50.7239443 ], [ 3.0782152, 50.7235825 ], [ 3.0778616, 50.7233366 ], [ 3.0772708, 50.7230464 ], [ 3.0779421, 50.7225524 ], [ 3.0769682, 50.7221079 ], [ 3.0757825, 50.7212664 ], [ 3.0752742, 50.7209953 ], [ 3.0744165, 50.7207394 ], [ 3.0739002, 50.720612 ], [ 3.0739092, 50.7205336 ], [ 3.0729985, 50.7201735 ], [ 3.0718024, 50.7199916 ], [ 3.0708736, 50.7197949 ], [ 3.0699229, 50.7195134 ], [ 3.069635, 50.7195217 ], [ 3.0684786, 50.7199142 ], [ 3.0677307, 50.7201081 ], [ 3.0675659, 50.7200961 ], [ 3.0666987, 50.7198925 ], [ 3.0661396, 50.7196543 ], [ 3.065809, 50.7195583 ] ] ] } } ] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant