PaulLeCam / react-leaflet

React components for Leaflet maps
https://react-leaflet.js.org
Other
5.18k stars 887 forks source link

Help porting standard Leaflet map to React #492

Closed dowmeister closed 6 years ago

dowmeister commented 6 years ago

Hi, sorry for writing here, but i'm having big problems to port a map already realized and fully functional in standard LeafletJS in react.

That map use a lot of unproject and project and geo calculation to port map coordinates on real game coordinates (in this case Euro Truck Simulator 2 and American Truck Simulator)

The map is located here: https://api.truckyapp.com/map/ets2 and is controlled by this classic js class: https://api.truckyapp.com/mapobjects/mapManager.js

Anyone could help with some hints?

Thanks

Regards

PaulLeCam commented 6 years ago

Hi, Please only use GitHub issues to report possible bugs in the library. You can use the react-leaflet tag in StackOverflow for questions related to using it.