-
Notifications
You must be signed in to change notification settings - Fork 1
/
map_config.py
1 lines (1 loc) · 2.39 KB
/
map_config.py
1
config = {'version': 'v1', 'config': {'visState': {'filters': [], 'layers': [{'id': '5n82si', 'type': 'point', 'config': {'dataId': 'vienna_df', 'label': 'Point', 'color': [255, 203, 153], 'columns': {'lat': 'Latitude', 'lng': 'Longitude', 'altitude': None}, 'isVisible': True, 'visConfig': {'radius': 10, 'fixedRadius': False, 'opacity': 0.86, 'outline': False, 'thickness': 2, 'strokeColor': None, 'colorRange': {'name': 'ColorBrewer RdYlGn-6', 'type': 'diverging', 'category': 'ColorBrewer', 'colors': ['#d73027', '#fc8d59', '#fee08b', '#d9ef8b', '#91cf60', '#1a9850']}, 'strokeColorRange': {'name': 'Global Warming', 'type': 'sequential', 'category': 'Uber', 'colors': ['#5A1846', '#900C3F', '#C70039', '#E3611C', '#F1920E', '#FFC300']}, 'radiusRange': [0, 20], 'filled': True}, 'hidden': False, 'textLabel': [{'field': None, 'color': [255, 255, 255], 'size': 18, 'offset': [0, 0], 'anchor': 'start', 'alignment': 'center'}]}, 'visualChannels': {'colorField': {'name': 'Sats', 'type': 'integer'}, 'colorScale': 'quantize', 'strokeColorField': None, 'strokeColorScale': 'quantile', 'sizeField': {'name': 'Precision', 'type': 'real'}, 'sizeScale': 'sqrt'}}], 'interactionConfig': {'tooltip': {'fieldsToShow': {'vienna_df': ['Date', 'Altitude', 'Precision']}, 'enabled': True}, 'brush': {'size': 0.5, 'enabled': False}, 'geocoder': {'enabled': False}, 'coordinate': {'enabled': False}}, 'layerBlending': 'normal', 'splitMaps': [], 'animationConfig': {'currentTime': None, 'speed': 1}}, 'mapState': {'bearing': 24, 'dragRotate': True, 'latitude': 48.22068729920424, 'longitude': 16.375344951840642, 'pitch': 50, 'zoom': 18.85977022935161, 'isSplit': False}, 'mapStyle': {'styleType': 'muted', 'topLayerGroups': {}, 'visibleLayerGroups': {'label': True, 'road': True, 'border': False, 'building': True, 'water': True, 'land': True, '3d building': False}, 'threeDBuildingColor': [224.4071295378559, 224.4071295378559, 224.4071295378559], 'mapStyles': {'4yioxqe': {'accessToken': 'pk.eyJ1IjoiaW5ub2Rlc2lnbiIsImEiOiJja2RhczJ1dXYwcWVzMnJtaXVocmJtYXI2In0.ECkesOEQeK1FIMl_va9IQg', 'custom': True, 'icon': 'https://api.mapbox.com/styles/v1/innodesign/ckdasdj991htk1iqoeqs3wjdl/static/-122.3391,37.7922,9,0,0/400x300?access_token=pk.eyJ1IjoiaW5ub2Rlc2lnbiIsImEiOiJja2RhczJ1dXYwcWVzMnJtaXVocmJtYXI2In0.ECkesOEQeK1FIMl_va9IQg&logo=false&attribution=false', 'id': '4yioxqe', 'label': 'Frank', 'url': 'mapbox://styles/innodesign/ckdasdj991htk1iqoeqs3wjdl'}}}}}