CartoDB / mobile-carto-libs

Internal dependencies for CARTO Mobile SDK
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

Error while using css2xml tool #9

Closed safe-bug closed 3 years ago

safe-bug commented 3 years ago

Hello I've tried to use your prebuilt css2xml tool (from here) to convert my css style to xml to find out if there's an issue with the style that makes it so slow when loading. But whatever style that I set as input, it fails with the below error:

Exception while compiling: Error while parsing map description: syntax error at line 1 near: Map {

or

Exception while compiling: Error while parsing map description: syntax error at line 1 near: #admin {

I've even tried the style file that is mentioned here. What is the problem? @mtehver @farfromrefug Do you have any idea?

mtehver commented 3 years ago

My guess is that the style is not correctly packaged. Can you send your style asset and your style loading code? Or even better, make a small test project with assets that demonstrates the issue?

safe-bug commented 3 years ago

Thanks for your reply @mtehver, yes the problem was with my input file.