web/views/igeocodable.py
changeset 5444 f7fdb5dd82f6
parent 5424 8ecbcbff9777
child 5467 57372dbfd114
--- 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)