Skip to content

Commit

Permalink
need to ignore custom renderer for plant layer
Browse files Browse the repository at this point in the history
  • Loading branch information
srkirkland committed Nov 18, 2021
1 parent be115d7 commit 7695c88
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/components/Map/Layers/PlantLegend.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
import React from 'react';

export const PlantLegend = () => (
<div
id='legend-main_Power_Plant_8615'
className='esriLegendService'
style={{ display: 'block' }}
>
See{' '}
<a
target='_blank'
rel='noopener noreferrer'
href='http://www.arcgis.com/home/webmap/viewer.html?url=https://services3.arcgis.com/bWPjFyq029ChCGur/ArcGIS/rest/services/Power_Plant/FeatureServer/0&source=sd'
>
the ArcGIS map viewer
</a>
for an interactive map of the plant locations, including custom icons for
each plant type.
</div>
);

export const PlantLegendWithRenderer = () => (
<div
id='legend-main_Power_Plant_8615'
className='esriLegendService'
Expand Down
1 change: 1 addition & 0 deletions src/components/Map/MapContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ export const MapContainer = () => {
url={
'https://services3.arcgis.com/bWPjFyq029ChCGur/ArcGIS/rest/services/Power_Plant/FeatureServer/0'
}
ignoreRenderer={true}
/>
)}
{externalLayers.includes('county') && (
Expand Down

0 comments on commit 7695c88

Please sign in to comment.