tags:

views:

7

answers:

1

I enabled the map to allow dynamic objects

Then I grab the IDynamicDisplay from an event which I wired up.

void dynamicMapEvents_AfterDynamicDraw(esriDynamicMapDrawPhase DynamicMapDrawPhase, IDisplay Display, IDynamicDisplay dynamicDisplay)
{
if (DynamicMapDrawPhase != esriDynamicMapDrawPhase.esriDMDPDynamicLayers) return;
IDynamicDrawScreen m_dynamicDrawScreen = dynamicDisplay as IDynamicDrawScreen;
m_dynamicDrawScreen.DrawScreenText(myPoint, "Test"); 
}

"Test" should be drawn on the screen but its not. I have the feeling I'm missing one line of code somwhere.

A: 

you have to load the glyph into symbol properties, then you can draw it vis a vis dynamicCompoundMarker.

iterationx

related questions