apptreesoftware / flutter_google_map_view

A flutter plugin for Google Maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to show the map without any toolbar?

rxmoein opened this issue · comments

Hi. is there any configuration or trick to remove or customize the toolbar?

you need to set the hideToolbar to true.

return mapView.show(
      new MapOptions(
        mapViewType: MapViewType.normal,
        initialCameraPosition: new CameraPosition(
          new Location(latitude, longitude),
          10.0,
        ),
        showUserLocation: true,
        showMyLocationButton: true,
        hideToolbar: true,
      ),
    );