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! Commented 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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.