Added preview view support.
Merge remote-tracking branch 'remotes/origin/master' into map