You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 17, 2020. It is now read-only.
The mapbox geocode response contains the name of the maki icon appropiate to display for the specific result. Those icons are in SVG format. Last time I tried I couldnt get those to work with react-native + figwheel. Probably due to SVG being mentioned as one of pain points of react native.
It could be possible though to convert the SVG images to PNG and then use those directly.
yeah I have seen some examples around, but the main problem with those is that they assume that you coded the SVG directly in react native.
The problem that we have is that we already have an svg in xml format and want to render it.
So far I have not found a good solution for it. I think it might be possible to just download all assets on build and let the react native packager do its job but I have not tried it 😅
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The mapbox geocode response contains the name of the maki icon appropiate to display for the specific result. Those icons are in SVG format. Last time I tried I couldnt get those to work with react-native + figwheel. Probably due to SVG being mentioned as one of pain points of react native.
It could be possible though to convert the SVG images to PNG and then use those directly.
https://www.mapbox.com/maki-icons/
The text was updated successfully, but these errors were encountered: