package com.exercise.OpenStreetMapView;

import org.osmdroid.util.GeoPoint;
import org.osmdroid.views.MapController;
import org.osmdroid.views.MapView;

import android.app.Activity;
import android.content.Context;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;

public class AndroidOpenStreetMapViewActivity extends Activity {
	
	
	
	private MapView myOpenMapView;
	 private MapController myMapController;
	 
	    /** Called when the activity is first created. */
	    @Override
	    public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.main);
	        
	        myOpenMapView = (MapView)findViewById(R.id.openmapview);
	        myOpenMapView.setBuiltInZoomControls(true);
	        myMapController = myOpenMapView.getController();
	        myMapController.setZoom(4);
	    }

}