web/views/igeocodable.py
changeset 5467 57372dbfd114
parent 5444 f7fdb5dd82f6
child 5556 9ab2b4c74baf
--- a/web/views/igeocodable.py	Wed May 05 10:22:11 2010 +0200
+++ b/web/views/igeocodable.py	Wed May 05 10:28:55 2010 +0200
@@ -59,7 +59,7 @@
         if hasattr(entity, 'marker_icon'):
             icon = entity.marker_icon()
         else:
-            icon = (self._cw.vreg.config.uiprops['GMARKER_ICON'], (20, 34), (4, 34), None)
+            icon = (self._cw.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)