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.autonavi; /*from ww w. j a v a 2s . c o m*/ import android.content.Context; import com.amap.mapapi.map.MapView; import com.dennytech.smartmap.MapViewCallback; public class MyANMapView extends MapView { public MyANMapView(Context ctx) { super(ctx); } public MyANMapView(Context arg0, String arg1) { super(arg0, arg1); } MapViewCallback mCallback; public void setCallback(MapViewCallback callback) { mCallback = callback; } @Override public void computeScroll() { super.computeScroll(); if (mCallback != null) { mCallback.OnComputeScroll(); } } }