Skip to content

Marker rotation does not work for the markers in MoveMarkerOptions #3

@shahpasandar

Description

@shahpasandar

I have map rotation enabled on FlutterMap widget and it works but when I'm using the MoveMarker layer on my map, the marker rotation does not work. Could you please take a look?

                    MoveMarkerOptions(
                      marker: Marker(
                        anchorPos: AnchorPos.align(AnchorAlign.top),
                        width: 100,
                        height:100,
                        point: points!.first,
                        rotate: true,
                        rotateAlignment:
                            PopupMarkerLayerOptions.rotationAlignmentFor(
                          AnchorAlign.top,
                        ),
                        builder: (_) => const FlutterLogo(),
                      ),
                      points: points ?? [],
                      moveMarkerController: mapMoveController,

                      duration: const Duration(microseconds: 80),
                      moveCallBack: onMoveMarker,
                    ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions