Snorlite
Snorlite

Reputation: 327

What's the difference between the components ReactMapGL and MapGL in the react-map-gl library?

I can't understand the difference between the component ReactMapGL and the component MapGL in the react-map-gl library. The docs don't explain it and they seem to have the same properties.

https://uber.github.io/react-map-gl/#/Documentation/getting-started/adding-custom-data even the examples use them intermittently

Upvotes: 1

Views: 785

Answers (1)

msvaillant
msvaillant

Reputation: 46

No difference, they (ReactMapGl and MapGL) are just plain names for exported by default InteractiveMap component.

Even according to the sources of react-map-gl: enter image description here

Upvotes: 3

Related Questions