From 92e4ad99294770f4411604b3c6daf691b7273e3e Mon Sep 17 00:00:00 2001 From: Edgar Montes Date: Wed, 21 Aug 2024 14:36:38 -0400 Subject: [PATCH] Building image test and update custom test. --- src/stories/map.stories.js | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/src/stories/map.stories.js b/src/stories/map.stories.js index bc364172..2e0ec76d 100644 --- a/src/stories/map.stories.js +++ b/src/stories/map.stories.js @@ -25,6 +25,17 @@ export const Cluster = () => data-map-layers='[{"name":"multi-family","layers":[{"name":"clusters","type":"circle","filter": ["has", "point_count"],"clickable":true,"radius":["step",["get", "point_count"],20,10,30,20,40],"color":["step",["get", "point_count"],"#51bbd6",10,"#f1f075",20,"#f28cb1"],"active":true,"source":"multi-family"},{"name":"cluster-count","type":"text","filter": ["has", "point_count"],"color":"#004445","opacity":null,"width":null,"active":true,"size":12,"textVariable":true,"text":"{point_count_abbreviated}","source":"multi-family"}],"sourceCluster":true,"sourceClusterMaxZoom":14,"sourceClusterRadius":50,"source":"https://services2.arcgis.com/qvkbeam7Wirps6zC/arcgis/rest/services/Multifamily_Housing_One_Billion_Dollar_Construction_Sites/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson"}]' >`; +export const Image = () => + html``; + export const Layers = () => html` data-center="-83.103111,42.31103400000001" data-zoom="12" data-popup-layers='["d-6"]' - ; data-popup-structure='{"schools":[{"type":"field-value","label":"Name:","value":"EntityOfficialName"}],"d-6":[{"type":"field-value","label":"Name:","value":"Facility"}]}' data-map-active-data="schools" data-map-layers='[{"name":"d-6","layers":[{"name":"d-6","type":"circle","clickable":true,"radius":6,"color":"#481718","active":true,"sort":10,"source":"d-6"}],"source":"https://services2.arcgis.com/qvkbeam7Wirps6zC/ArcGIS/rest/services/D6CRG_Facilities/FeatureServer/0/query?where=1%3D1&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&resultType=none&distance=0.0&units=esriSRUnit_Meter&relationParam=&returnGeodetic=false&outFields=*&returnGeometry=true&featureEncoding=esriDefault&multipatchOption=xyFootprint&maxAllowableOffset=&geometryPrecision=&outSR=&defaultSR=&datumTransformation=&applyVCSProjection=false&returnIdsOnly=false&returnUniqueIdsOnly=false&returnCountOnly=false&returnExtentOnly=false&returnQueryGeometry=false&returnDistinctValues=false&cacheHint=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&having=&resultOffset=&resultRecordCount=&returnZ=false&returnM=false&returnExceededLimitFeatures=true&quantizationParameters=&sqlFormat=none&f=pgeojson&token="}]' @@ -77,10 +87,10 @@ export const CustomTest = () => html``;