[Feature request]: Option to Adjust Custom Marker Size

Aperta
#432 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 5 giorni

@illuminati1911 ci sta già lavorando.

Dal 22/4/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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

Lingua principale
TypeScript
Stelle
226
Fork
39
Merge medio
1g 20h
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di googlemaps/react-native-navigation-sdk

Tutte le issue di googlemaps/react-native-navigation-sdk

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.