Another (better) solution for google maps long copyright strings.

git-svn-id: https://zxing.googlecode.com/svn/trunk@798 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
leppoc 2008-12-19 21:28:11 +00:00
parent c303242f8a
commit 031ceb7e69
2 changed files with 1 additions and 7 deletions

View file

@ -16,8 +16,6 @@
package com.google.zxing.web.generator.client;
import com.google.gwt.dom.client.Node;
import com.google.gwt.dom.client.NodeList;
import com.google.gwt.http.client.URL;
import com.google.gwt.maps.client.MapWidget;
import com.google.gwt.maps.client.control.SmallMapControl;
@ -146,6 +144,7 @@ public class GeoLocationGenerator implements GeneratorSource, ChangeListener {
map.setSize("256px", "256px");
map.addControl(new SmallMapControl());
map.getElement().getStyle().setProperty("overflow", "hidden");
map.addMapClickHandler(new MapClickHandler() {
public void onClick(MapClickEvent event) {
mapClick(event);

View file

@ -121,9 +121,4 @@ body {
font-size: 11px;
color: red;
}
div .gmnoprint {
white-space: normal !important;
/* overflow: hidden; */
}