Code example for MarkerOptions

Methods: position, snippet, title

0
	} 
	 
	 
	private void configureMapFragment() 
	{ 
		MarkerOptions options = new MarkerOptions();
		options.title( mStation.name );
		options.snippet( mStation.dataProvider );
		options.position( mStation.latLng );
		mMapFragment.getMap().addMarker( options );
	} 
	 
	 
	@Override 
	public boolean onOptionsItemSelected( MenuItem item )
	{ 
		if( item.getItemId() == android.R.id.home )
		{ 
			Intent upIntent = new Intent( this, StationsListActivity.class );
			upIntent.putExtra( ColoradoWaterSMS.EXTRA_DIVISION, mStation.div );
			upIntent.putExtra( ColoradoWaterSMS.EXTRA_WATER_DISTRICT, mStation.wd );