I have a Layer composed of highway lines which is not showing up above my other layers. Instead it shows up just above my Base Overlay and is covered by all of my other Overlays.
Map.CustomOverlays.Add( BaseOverlay ); //Contains: 1 ShapeFileFeatureLayer - MultiPolygons
Map.CustomOverlays.Add( ZoneOverlay ); //Contains: 3 ShapeFileFeatureLayer - MultiPolygons
Map.CustomOverlays.Add( ZipOverlay ); //Contains: 1 ShapeFileFeatureLayer - MultiPolygons
Map.CustomOverlays.Add( CountyOverlay ); //Contains: 1 ShapeFileFeatureLayer - MultiPolygons
Map.CustomOverlays.Add( StateOverlay ); //Contains: 2 ShapeFileFeatureLayer - MultiPolygons
Map.CustomOverlays.Add( RoadOverlay ); //Contains: 4 ShapeFileFeatureLayer - Points + Lines
Map.CustomOverlays.Add( PlaceOverlay ); //Contains: 2 ShapeFileFeatureLayer - Points
Map.CustomOverlays.Add( BranchOverlay ); //Contains: 1 InMemoryFeatureLayer - Points Only
Map.CustomOverlays.Add( LabelOverlay ); //Contains: 1 InMemoryFeatureLayer - Text Labels on Points Only
Details on the 4 RoadOverlay Layers:
- 1 ShapeFile with the Highway Lines - Uses LineStyle to render
- 1 ShapeFile with Points for Highway Labels - Uses IconStyle to render the US Highway Shield
- 1 ShapeFile with the Interstate Lines - Uses LineStyle to render
- 1 ShapeFile with Points for Interstate Labels - Uses IconStyle to render the Interstate Shield.
The reason there is a ShapeFile with Points for the Labels is because we wanted the labels at exact locations.
Any idea why, even though I load the CustomOverlays in this order, the renderer is ignoring me?