Trying to create a static map dynamically in a channel entries loop with the lat/long field data. I'm thinking that the text fields are parsed after the {exp:gmap:static_map center="{retailers_latitude},{retailers_longitude}"}
- any solution for this? Swapping parse order doesn't do anything.
Add a comment
|
1 Answer
You may have to encase those variables in quotes like:
{exp:gmap:static_map center="{retailers_latitude},{retailers_logitude}"}
-
This did work, however, in the
marker=""
parameter, it required justmarker="{lat}, {long}"
, for what it's worth. Thanks! Apr 16, 2013 at 14:17