If it doesn’t output anything, there are 2 things to make sure to check.
First is to make sure the address field is valid.
Another one is the API key.
If both are 100% sure to be valid, try changing this line:
do_shortcode( '[pw_map address="'.$address.'" key="YOUR API KEY"]' );
to
echo do_shortcode( '[pw_map address="'.$address.'" key="YOUR API KEY"]' );