diff --git a/public/templates/viewer.tmpl b/public/templates/viewer.tmpl index 7effb3b..a90fd46 100644 --- a/public/templates/viewer.tmpl +++ b/public/templates/viewer.tmpl @@ -36,7 +36,7 @@ var q = (location.search || '').substr(1).split('&'); var preference = q.indexOf('raster') >= 0 ? 'raster' : 'vector'; if (preference == 'vector') { - maplibregl.setRTLTextPlugin('{{public_url}}mapbox-gl-rtl-text.js{{&key_query}}'); + maplibregl.setRTLTextPlugin('{{public_url}}mapbox-gl-rtl-text.js' + keyParam); var map = new maplibregl.Map({ container: 'map', style: '{{public_url}}styles/{{id}}/style.json' + keyParam,