Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package org.android.openlayer; import com.eg.gwt.openLayers.client.Bounds; import com.eg.gwt.openLayers.client.Icon; import com.eg.gwt.openLayers.client.JObjectArray; import com.eg.gwt.openLayers.client.JSObject; import com.eg.gwt.openLayers.client.LonLat; import com.eg.gwt.openLayers.client.Map; import com.eg.gwt.openLayers.client.MapOptions; import com.eg.gwt.openLayers.client.MapWidget; import com.eg.gwt.openLayers.client.Marker; import com.eg.gwt.openLayers.client.Pixel; import com.eg.gwt.openLayers.client.Size; import com.eg.gwt.openLayers.client.control.LayerSwitcher; import com.eg.gwt.openLayers.client.control.MousePosition; import com.eg.gwt.openLayers.client.control.MouseToolbar; import com.eg.gwt.openLayers.client.control.PanZoomBar; import com.eg.gwt.openLayers.client.control.Scale; import com.eg.gwt.openLayers.client.event.EventHandler; import com.eg.gwt.openLayers.client.layer.Layer; import com.eg.gwt.openLayers.client.layer.Markers; import com.eg.gwt.openLayers.client.layer.WMS; import com.eg.gwt.openLayers.client.layer.WMSParams; import com.eg.gwt.openLayers.client.popup.AnchoredBubble; import com.eg.gwt.openLayers.client.popup.Popup; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.DockPanel; import com.google.gwt.user.client.ui.RootPanel; public class hello implements EntryPoint { private MapWidget mapWidget; private Map map; private WMS wmsLayer; private Markers markers; private Popup popup; public void onModuleLoad() { // let's create map options MapOptions mapOptions = new MapOptions(); mapOptions.setControls(new JObjectArray(new JSObject[] {})); mapOptions.setNumZoomLevels(16); mapOptions.setProjection("EPSG:4326"); // let's create map widget and map objects mapWidget = new MapWidget("350px", "350px", mapOptions); map = mapWidget.getMap(); markers = new Markers("marker layer"); // let's create WMS map layer WMSParams wmsParams = new WMSParams(); wmsParams.setFormat("image/png"); wmsParams.setLayers("tiger-ny"); wmsParams.setStyles(""); wmsParams.setMaxExtent(new Bounds(-74.047185, 40.679648, -73.907005, 40.882078)); wmsLayer = new WMS("WMS Layer", "http://localhost:8080/geoserver/wms", wmsParams); // let's add layers and controls to map map.addLayers(new Layer[] {wmsLayer, markers}); map.addControl(new PanZoomBar(RootPanel.get("nav").getElement())); map.addControl(new MousePosition(RootPanel.get("position").getElement())); map.addControl(new Scale(RootPanel.get("scale").getElement())); map.addControl(new MouseToolbar()); map.addControl(new LayerSwitcher()); // let's center the map to somewhere and set zoom level to 13 LonLat center = new LonLat(-73.99, 40.73); map.setCenter(center, 13); // add marker Size size = new Size(10,17); Pixel offset = new Pixel(-5, -17); Icon icon = new Icon("img/marker.png", size, offset); Marker marker = new Marker(center, icon); markers.addMarker(marker); // register mouse over event marker.getEvents().register("mouseover", marker, new EventHandler() { public void onHandle(JSObject source, JSObject[] param) { Marker marker = Marker.narrowToMarker(source); if (popup != null) { map.removePopup(popup); } popup = new AnchoredBubble("marker-info", marker.getLonLat(), new Size(120,80), "

You moved near " + marker.getLonLat().lon() + " : " + marker.getLonLat().lat() + "

" , new Icon("", new Size(0,0), new Pixel(0,0)), true); map.addPopup(popup); } }); // register mouse out event marker.getEvents().register("mouseout", marker, new EventHandler() { public void onHandle(JSObject source, JSObject[] param) { // Marker marker = Marker.narrowToMarker(source); if (popup != null) { map.removePopup(popup); } } }); // eventually add the map widget to div:map DockPanel dockPanel = new DockPanel(); dockPanel.add(mapWidget, DockPanel.CENTER); dockPanel.setBorderWidth(1); RootPanel.get("map").add(dockPanel); } }