mirror of
https://github.com/maputnik/editor.git
synced 2025-12-24 23:20:00 +00:00
Added @mapbox/mapbox-gl-rtl-text plugin (fixes #126)
This commit is contained in:
@@ -13,6 +13,8 @@ import { colorHighlightedLayer } from '../../libs/highlight'
|
||||
import 'mapbox-gl/dist/mapbox-gl.css'
|
||||
import '../../mapboxgl.css'
|
||||
|
||||
MapboxGl.setRTLTextPlugin("/mapbox-gl/plugins/mapbox-gl-rtl-text.js");
|
||||
|
||||
function renderLayerPopup(features) {
|
||||
var mountNode = document.createElement('div');
|
||||
ReactDOM.render(<FeatureLayerPopup features={features} />, mountNode)
|
||||
|
||||
Reference in New Issue
Block a user