Save map at runtime

Ok and how can I get the current WorldContext??