ImageButton zoomIn = (ImageButton) findViewById(R.id.zoomIn); zoomIn.setBackgroundResource(R.drawable.action_click_zoom_in); zoomIn.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { mapView.getMapViewPosition().zoomIn(); } }); ImageButton zoomOut = (ImageButton) findViewById(R.id.zoomOut); zoomOut.setBackgroundResource(R.drawable.action_click_zoom_out); zoomOut.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { mapView.getMapViewPosition().zoomOut(); } });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)