Skip to content

Marker绑定事件 #18

@leileizhu

Description

@leileizhu

<AMapView.Marker key = {i} pinColor={Markers.pinColor} draggable title={Markers.title} description={Markers.description}
coordinate={{latitude:Markers.coordinate.latitude, longitude:Markers.coordinate.longitude} } onPress={(Markers.title)=>{this.onMarker(Markers.title)}} />请问我这样绑定点击事件,为什么箭头函数下报红???

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