Group Layers
This sample uses a combination of layer effects and layer blending on multiple layers to make a country stand out from the rest of the map. When the app loads, you will see the country of France will stand out from the rest. The user can then click on any country to highlight that country on the map.
About this sample
This GeoBlazor Pro sample, written in Blazor for .NET developers, demonstrates GroupLayer composition with blend modes and layer effects from the ArcGIS Maps SDK for JavaScript exposed through GeoBlazor's GroupLayer, TileLayer, and GraphicsLayer Razor components. The page shows a 2D world imagery basemap initially centered on France, with the rest of the world blurred and grayscaled while France itself is rendered crisp and highlighted with a soft drop shadow. The highlight is achieved by stacking a GroupLayer that contains a second copy of the imagery and a destination-in-blended GraphicsLayer holding the country polygon, then applying SetEffect to both the base imagery and the GroupLayer. A small instruction banner pinned to the upper-right of the map reads Click on a country; clicking anywhere queries a hidden countries FeatureLayer, moves the highlight to the clicked country, and re-applies the effects. The sample is intended to demonstrate how blend modes, effects, and grouped layers can produce visually rich spatial focus treatments.