since the data file is already big enough here some code to change the compass button into a navigation cancel button.
;
have fun,
bt
Thinking about it, there's on need to define the compass twice, and have iGO keep track of navigating thу route for yet another model.
You could have just one compass, and in onRelease have code like this:
onRelease='runif navigation.HasRoute 1 sc_CheckAndDelete'
and then code sc_CheckAndDelete in navigatemap.ui to be something like
runif navigation.HasRoute sc_btnARM_Delete_OnRelease
This might be a bit cleaner approach, because it does not force iGO to keep track of yet another model...
Ypoiu probably could even have it in the onrelease code itself, but I can't check it right now becasue IPAQ emulator I use has different model (for some reason they make different builds for different manufacturers with some chnages ot core functionality...)