Skip to content

fix: load marker images from path, not from the assets#575

Open
kota113 wants to merge 1 commit intogooglemaps:mainfrom
kota113:fix/load-image-from-path
Open

fix: load marker images from path, not from the assets#575
kota113 wants to merge 1 commit intogooglemaps:mainfrom
kota113:fix/load-image-from-path

Conversation

@kota113
Copy link
Copy Markdown

@kota113 kota113 commented Apr 25, 2026

Summary

This PR fixes how marker pin images passed from React Native are loaded in MapView.

Motivation

The current implementation uses a method for loading files from the app's asset directory, which is not appropriate for loading images from the React Native JavaScript runtime.

Test

Tests are not added since it's a small bug fix, but I confirmed it works.
image

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation
  • I added new tests to check the change I am making
  • All existing and new tests are passing.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants