Fix label width, position, changed to blue, removed frame.

This commit is contained in:
Nick Foster 2013-07-22 21:54:37 -07:00
parent 8d3b4d4da1
commit dfa62d0621

View File

@ -14,14 +14,14 @@ def html_template(my_position, json_file):
<meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="content-type" content="text/html;charset=utf-8" />
<style type="text/css"> <style type="text/css">
.labels { .labels {
color: red; color: blue;
background-color: white; background-color: white;
font-family: "Lucida Grande", "Arial", sans-serif; font-family: "Lucida Grande", "Arial", sans-serif;
font-size: 10px; font-size: 13px;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
width: 40px; width: 70px;
border: 2px solid black; border: none;
white-space: nowrap; white-space: nowrap;
} }
</style> </style>
@ -95,7 +95,7 @@ def html_template(my_position, json_file):
position: airplanes[airplane].center, position: airplanes[airplane].center,
icon: plane_icon, icon: plane_icon,
labelContent: identstr, labelContent: identstr,
labelAnchor: new google.maps.Point(64, 0), labelAnchor: new google.maps.Point(35, -32),
labelClass: "labels", labelClass: "labels",
labelStyle: {opacity: 0.75} labelStyle: {opacity: 0.75}
}; };