WPIntell

Source evidence

Possible bug in static maps

Simple Fields Map extension · support · 2013-03-28T09:25:00+00:00

complaintsentiment
mediumseverity
0.8relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

2 / 31 rows with source links

6.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Alessandro Fazzi unresolved
I’ve seen that generated urls [static_maps] => Array ( [thumbnail] => http://maps.googleapis.com/maps/api/staticmap?sensor=false¢er=45.0894334,7.68598350000002&zoom=16&size=150x150&scale=1&maptype=roadmap&markers=size:mid|color:red|45.0894334,7.68598350000002 [medium] => http://maps.googleapis.com/maps/api/staticmap?sensor=false¢er=45.0894334,7.68598350000002&zoom=16&size=300x300&scale=1&maptype=roadmap&markers=size:mid|color:red|45.0894334,7.68598350000002 [large] => http://maps.googleapis.com/maps/api/staticmap?sensor=false¢er=45.0894334,7.68598350000002&zoom=16&size=1024x1024&scale=1&maptype=roadmap&markers=size:mid|color:red|45.0894334,7.68598350000002 [news] => http://maps.googleapis.com/maps/api/staticmap?sensor=false¢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 🙂 http://wordpress.org/extend/plugins/simple-fields-map-extension/ ha! interesting: it’s real output is “sensor=false¢er=45″… So it’s “¢” 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! hi im trying to make the map work <?php $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 tnx Try this: print_r($selected_value); and you will see what it contains. somewhere among all values there will be something useful!

Comments

3 shown
Pär Thernström 2013-03-28T12:16:00+00:00

ha! interesting: it’s real output is “sensor=false¢er=45″… So it’s “¢” 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!

hakerdesign 2013-05-02T14:53:00+00:00

hi im trying to make the map work <?php $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 tnx

Pär Thernström 2013-05-14T07:22:00+00:00

Try this: print_r($selected_value); and you will see what it contains. somewhere among all values there will be something useful!