From 7695c886a6498434bf471bd0a82613497d533d28 Mon Sep 17 00:00:00 2001 From: Scott Kirkland Date: Thu, 18 Nov 2021 13:27:38 -0800 Subject: [PATCH] need to ignore custom renderer for plant layer --- src/components/Map/Layers/PlantLegend.tsx | 19 +++++++++++++++++++ src/components/Map/MapContainer.tsx | 1 + 2 files changed, 20 insertions(+) diff --git a/src/components/Map/Layers/PlantLegend.tsx b/src/components/Map/Layers/PlantLegend.tsx index b4f5855..3330d74 100644 --- a/src/components/Map/Layers/PlantLegend.tsx +++ b/src/components/Map/Layers/PlantLegend.tsx @@ -1,6 +1,25 @@ import React from 'react'; export const PlantLegend = () => ( +
+ See{' '} + + the ArcGIS map viewer + + for an interactive map of the plant locations, including custom icons for + each plant type. +
+); + +export const PlantLegendWithRenderer = () => (
{ url={ 'https://services3.arcgis.com/bWPjFyq029ChCGur/ArcGIS/rest/services/Power_Plant/FeatureServer/0' } + ignoreRenderer={true} /> )} {externalLayers.includes('county') && (