Skip to content

gi-nx


gi-nx / getMapStyle

ts
function getMapStyle(): StyleSpecification;

Returns the current Mapbox style object.

Returns

StyleSpecification

See

https://docs.mapbox.com/mapbox-gl-js/api/map/#map#getstyle