-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: parityWorks on one platform but not anotherWorks on one platform but not anotherc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterhas partial patchThere is a PR awaiting someone to take it across the finish lineThere is a PR awaiting someone to take it across the finish linep: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
Use case
On Flutter WEB, I would like to be able to enable/disable (via GoogleMap constructor params or whatever) those MapOptions parameters:
mapTypeControl
fullscreenControl
streetViewControl
that display additional buttons onto the Map.

Proposal
In the code of the package it is written (more than 15 months ago):
// These don't have any rawOptions entry, but they seem to be off in the native maps.
options.mapTypeControl = false;
options.fullscreenControl = false;
options.streetViewControl = false;
I have switched them all to "true" and it is working fine (= enables all the buttons and gives the previous screenshot). I tried each button and everything is working fine. So, it seems that the comment in the code is not true anymore.
Thanks!
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: parityWorks on one platform but not anotherWorks on one platform but not anotherc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterhas partial patchThere is a PR awaiting someone to take it across the finish lineThere is a PR awaiting someone to take it across the finish linep: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team