Skip to content

[Feature request]: Option to Adjust Custom Marker Size #432

Open

Description

@lazy-myst

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

Activity

  1. added
    triage meI really want to be triaged.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Apr 22, 2025
  2. added
    priority: p3Desirable enhancement or fix. May not be included in next release.
    and removed
    triage meI really want to be triaged.
    on Apr 23, 2025
  3. jokerttu commented on Apr 23, 2025

    @jokerttu
    Contributor

    Thank you for your feature request and for contributing to the improvement of this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ Proxy