Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
embeepea committed Nov 19, 2020
2 parents 0170194 + 35d00f9 commit a16188a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbgl-antique-style.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,15 @@
},
{
"layout":{
"text-font":["PT Sans Regular"],
"text-font":["Noto Sans Regular"],
"symbol-placement":"line-center",
"text-field":"{name}",

"text-rotation-alignment": "map",
"text-letter-spacing":0.2,
"text-offset":[0,0],
"text-keep-upright":true,
"text-size":{"stops":[[14,10],[19,22]]}
"text-size":{"stops":[[14,5],[19,22]]}
},
"paint":{"text-color":"#444444","text-halo-color":"#e8e0c8","text-halo-width":2},
"id":"road_names",
Expand Down
2 changes: 2 additions & 0 deletions mbgl-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ document.addEventListener("DOMContentLoaded", function(){
// ];
// const mapFilters = ['all', filterStart, filterEnd];

mapboxgl.setRTLTextPlugin('./mbgl/mapbox-gl-rtl-text/mapbox-gl-rtl-text.min.js');

const map = new mapboxgl.Map({
container: 'map', // container id
style: styleURL, // stylesheet location
Expand Down

0 comments on commit a16188a

Please sign in to comment.