Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am adding two FeatureGraphicsLayer to a GraphicDataSet like so:


It looks like it puts the last one in on the very top of all the other FeatureGraphicsLayers.

I need to add one to the bottom of the GraphicsDataSet.

Is this possible?

Is there a ways to change the order of FeatureGraphicsLayers once they are in the GraphicsDataSet?

share|improve this question

Un-tested, un-proven, and not an expert here, but you could try something like this...

    gdsInsertAt(eventsFeatureGraphicsLayer2, graphicsMapFunctionality,graphicsMapFunctionality.GraphicsDataSet.Tables.Count)

Protected Sub gdsInsertAt(ByVal theTableToInsert As Data.DataTable, ByVal graphicsMF As ESRI.ArcGIS.ADF.Web.DataSources.Graphics.MapFunctionality, ByVal index As Integer)
    Dim tableList As List(Of Data.DataTable) = New List(Of Data.DataTable)
    For i = 0 To graphicsMF.GraphicsDataSet.Tables.Count - 1
        tableList.Insert(i, graphicsMF.GraphicsDataSet.Tables(i))
    tableList.Insert(index, theTableToInsert)
End Sub

This will change the order of the tables, but I'm not sure how it affects the rendering.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.