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

feat(mapbox modal ui/ux) #54

Open
wants to merge 3 commits into
base: artistella/feature/ui
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
301 changes: 301 additions & 0 deletions apps/artistella/.data/ex.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,301 @@
{
"type": "Feature",
"properties": {
"name": "Maine",
"income": {
"1995": 31189,
"1996": 33002,
"1997": 33140,
"1998": 35560,
"1999": 36902,
"2000": 37589,
"2001": 38036,
"2002": 37963,
"2003": 39212,
"2004": 41287,
"2005": 42648,
"2006": 43472,
"2007": 45832,
"2008": 46419,
"2009": 45708,
"2010": 45882,
"2011": 46160,
"2012": 46856,
"2013": 47095,
"2014": 49381,
"2015": 51419
}
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[-68.92401, 43.885407],
[-68.874784, 43.904715],
[-68.849009, 43.849841],
[-68.888483, 43.803781],
[-68.944433, 43.835326],
[-68.92401, 43.885407]
]
],
[
[
[-71.083924, 45.305451],
[-71.03821, 45.311922],
[-71.012757, 45.34476],
[-70.949365, 45.331536],
[-70.912111, 45.296197],
[-70.892822, 45.239172],
[-70.84443, 45.234513],
[-70.83401953744008, 45.27179440239679],
[-70.82979, 45.286941],
[-70.808613, 45.311606],
[-70.819471, 45.341435],
[-70.806244, 45.376558],
[-70.825612, 45.400305],
[-70.781471, 45.431159],
[-70.755567, 45.428361],
[-70.729972, 45.399359],
[-70.677995, 45.394362],
[-70.634661, 45.383608],
[-70.635498, 45.427817],
[-70.674903, 45.452399],
[-70.723396, 45.510394],
[-70.688214, 45.563981],
[-70.649578, 45.598147],
[-70.591275, 45.630551],
[-70.5528239033785, 45.66780605788509],
[-70.552793, 45.667836],
[-70.446903, 45.704044],
[-70.383552, 45.734869],
[-70.415684, 45.786158],
[-70.39662, 45.808486],
[-70.329748, 45.853795],
[-70.259117, 45.890755],
[-70.252526, 45.933176],
[-70.26541, 45.962692],
[-70.31297, 45.961856],
[-70.303034, 45.998976],
[-70.317629, 46.01908],
[-70.306734, 46.061344],
[-70.266349, 46.100993],
[-70.239566, 46.142762],
[-70.290896, 46.185838],
[-70.255492, 46.246444],
[-70.232682, 46.284428],
[-70.205719, 46.299865],
[-70.207415, 46.331316],
[-70.161337, 46.360984],
[-70.118597, 46.384233],
[-70.080292, 46.410531],
[-70.053748, 46.429236],
[-70.02301978705616, 46.57348647251729],
[-69.997086, 46.69523],
[-69.818552, 46.87503],
[-69.566383, 47.125032],
[-69.439198, 47.250033],
[-69.219996, 47.457159],
[-69.156074, 47.451035],
[-69.108215, 47.435831],
[-69.039301, 47.42217],
[-69.053885, 47.377878],
[-69.0402, 47.2451],
[-68.966433, 47.212712],
[-68.900985, 47.178519],
[-68.803537, 47.216033],
[-68.675913, 47.242626],
[-68.604819, 47.249418],
[-68.588725, 47.281721],
[-68.507432, 47.296636],
[-68.460064, 47.286065],
[-68.375615, 47.292268],
[-68.384281, 47.326943],
[-68.361559, 47.355605],
[-68.26971, 47.353733],
[-68.204263, 47.33973],
[-68.153509, 47.314038],
[-68.082896, 47.271921],
[-67.998171, 47.217842],
[-67.952269, 47.196142],
[-67.889155, 47.118772],
[-67.789761, 47.065744],
[-67.789799, 46.794868],
[-67.788406, 46.601795],
[-67.782114, 46.279381],
[-67.780438, 46.038452],
[-67.779984, 45.938163],
[-67.750422, 45.917898],
[-67.803678, 45.869379],
[-67.763955, 45.829983],
[-67.803626, 45.781624],
[-67.781892, 45.731189],
[-67.80289429507708, 45.67892788546318],
[-67.803313, 45.677886],
[-67.710464, 45.679372],
[-67.675417, 45.630959],
[-67.631762, 45.621409],
[-67.534919, 45.595428],
[-67.455406, 45.604665],
[-67.423646, 45.572153],
[-67.417417, 45.501985],
[-67.476855, 45.49724],
[-67.484328, 45.451955],
[-67.427243, 45.37369],
[-67.460554, 45.300379],
[-67.480256, 45.268185],
[-67.453473, 45.241127],
[-67.390579, 45.154114],
[-67.339869, 45.125594],
[-67.298209, 45.146672],
[-67.271076, 45.191081],
[-67.203933, 45.171407],
[-67.161247, 45.162879],
[-67.112414, 45.112323],
[-67.090786, 45.068721],
[-67.082074, 45.029608],
[-67.033474, 44.939923],
[-66.983558, 44.903277],
[-66.99296, 44.849181],
[-66.949895, 44.817419],
[-67.02615, 44.768199],
[-67.073439, 44.741957],
[-67.116745, 44.706106],
[-67.169857, 44.662105],
[-67.234275, 44.637201],
[-67.293403, 44.599265],
[-67.368269, 44.624672],
[-67.398987, 44.602631],
[-67.448513, 44.600322],
[-67.491751, 44.556123],
[-67.521168, 44.50991],
[-67.503208, 44.476918],
[-67.579726, 44.429131],
[-67.634806, 44.487054],
[-67.653123, 44.525823],
[-67.70668, 44.501975],
[-67.793589, 44.494779],
[-67.837938, 44.46467],
[-67.855108, 44.419434],
[-67.899571, 44.394078],
[-67.936531, 44.411187],
[-67.94384395705518, 44.407015790843],
[-67.978876, 44.387034],
[-68.01399, 44.390255],
[-68.049334, 44.33073],
[-68.103757, 44.364362],
[-68.125624, 44.387127],
[-68.189155, 44.373833],
[-68.173608, 44.328397],
[-68.191924, 44.306675],
[-68.22949, 44.266918],
[-68.17433, 44.225908],
[-68.306519, 44.234829],
[-68.314789, 44.197157],
[-68.331032, 44.10758],
[-68.438518, 44.11618],
[-68.502942, 44.099722],
[-68.53141420235178, 44.08985238025649],
[-68.584101, 44.071589],
[-68.617085, 44.010097],
[-68.657031, 44.003823],
[-68.669383, 44.076359],
[-68.77965, 44.057754],
[-68.874139, 44.025359],
[-68.905098, 44.077344],
[-68.935327, 44.13038],
[-68.888597, 44.15955],
[-68.93497643176178, 44.20290747393729],
[-68.95189, 44.218719],
[-69.02107454500458, 44.23043531412289],
[-69.040193, 44.233673],
[-69.054546, 44.171542],
[-69.075667, 44.129991],
[-69.031878, 44.079036],
[-69.068112, 44.039768],
[-69.043912, 44.006336],
[-69.077028, 43.973654],
[-69.131536, 43.976089],
[-69.17498, 43.976949],
[-69.212939, 43.921404],
[-69.242812, 43.918818],
[-69.279918, 43.879579],
[-69.321031, 43.856708],
[-69.354577, 43.917765],
[-69.38048971934309, 43.943640233556486],
[-69.393288, 43.95642],
[-69.422048, 43.923047],
[-69.438066, 43.909539],
[-69.50329, 43.837673],
[-69.552606, 43.841347],
[-69.578527, 43.823316],
[-69.650818, 43.803785],
[-69.69581545625987, 43.79605496729129],
[-69.717074, 43.792403],
[-69.754091, 43.743866],
[-69.807359, 43.728081],
[-69.833471, 43.701281],
[-69.855081, 43.704746],
[-69.862155, 43.758962],
[-69.88740612415768, 43.766593379451784],
[-69.915593, 43.775112],
[-69.983685, 43.744395],
[-70.001273, 43.710388],
[-70.06277666023647, 43.71335994651279],
[-70.071304, 43.713772],
[-70.096039, 43.672276],
[-70.168227, 43.675136],
[-70.190704, 43.645582],
[-70.217087, 43.596717],
[-70.206123, 43.557627],
[-70.245499, 43.539635],
[-70.321116, 43.527262],
[-70.33873747724839, 43.52810927936889],
[-70.361214, 43.52919],
[-70.385615, 43.487031],
[-70.327303, 43.458521],
[-70.383981, 43.41294],
[-70.416311, 43.361059],
[-70.465975, 43.340246],
[-70.517695, 43.344037],
[-70.53414906595059, 43.33395724074578],
[-70.553854, 43.321886],
[-70.585184, 43.270113],
[-70.57698663416599, 43.228019173145185],
[-70.575787, 43.221859],
[-70.596185, 43.163466],
[-70.62251, 43.134573],
[-70.665958, 43.076234],
[-70.703818, 43.059825],
[-70.756397, 43.079988],
[-70.819549285713, 43.123230973431184],
[-70.8281, 43.129086],
[-70.824801, 43.179685],
[-70.82477671206809, 43.1797631051822],
[-70.813119, 43.217252],
[-70.872585, 43.270152],
[-70.923949, 43.324768],
[-70.984335, 43.376128],
[-70.968359, 43.429283],
[-70.96078889604699, 43.47408873362158],
[-70.954755, 43.509802],
[-70.96379267980639, 43.54022095536649],
[-70.972716, 43.570255],
[-70.981946, 43.70096],
[-70.98725804674599, 43.79297359288418],
[-70.989929, 43.839239],
[-71.001367, 44.092931],
[-71.008736, 44.258825],
[-71.01027116786828, 44.284888321572],
[-71.01127, 44.301846],
[-71.01357590381458, 44.34083745255949],
[-71.01946172948549, 44.44036323978749],
[-71.022992, 44.500058],
[-71.036705, 44.736498],
[-71.057861, 45.000049],
[-71.083924, 45.305451]
]
]
]
}
}
52 changes: 49 additions & 3 deletions apps/artistella/.data/layer2.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,49 @@
{"type":"FeatureCollection","features":[{
"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[4.9163818359375,37.80544394934271],[7.66845703125,37.80544394934271],[7.66845703125,39.44043541908485],[4.9163818359375,39.44043541908485],[4.9163818359375,37.80544394934271]]]}}
]}
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "California",
"income": {
"2015": 64483
}
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[18.199999, 34.8],
[18.21, 34.8],
[18.21, 34.79],
[18.2, 34.79]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"name": "asd",
"income": {
"2015": 1234
}
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[18.21, 34.8],
[18.22, 34.8],
[18.22, 34.79],
[18.21, 34.79]
]
]
]
}
}
]
}
3 changes: 2 additions & 1 deletion apps/artistella/.data/raster.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{"type":"FeatureCollection","features":[{
"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-80.425, 46.437],
"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[
[-80.425, 46.437],
[-71.516, 46.437],
[-71.516, 37.936],
[-80.425, 37.936]]]}}
Expand Down
Loading