Skip to content

Specify Marker Press Region? #562

Description

@joncursi

It would be great if you could specify the touch region on a custom marker Image that should be used when

<MapView
  onMarkerPress={() => this.callMe.bind(this)}
/>

is called. The use case here is custom images that have regions that should not respond to touch. I.e.

screen_shot_2016-09-09_at_7_56_55_pm

This becomes a bit of a pain when you have a bunch of markers in close proximity; the user might try tapping on marker 9 below, but instead activate pin 21 due to the overlap of the pin touch regions.

screen shot 2016-09-09 at 8 00 09 pm

Is there a way around this?

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