Thanks to visit codestin.com
Credit goes to github.com

Skip to content

myLocationEnabled field of MapboxMap not working properly #434

@alparslana

Description

@alparslana

In mapbox_gl version 0.8.0, myLocationEnabled field of MapboxMap is not working properly. No matter which value you set the field to, the map is always initiated with a Find My Location icon.

The workaround is to set this field to true upon initialization and then to false, with a setState call. In this case the map will momentarily display the icon, and then the icon will disappear.

This occurs with flutter_web. I have not checked whether the mobile version has the same problem or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions