hi all,
I use the mapview for the gps location of the code:
================================================
LinearLayout mZoomView1=(LinearLayout)mMapView01.getZoomControls();
mZoomView1.setLayoutParams( new ViewGroup.LayoutParams
( ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.FILL_PARENT ) );
mZoomView1.setGravity(Gravity.BOTTOM + Gravity.CENTER_HORIZONTAL);
mMapView01.addView(mZoomView1);
mMapView01.displayZoomControls(true);
=================================================
it's a older format to write for zoom,
but now,
i want to remember the zoom level when user change,
for gps location function,
when user move, the map will refresh,
then the zoom level will be reset to default value.
i want to keep the level when user change
thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---