--- a/web/views/igeocodable.py Thu Apr 29 14:21:59 2010 +0200
+++ b/web/views/igeocodable.py Fri Apr 30 12:14:15 2010 +0200
@@ -59,7 +59,7 @@
if hasattr(entity, 'marker_icon'):
icon = entity.marker_icon()
else:
- icon = (self._cw.external_resource('GMARKER_ICON'), (20, 34), (4, 34), None)
+ icon = (self._cw.vreg.config.uiprops['GMARKER_ICON'], (20, 34), (4, 34), None)
return {'latitude': entity.latitude, 'longitude': entity.longitude,
'title': entity.dc_long_title(),
#icon defines : (icon._url, icon.size, icon.iconAncho', icon.shadow)