Skip to content

mapTypeControl cannot be enabled #68

Open

Description

@vivdesign

Bug Report

Plugin(s)

@capacitor/google-maps@6.0.1

Capacitor Version

Latest Dependencies:

@capacitor/cli: 7.0.1
@capacitor/core: 7.0.1
@capacitor/android: 7.0.1
@capacitor/ios: 7.0.1

Installed Dependencies:

@capacitor/ios: not installed
@capacitor/core: 6.2.0
@capacitor/cli: 6.2.0
@capacitor/android: 6.2.0

Platform(s)

android

Current Behavior

adding:
mapTypeControl: true, mapTypeControlOptions: { mapTypeIds: [MapType.Hybrid, MapType.Terrain], position: 6.0 }
to CreateMapArgs.config has no effect

Expected Behavior

a control to change the map type should appear

Other Technical Details

the same goes for mapTypeId property, however when using the setMapType() method it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions