[Feature request]: Option to Adjust Custom Marker Size

Đang mở
#432 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 5 ngày

@illuminati1911 đang làm issue này rồi.

Từ ngày 22/4/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

priority: p3 type: feature request
Is there an existing issue for this?
  • I have searched the existing issues
Use case

Currently, when using a custom image as a marker in @googlemaps/react-native-navigation-sdk, the image appears very small and does not provide sufficient visibility or customization.

Expected Behavior:

  • A property or method should be introduced to allow developers to specify a custom size for the custom marker image.

  • This could be an additional option when adding a marker, such as iconSize or markerSize, which would allow users to scale the image to their preferred size.

It would be helpful if we could adjust the size of custom markers like this:

mapViewController.addMarker({
  position: { lat: latitude, lng: longitude },
  title: 'Your Location',
  icon: customImage,
  iconSize: { width: 50, height: 50 },  // New property to adjust size
});

Or any other better Approach

Proposal

Image

Ngôn ngữ chính
TypeScript
Star
226
Fork
39
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của googlemaps/react-native-navigation-sdk

Tất cả issue của googlemaps/react-native-navigation-sdk

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.