UNPKG

goong-map-react-plus

Version:

A fork of react-map-gl. React components for Goong JS

6 lines (4 loc) 201 B
import mapboxgl from './goongmap'; // mapboxgl's setRTLTextPlugin, but does not crash in SSR const setRTLTextPlugin = mapboxgl ? mapboxgl.setRTLTextPlugin : () => {}; export default setRTLTextPlugin;