|
@@ -176,6 +176,13 @@ public class StopMapPickerFragment extends Fragment {
|
176
|
176
|
_map.getUiSettings().setMyLocationButtonEnabled(true);
|
177
|
177
|
_map.getUiSettings().setCompassEnabled(true);
|
178
|
178
|
_map.moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(48.3786565, -71.3354953), 9));
|
|
179
|
+ _map.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() {
|
|
180
|
+ @Override
|
|
181
|
+ public boolean onMarkerClick(Marker marker) {
|
|
182
|
+ Toast.makeText(getContext(), R.string.stop_add_map_help, Toast.LENGTH_LONG).show();
|
|
183
|
+ return false;
|
|
184
|
+ }
|
|
185
|
+ });
|
179
|
186
|
_map.setOnInfoWindowClickListener(new GoogleMap.OnInfoWindowClickListener() {
|
180
|
187
|
@Override
|
181
|
188
|
public void onInfoWindowClick(Marker marker) {
|