maps icon indicating copy to clipboard operation
maps copied to clipboard

[Bug]: PointAnnotation draggable props not working on ios

Open alexandreerick opened this issue 1 year ago • 0 comments

Mapbox Implementation

Mapbox

Mapbox Version

default

Platform

iOS

@rnmapbox/maps version

10.1.9

Standalone component to reproduce

import React from 'react';
import {
  MapView,
  PointAnnotation,
  Camera
} from '@rnmapbox/maps';

const coordinates = [-74.00597, 40.71427];

const Map = () => {
  return (
    <MapView style={{flex: 1}}>
      <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} />
      <PointAnnotation
        id="selectedPoint"
        coordinate={coordinates}
        draggable />
    </MapView>
  );
}

export default Map;


Observed behavior and steps to reproduce

When props draggable is true, the PointAnnotation is not dragging at all.

Expected behavior

The PointAnnotation to drag.

Notes / preliminary analysis

Works fine at android

Additional links and references

No response

alexandreerick avatar Feb 19 '24 18:02 alexandreerick