Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

MarkerViewOptions.anchor doesn't affect to OnMarkerClickListener #8118

Closed

Description

@SIKV

Platform: Android 6.0.1
Mapbox SDK version: 4.2.2

Steps to trigger behavior

  1. Add a custom marker to the map
 MarkerViewOptions markerViewOptions = new MarkerViewOptions()
                .position(location.getLatLng())
                .icon(icon)
                .title("Test")
                .anchor(0.5f, 1f)
                .snippet("Test");

map.addMarker(markerViewOptions)
  1. Set marker click listener

map.setOnMarkerClickListener(...);

  1. Perform click on a marker.

Expected behavior

I can click on a whole marker. Using .anchor(0.5f, 1f).

Actual behavior

It seems when I change an anchor it doesn't affect to OnMarkerClickListener.

Activity

  1. added
    Android
    on Feb 20, 2017
  2. tobrun commented on Feb 22, 2017

    @tobrun
    Member

    Thank you for reaching out, follow up ticket in #8159.

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

    Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions