mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
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:
parent
c303242f8a
commit
031ceb7e69
|
@ -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);
|
||||
|
|
|
@ -121,9 +121,4 @@ body {
|
|||
font-size: 11px;
|
||||
color: red;
|
||||
}
|
||||
|
||||
div .gmnoprint {
|
||||
white-space: normal !important;
|
||||
/* overflow: hidden; */
|
||||
}
|
||||
|
Loading…
Reference in a new issue