React-mapbox-gl: Is it possible to render a react component on the map like shown?

Created on 9 Nov 2017  Â·  3Comments  Â·  Source: alex3165/react-mapbox-gl

I'm wondering if something like this can be implemented because if it can't then I'll have to switch to Google maps

https://github.com/istarkov/google-map-react

Most helpful comment

Hey @jesster2k10, @bnjmnjns was right you could use Marker component to render anything at a given position.

All 3 comments

The Marker component can be used to render a component to a position on the map. Is that what you're looking for?
https://github.com/alex3165/react-mapbox-gl/blob/master/docs/API.md#marker

Yes with hover effects, etc but I’ve started using google maps now

On Sun 12 Nov 2017 at 20:11, Benjamin Jones notifications@github.com
wrote:

The Marker component can be used to render a component to a position on
the map. Is that what you're looking for?
https://github.com/alex3165/react-mapbox-gl/blob/master/docs/API.md#marker

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alex3165/react-mapbox-gl/issues/435#issuecomment-343763690,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGJ8Dsstg5q5Dab0uOF-a_fKLxZCPhhoks5s11DngaJpZM4QYq8g
.

Hey @jesster2k10, @bnjmnjns was right you could use Marker component to render anything at a given position.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

13milliseconds picture 13milliseconds  Â·  4Comments

kolharsam picture kolharsam  Â·  4Comments

DaveBathnes picture DaveBathnes  Â·  3Comments

cyrilchapon picture cyrilchapon  Â·  3Comments

benderlidze picture benderlidze  Â·  3Comments