You need to:
-
Hook into the
edited_$taxonomy
action. Just replace$taxonomy
with the name of your custom taxonomy. Based on your example I thinkedited_location
will work for you. -
Create a custom
query_var
to pass on the fact that your taxonomy has changed.
For #2, this answer should get you going. Good luck!