Support » Plugin: Simple Fields Map extension » Possible bug in static maps

  • I’ve seen that generated urls

    [static_maps] => Array
                        [thumbnail] =>¢er=45.0894334,7.68598350000002&zoom=16&size=150x150&scale=1&maptype=roadmap&markers=size:mid|color:red|45.0894334,7.68598350000002
                        [medium] =>¢er=45.0894334,7.68598350000002&zoom=16&size=300x300&scale=1&maptype=roadmap&markers=size:mid|color:red|45.0894334,7.68598350000002
                        [large] =>¢er=45.0894334,7.68598350000002&zoom=16&size=1024x1024&scale=1&maptype=roadmap&markers=size:mid|color:red|45.0894334,7.68598350000002
                        [news] =>¢er=45.0894334,7.68598350000002&zoom=16&size=670x350&scale=1&maptype=roadmap&markers=size:mid|color:red|45.0894334,7.68598350000002

    have one “¢” char broking the url; it works with “&” instead. Just my problem?

    Bye 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pär Thernström


    ha! interesting: it’s real output is “sensor=false&center=45″…
    So it’s “&cent” that’s becoming the “¢” char. Do you have any html-escaping taking place somewhere, like htmlentity() or esc_html() or similar? Try to output the value as un-processed/modified as possible..

    Let me know if you find anything!

    im trying to make the map work

    $selected_value = simple_fields_get_post_value(get_the_id(), array(1, 2), true);
    echo “Phone: $selected_value”;

    im getting array instead of a map

    this is the code im using it works great with all other field
    map isnt working

    how can imake it work

    what am i doing wrong


    Plugin Author Pär Thernström


    Try this:


    and you will see what it contains. somewhere among all values there will be something useful!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Possible bug in static maps’ is closed to new replies.