react-native-maps-osmdroid icon indicating copy to clipboard operation
react-native-maps-osmdroid copied to clipboard

support for react-native-web

Open mycall opened this issue 6 years ago • 1 comments

I know of many transit agencies that would benefit from this project supporting react-native-web. Do you know if it would be complicated to add support for this? Expo and other solutions assume Google Maps and would be a big change to support OSM.

mycall avatar Nov 13 '19 03:11 mycall

I am working on upgrading the lib, and I tried to understand how react-native web works.

As far as I understood, a peer web lib should be created, with the same interface (exports and types) but implemented using leaflet or open layers. See how aliases are used to setup the libs: https://github.com/react-native-web-community/react-native-web-maps.

I will keep this issue open as someone can land here and be kind (and interested) enough to work on this.

fqborges avatar Jan 29 '20 15:01 fqborges