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 com.guidokessels.MapItemizedOverlay; import java.util.ArrayList; import java.util.List; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.Toast; import com.google.android.maps.GeoPoint; import com.google.android.maps.ItemizedOverlay; import com.google.android.maps.MapActivity; import com.google.android.maps.MapController; import com.google.android.maps.MapView; import com.google.android.maps.OverlayItem; import com.google.android.maps.MapView.LayoutParams; public class MapWithOverlays extends MapActivity { // Points on the map. private GeoPoint pointCoord1 = new GeoPoint(50887955, 5981115); private GeoPoint pointCoord2 = new GeoPoint(50888201, 5982129); private MapView viewMap = null; @Override protected boolean isRouteDisplayed() { return false; } @Override protected void onCreate(Bundle pBundle) { super.onCreate(pBundle); // Set content view setContentView(R.layout.main); // Get map & toggle satellite. viewMap = (MapView) findViewById(R.id.map); viewMap.setSatellite(true); // Add zoom controls. LinearLayout zoomLayout = (LinearLayout) findViewById(R.id.map_zoom); zoomLayout.addView(viewMap.getZoomControls(), new ViewGroup.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); // Define marker Drawable defaultMarker = getResources().getDrawable(R.drawable.map_marker_red); // Specify marker bounds. defaultMarker.setBounds(0, 0, defaultMarker.getIntrinsicWidth(), defaultMarker.getIntrinsicHeight()); // Add waypoints. viewMap.getOverlays().add(new MyOverlay(defaultMarker, pointCoord1, pointCoord2)); // Get controller, move to first waypoint & set zoom level. MapController mapController = viewMap.getController(); mapController.animateTo(pointCoord1); mapController.setZoom(18); } private class MyOverlay extends ItemizedOverlay { private List listPoints = new ArrayList(); public MyOverlay(Drawable pMarker, GeoPoint pPoint1, GeoPoint pPoint2) { super(pMarker); // Add waypoints. listPoints.add(new OverlayItem(pPoint1, "Title1", "Snippet1")); listPoints.add(new OverlayItem(pPoint2, "Title2", "Snippet2")); populate(); } @Override protected OverlayItem createItem(int pIndex) { return listPoints.get(pIndex); } @Override protected boolean onTap(int pIndex) { Toast.makeText(MapWithOverlays.this, "Text on Tap.", Toast.LENGTH_SHORT).show(); return true; } @Override public int size() { return listPoints.size(); } } }