Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I am working happily with dev-version = "7.x-1.x-dev" from 2012-05-14
Whenever I try to upgrade to "7.x-1.0-beta1" or 2.2, I get the following error, also on a new view:
Notice: Undefined index: value in gmap_plugin_style_gmap->render() (line 209 gmap_plugin_style_gmap.inc).
Comments
Comment #1
yoannl CreditAttribution: yoannl commentedHi,
I just resolved this problem by replacing in gmap_plugin_style_gmap.inc (line 209 & 210)
" $lat = (float)$custom_field_lat['value'];
$lon = (float)$custom_field_lon['value'];"
by
" $lat = (float)$custom_field_lat['latitude'];
$lon = (float)$custom_field_lon['longitude'];"
It works now fine for me.
Now I can use CCK location fields in views module to get gmap views
Regards,
Yoann
Comment #2
johnvSome refactoring has been done. Check out latst version.