Will a ujGooglemaps map appear in a SiteBuilder panel?
GoogleMaps
Thank you for that - I see what you're saying. I've been back and reinserted the code from earlier, so the template starts like this:
{if isset($_items)}
{foreach $_items as $key => $val}
{$_items[$key].profile_googlemaps_lat=$profile_latitude}
{$_items[$key].profile_googlemaps_lng=$profile_longitude}
{$_items[$key].profile_googlemaps="address placeholder"}
{/foreach}
{ujGoogleMaps_map module="jrProfile" name="testy" marker="infowindow" map=$_items height="300" width="100%" map_type="hybrid" }
Interestingly, the map is rendering, but only the first place in the list. However, looking in the debug console, you can see that the profile_googlemaps_latitude and profile_googlemaps_longitude is still reading 'null' - yet it has got the first entry in the array mapped....
I've attached a screenshot with the output on, and the debug window on top.....
EDIT: it also hasn't added the marker, even though an infowindow was requested
updated by @iamtimbo: 03/18/15 07:44:14AM