Skip to content

Map onDragStart/onDragEnd not firing #323

Open
@joeyfigaro

Description

@joeyfigaro

version: 9.4.5

Map doesn't seem to support onDragEnd or onDragStart-they aren't being called no matter what I try.

<GoogleMap
          disableDefaultUI={this.props.disableDefaultUI}
          google={this.props.google}
          initialCenter={this.props.initialCenter}
          zoom={this.props.zoom}
          mapTypeId={this.props.google.maps.MapTypeId.HYBRID}
          onClick={this.handleClick}
          onReady={this.handleMapReady}
          onDragEnd={this.handleDragEnd}
          onDragStart={(x, y) => {
            console.log('drag started');
            console.log(x);
            console.log(y);
          }}
/>

onMapReady and onClick both seem to work.

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