Hi everyone.
I've implemented a basic map that has a MyLocationOverlay on it. I'm
trying to make it do something when I tap on my current location. I've
read the docs about dispatchTap() [http://code.google.com/android/
reference/com/google/android/maps/
MyLocationOverlay.html#dispatchTap()] and I'm pretty sure that's what
I need.
I'm having a bit of trouble overriding it. I can't do it in the same
way I would override things in my class.
My class definition looks something like this:
public class MyApp extends MapActivity implements LocationListener {
Normally I would do something like this:
@Override
protected void onPause() {
super.onPause();
Log.i(TAG, "Disabling the GPS stuff.");
mlo.disableMyLocation();
}
But that's not going to cut it for a MyLocationOverlay, I don't think.
How can I get around this?
Regards,
Stuart.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---