Google Maps Flutter disable center Marker after onTap() - flutter

I use flutter_google_maps and after tapping on a Marker the Marker is centered automatically on the map.
Is there a way to disable this?
Thanks
Joerg

At the time of creating the marker make sure you are passing consumeTapEvents to true, and it will do the magic.
Follow the below line of code:
Marker marker = Marker(markerId: markerId, consumeTapEvents: true)

Related

How to handle clicks on markers with google_maps_flutter?

With google_maps_flutter how to set a handler for clicking markers on the map? (I am about the markers that Google, not me, added.)

flutter: How to remove mapbox logo

I am using mapbox on my application, When Map is shown, the mapbox logo is shown :
How can I remove logo?
MapboxMap(
accessToken: MAPBOX_TOKEN,
initialCameraPosition: CameraPosition(
target: controller.center.value,
zoom: 8.0,
),
onMapCreated: (ctl) => controller.mapController = ctl,
As per their website
The Mapbox logo is a small image containing the stylized word "Mapbox". It typically resides on the bottom left corner of a map. While you may move the logo to a different corner of the map, we require the Mapbox logo to appear on our maps so that Mapbox and its maps get proper credit.
So no, you should not remove the Mapbox logo. This is the same for Google maps aswell.
You can't hide the logo and option button from mapbox but you can do a trick.. Set the logoViewMargins to your comfort which will hide the logo and settings button from the screen... Its will be there but you can't see it
logoViewMargins: const Point<num>(-100, -100),

Google Maps widget in Flutter, how to move or remove zoom button

So basically I was wondering if there's any way to move the position of this button, or even remove it.
I need to move/remove it because when using extendBody: true in order to show the map even behind of the FBA, the button stays in the middle of the BottomNavBar.
Thanks!
You can change the visibility of the zoom control buttons by setting the zoomControlsEnabled property (docs) when displaying the Google Maps widget:
GoogleMap(
...
zoomControlsEnabled: false,
...
)

Flutter Hero animation from Map Markers to Detail page

I would like to make a Hero animation between a marker displayed on the map and a detail page.
The problem is the marker is not a Widget and can not be wrapped by a Hero object.
Is there a workaround / solution ?
Those are default markers .You can create custom widgets for Markers also.There you can wrap your widget with Hero tag.You can see this link how to create custom marker widget google maps flutter.

veshape of type in pushpin in bing map

I am making a website in which veshape is there of type pushpin and a gridview aside bing map.
Now pushpin is draggable and can drag oustside of map. I want drap and drop feature of pushpin on gridview .When pushpin is drop on the gridview I want a piece of information of pushpin and grid current row on which pushpin is drop.
How i accomplish this?