React-map-gl: Hash option not supported ?

Created on 28 Nov 2018  路  2Comments  路  Source: visgl/react-map-gl

How can I add he classic #hash map option from mapbox-gl-js ?

From Mapbox:
image

If is not the case it's should be very helpful to add this. 馃

Most helpful comment

Try the mapOptions prop: https://uber.github.io/react-map-gl/#/Documentation/api-reference/static-map?section=initialization

All 2 comments

Try the mapOptions prop: https://uber.github.io/react-map-gl/#/Documentation/api-reference/static-map?section=initialization

My bad.
It's work. mapOptions={{ hash: true }}.
Thx @Pessimistress

Was this page helpful?
0 / 5 - 0 ratings