Hi there,
I have a workflow where the QueryTools object isn't being instantied in my InMemoryFeatureLayer.
Problematic workflow:
- Create a WpfMap
- Add features to map
- Display the map
- Access QueryTools -> null
Good workflow
- Create a WpfMap
- Display the map
- Add features to map
- Access QueryTools -> not null... everything's ok
Like I said, the layer where the QueryTools isn't being initialized is an InMemoryFeatureLayer. My other layers, which derive from FeatureLayer are just fine.
So, a question is this: for an InMemoryFeatureLayer, when does QueryTools get instantied?
Also, is there something I need to do to make QueryTools become instantied?
Both workflows exist due to the architecture of our application.
Thanks,
Greg