Загрузка видео...

Не удалось загрузить видео

На главную

React native view rendering inside of a Mapbox map Powered by nitro

15,017 просмотров • 7 месяцев назад •via X (Twitter)

Комментарии: 18

Фото профиля TC
TC7 месяцев назад

How is this different to (genuine question)

Фото профиля Fabrizio
Fabrizio7 месяцев назад

That it uses the mapbox navigation sdk under the hood instead of the plain map sdk, since I will need to implement navigation for this app

Фото профиля Hewad Mubariz
Hewad Mubariz7 месяцев назад

incredible 🔥

Фото профиля Juan | chooselife.club
Juan | chooselife.club7 месяцев назад

How, I have been wanting this for sooo long bro. It’s open source? It works only over rnmapbox?

Фото профиля Fabrizio
Fabrizio7 месяцев назад

It’s a very custom implementation for an app I’m working on, not planning to open source this, I’m refining the implementation tho, I could write an article about how I did it later

Фото профиля Juan | chooselife.club
Juan | chooselife.club7 месяцев назад

Is this a nitro view as child of a rnmapbox Mark component?

Фото профиля Fabrizio
Fabrizio7 месяцев назад

The map itself is a nitro view, for the marker i was trying to use a nitro view as well but seems to be not be possible due to lack of children support in nitro views, using a Fabric view for that

Фото профиля Average Joe
Average Joe7 месяцев назад

curious to hear more about this

Фото профиля Fabrizio
Fabrizio7 месяцев назад

I will show more, right now this is all I have

Фото профиля Yadwinder Singh
Yadwinder Singh7 месяцев назад

Hey @ipla03 It looks very awesome. What are the libraries used? Or it it custom completely? Curious to know the process or a flow.

Фото профиля Fabrizio
Fabrizio7 месяцев назад

It's fully custom - The map itself is a nitro view showing a mapbox MapView from the navigation sdk - For the marker i use a Fabric view that overrides the methods used to mount children, so instead of mounting them to itself it will mount them inside of the map as annotations Had to fallback to a Fabric view for that because afaik children support in Nitro is still not ready

Фото профиля Yadwinder Singh
Yadwinder Singh7 месяцев назад

Sorry I didn't understand the meaning of nitro view here. Is it any special kind of <View /> how to get that?

Фото профиля The Wicked Killah
The Wicked Killah7 месяцев назад

Curius how you did it I wanna load stuff inside react native maps

Фото профиля Fabrizio
Fabrizio7 месяцев назад

It’s all custom made, I’m not using react-native-map, the maps is a nitro view showing a Mapbox MapView, to add the item I have a Fabric view that overrides the mount child method to add it inside of the map instead that in itself as a child

Фото профиля Guillermo López
Guillermo López7 месяцев назад

@thewickedkillah Thats sounds good, you can share demo open source?

Фото профиля Fabrizio
Fabrizio7 месяцев назад

@thewickedkillah It’s for a private app of mine, won’t be open sourced at the moment

Фото профиля Gurinder saini 📱
Gurinder saini 📱7 месяцев назад

The question was how many custom view markers we can render with this approach on the map. If it is able to render 1000s of marker at a time on map then it is great or not then what is the other way to do this if we want custom marker view map

Фото профиля Jon
Jon7 месяцев назад

🤯🤯🤯

Похожие видео