Added @mapbox/mapbox-gl-rtl-text plugin (fixes #126)

This commit is contained in:
orangemug
2017-04-11 08:18:29 +01:00
parent a7e2154422
commit f97d2b0e88
4 changed files with 19 additions and 1 deletions

View File

@@ -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)