From 24978e4ba6c690095591b9b7f24157dffe8dd604 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Thu, 17 Jun 2010 05:21:00 +0000 Subject: [PATCH] Added marker.setInfoBubble() back into Place Map, and adjusted font of the div#geo-info to a more readable size. svn: r15576 --- src/data/Mapstraction.css | 7 +++++-- src/plugins/webreport/NarrativeWeb.py | 8 ++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/data/Mapstraction.css b/src/data/Mapstraction.css index ac25f79e3..92aed7dad 100644 --- a/src/data/Mapstraction.css +++ b/src/data/Mapstraction.css @@ -38,8 +38,11 @@ div#middle { margin: 10px 0px 10px 0px; padding: 0% 20% 0% 20%; } -div#middle div#geo-info { - font: bold 6px sans-serif; + +/* geo-info bubble +------------------------------------------------- */ +div#geo-info { + font: bold 11px sans-serif; } /* GoogleV3 diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 0d6d48a5d..6491d2079 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -403,16 +403,12 @@ class BasePage(object): // put map on page map.setCenterAndZoom(latlon, 9); - var point; - var points = [] - - point = new mxn.LatLonPoint(latlon); - points.push(point); - // add marker var marker; marker = new mxn.Marker(latlon); + marker.setInfoBubble('
%s
'); """ % place_title + jsc += """ // add marker to map map.addMarker(marker, true); }