[Feature request]: Option to Adjust Custom Marker Size

Aberta
#432 1 comentário 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 5 dias

@illuminati1911 já está trabalhando nisso.

Desde 22/4/2025.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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

Linguagem predominante
TypeScript
Estrelas
226
Forks
39
Merge médio
1d 20h
PRs com merge (30d)
7

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de googlemaps/react-native-navigation-sdk

Todas as issues de googlemaps/react-native-navigation-sdk

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.