Back to project page SmartMap.
The source code is released under:
Apache License
If you think the Android project SmartMap listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.dennytech.smartmap.impl.google; // ww w . j av a2 s . c o m import android.graphics.Canvas; import com.dennytech.smartmap.IMapView; import com.dennytech.smartmap.IOverlay; import com.dennytech.smartmap.OverlayCallBack; import com.google.android.maps.MapView; import com.google.android.maps.Overlay; public class GoogleOverlay implements IOverlay { private Overlay real; @Override public Object real() { return real; } public GoogleOverlay(final IMapView mapView, final OverlayCallBack callback) { real = new Overlay() { @Override public void draw(Canvas canvas, MapView mv, boolean shadow) { callback.draw(canvas, mapView, shadow); } }; } }