Active
Project:
GMap Module
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2013 at 19:25 UTC
Updated:
16 May 2013 at 19:25 UTC
Hi,
I'm newbie on GMap, Drupal and PHP so please be patience with me.
I've got the following gmap macro:
[gmap zoom=14 |center=37.38979459587174,-5.9772491455078125 |width=640px |height=480px |control=Small |type=Map|circle=#000000/3/25/#ffff00/45:37.38979459587174,-5.9772491455078125 + 1500 ]
when i display the map, the following error was shown in the browser console:
Invalid value for property <radius> : 1500
and the circle gone with the wind.
Finally, I can see the circle by changing the line:
151 $s['radius'] = $tmp[1] ? $tmp[1] : 100;
in file gmap_parse_macro.inc to:
151 $s['radius'] = $tmp[1] ? intval($tmp[1]) : 100;
it,s that correct?
Thanks.