[Feature request]: Option to Adjust Custom Marker Size

Abierto
#432 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 5 días

@illuminati1911 ya está trabajando en esto.

Desde el 22/4/2025.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
226
Forks
39
Merge medio
1 d 20 h
PR fusionados (30 d)
7

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de googlemaps/react-native-navigation-sdk

Todos los issues de googlemaps/react-native-navigation-sdk

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.