perliedman / ocad2geojson

JavaScript OCAD file reader and exporter for GeoJSON, SVG and Mapbox Style Spec
https://www.liedman.net/ocad2geojson/
GNU Affero General Public License v3.0
39 stars 4 forks source link

Error when trying to load any map #1

Closed mpickering closed 4 years ago

mpickering commented 4 years ago

The web demo appears to be broken at the moment. If you load in any map you get:

evented.js:140 Error: layers[70].layout.text-anchor: expected one of [center, left, right, top, bottom, top-left, top-right, bottom-left, bottom-right], "top-center" found
mpickering commented 4 years ago

Converting the map to geojson using the CLI seems to work. So the problem appears to be with the rendering.