resize map when dialog, issue #40
avoid empty addr, #40
Merge branch 'dev'