Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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 have 2 annotated layers which I load in a BaseMapLayerClass. When the map is static the annotations are visible. When I enable DynamicMap I lose all annotations. I would like a way to annotate layers in a BaseMapLayerClass while dynamic is enabled.

An interesting note about the problem. If I don't have my layers in a BaseMapLayerClass, dynamic display does not affect my annotations.

However I would like them to be in a BaseMapLayerClass because would make it much easier for me to save layers and restore them across sessions.

I'm using ArcEngine C# VS2010

I think the problem is somehow related to extents.

This post:

Led me to the limitations page

which states :

Labels will be cut off on custom layers that don't return the correct extent

And actually it's weird. Sometimes the annotations will draw and then I'll move the map up a few pixels with the hand tool, and then they will no longer draw. Then move it back a few pixels and it will draw again.

It's helpful there is a consistency there, but I haven't a clue how to implement a workaround.

share|improve this question
up vote 0 down vote accepted

Accessing a sublayer from BaseMap and casting it into a IGeoFeatureLayer gives null. So I guess the solution is do not attempt.

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.