Added marker.setInfoBubble() back into Place Map, and adjusted font of the div#geo-info to a more readable size.
svn: r15576
This commit is contained in:
parent
c5f30ccc3a
commit
24978e4ba6
@ -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
|
||||
|
@ -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('<div id = "geo-info" >%s</div>'); """ % place_title
|
||||
|
||||
jsc += """
|
||||
// add marker to map
|
||||
map.addMarker(marker, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user