There is a MainActivity in which the map is used:
public class MainActivity extends FragmentActivity { SupportMapFragment mapFragment; GoogleMap map; protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mapFragment = (SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.mapFragment); map = mapFragment.getMap(); locationManager = (LocationManager) getSystemService(LOCATION_SERVICE); map.getUiSettings().setZoomControlsEnabled(true); map.getUiSettings().setCompassEnabled(true); startService(new Intent(this, TrackerService.class)); } } How to transfer / use the same mapFragment, only in Service?