Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download map and save in pdf,png #5002

Closed
cdci-gsoftconsulting opened this issue Mar 14, 2024 · 2 comments
Closed

download map and save in pdf,png #5002

cdci-gsoftconsulting opened this issue Mar 14, 2024 · 2 comments
Labels
invalid This doesn't seem right

Comments

@cdci-gsoftconsulting
Copy link

Summary

hi can i download whole save and save in pdf,png...

Reproducible sample code

hi can i download whole save and save in pdf,png...

Steps to reproduce

unable to find any method for this
hi can i download whole save and save in pdf,png...

Expected result

download whole save and save in pdf,png...

Actual result

no method found

React Native Maps Version

1.1.0

What platforms are you seeing the problem on?

Android, iOS (Apple Maps), iOS (Google Maps)

React Native Version

0.73

What version of Expo are you using?

Not using Expo

Device(s)

both android/ios

Additional information

hi can i download whole save and save in pdf,png...

@cdci-gsoftconsulting cdci-gsoftconsulting added the bug Something isn't working label Mar 14, 2024
@jan-kozinski
Copy link
Collaborator

You can experiment with the "liteMode" prop on MapView component. It will render the map as a bitmap image so if you have access to developer tools you might be able to download it. Just be aware that enabling the liteMode makes the map irresponsive to gestures, so no zooming or moving around.
liteMode

@salah-ghanim
Copy link
Collaborator

@cdci-gsoftconsulting this is out of scope for this project, you should be able to do it on iOS though, check: https://stackoverflow.com/questions/31020608/convert-uiview-to-png-in-swift

android, I'm not so sure, since google doesn't use native views logic

@salah-ghanim salah-ghanim added invalid This doesn't seem right and removed bug Something isn't working labels May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants