Closed benjamineac closed 1 year ago
@benjamineac example query below:
Notes:
geojson
was renamed to fault_sections_geojson
for GROKing
query SOLVIS_various{
SOLVIS_about
SOLVIS_analyse_solution (
input:{
solution_id:"U2NhbGVkSW52ZXJzaW9uU29sdXRpb246MTIwNzIy"
location_codes: ["WLG", "LVN"]
radius_km: 100
minimum_mag:5
maximum_mag: 10
minimum_rate:0.000001
maximum_rate:1
location_area_style: {
stroke_color: "gold"
stroke_width: 1
stroke_opacity: 0.5
fill_color:"gold"
fill_opacity: 0.5
}
fault_trace_style: {
stroke_color: "silver"
stroke_width: 3
stroke_opacity:1
}
}) {
analysis {
solution_id
location_geojson
fault_sections_geojson
}
}
}
Want to be able to configure the styling options so the leaflet component can use the styling supplied by the geojson instead of providing its own. Done when: