CGGoogleMaps lat long for directions
Posted: Sat Jul 23, 2011 2:58 pm
Hi,
I'm trying to get the lat and long variables into the directions window. Since {$marker->get_marker_id()} and {$marker->get_title()} both work and show up in {$marker|print_r}, I also tried {$marker->get_lat()} and {$marker->get_long()}.
However, those don't give anything, while they seem filled in the {$marker|print_r}.
What is the proper syntax to get the lat and long from a marker?
I'm trying to get the lat and long variables into the directions window. Since {$marker->get_marker_id()} and {$marker->get_title()} both work and show up in {$marker|print_r}, I also tried {$marker->get_lat()} and {$marker->get_long()}.
However, those don't give anything, while they seem filled in the {$marker|print_r}.
What is the proper syntax to get the lat and long from a marker?