The code you have there definitely works, although you would most likely want to remove skin=true for the profile (it still works with skin=true on the profile but you won't see the marker).
http://jam.ultrajam.net/maps-demo
Things to check:
1. That you have the map in a position where it will definitely show up, not within a smarty statement, etc. Try putting a heading or some text in right before your googlemaps function and check that it shows up on the profile. If it does not, you have either put it in the wrong place, or you are seeing a cached version of your profile.
2. That you have saved a profile_googlemaps location address for that profile. No map will show if you have not saved a location.
Put {debug} into the template and refresh the page. In the debug popup window scroll down to near the bottom and check that you have something like this in the output:
{$profile_googlemaps} "Havana, Cuba"
{$profile_googlemaps_administrative_area_level_1} "Havana"
{$profile_googlemaps_bounds_ne} "(23.1812734, -82.09113109999998)"
{$profile_googlemaps_bounds_sw} "(22.9200574, -82.5748054)"
{$profile_googlemaps_country} "CUBA"
{$profile_googlemaps_lat} "23.0540698"
{$profile_googlemaps_lng} "-82.345189"
{$profile_googlemaps_locality} "Havana"
{$profile_googlemaps_location_type} "APPROXIMATE"
{$profile_googlemaps_map_type} "ROADMAP"
--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
updated by @ultrajam: 08/17/14 03:38:54AM