Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

91
Vistas
React Native: Google maps custom marker image can't be bigger than: width:40 & height:40?

I0m using google maps on my react-native app, I'm trying to set the size of my custom marker image to 50 but it appears anything bigger than 40 makes the image marker look cropped, is it possible to fix or is this a limitation?

export default CustomMarker = (props) => 
{
    const {image = '/img/misc/default.jpg'} = props;

    return (

        <Image elevation={3} style={{ width:50,height:50,borderRadius:50/2,borderColor:'white',borderWidth:0 }} resizeMode="cover" source={{uri: env.BASE_URL+image }}/>
    
    )
};

I use it like:

<Marker key={index} coordinate={{ latitude:Number(marker.lat), longitude:Number(marker.lng) }} onPress={ () => {onMarkerPress(marker) } }>
                <CustomMarker3 image={marker.images[0]}/>
            </Marker>
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda