RefreshMap Activity quirk
Folks,
This one's doing my head in so hopefully someone else out there has experienced the same behaviour - or maybe it's just my code!'
basically I have an edit workflow working nicely (I edit the name of the fire area - and hence the label should change also) - until the map refresh activity won't refresh the map label properly. It does initially, but then I ask the user if they would like to edit again, and loop back to the start, and the label changes back to what it was!! Even if I exit out the Edit another prompt, the label will stay refreshed UNTIL I hit the Workflow button again, and the label changes back to the way it was - again!!
The only way around it I've found, is to grab the envelope of the map and pan it 1m (or whatever) - which is what I'm doing now, or expand the extent upwards/downwards to the next scale level. The SetExtent --> RefreshMap sequence at the same scale seems to have no lasting effect either!
weird, and appreciative of any explanation as to why it is working this way. I can attach the workflow, but it's a simple update, and refresh really.
cheers
Gareth
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare