added directive to lock and unlock the map pans (markup only)