0

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.

1 Answer 1

2

You may have to encase those variables in quotes like:

{exp:gmap:static_map center="{retailers_latitude},{retailers_logitude}"}
1
  • This did work, however, in the marker="" parameter, it required just marker="{lat}, {long}", for what it's worth. Thanks!
    – Ryan Shrum
    Apr 16, 2013 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.