From a70cc55d019fede92472eb4d59b0f3638273389e Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Wed, 30 Sep 2009 21:41:50 +0000 Subject: [PATCH] GeoView : Some css correction. Added places list over the map. Mapstraction infobull correction. svn: r13279 --- src/DataViews/GeoView.py | 86 ++++++++++++++++++------- src/data/GeoView.css | 105 ++++++++++++++++++++++++++++--- src/mapstraction/mapstraction.js | 4 +- 3 files changed, 163 insertions(+), 32 deletions(-) diff --git a/src/DataViews/GeoView.py b/src/DataViews/GeoView.py index f13040c06..e435038e6 100644 --- a/src/DataViews/GeoView.py +++ b/src/DataViews/GeoView.py @@ -67,10 +67,10 @@ from PlaceUtils import conv_lat_lon # map icons # #------------------------------------------------------------------------- -_icons = { - gen.lib.EventType.BIRTH : 'gramps-geo-birth', - gen.lib.EventType.DEATH : 'gramps-geo-death', - gen.lib.EventType.MARRIAGE : 'gramps-geo-marriage', +_ICONS = { + gen.lib.EventType.BIRTH : 'gramps-geo-birth', + gen.lib.EventType.DEATH : 'gramps-geo-death', + gen.lib.EventType.MARRIAGE : 'gramps-geo-marriage', } #------------------------------------------------------------------------- @@ -155,6 +155,9 @@ _JAVASCRIPT = '''