[Feature request]: Option to Adjust Custom Marker Size

オープン
#432 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 5 日以内に返信

@illuminati1911 がすでに取り組んでいます。

2025年4月22日 から。

評価

この issue はまだ評価されていません。

説明

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

主要言語
TypeScript
スター
226
フォーク
39
平均マージ
1日 20時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googlemaps/react-native-navigation-sdk のほかの issue

googlemaps/react-native-navigation-sdk の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。