We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the maps api raises
{"errors":["style0:1:11 Invalid code: places[\"mapnik::geometry_type\"=polygon]{\n"]}
same error is raised when it's styled by any category value
The text was updated successfully, but these errors were encountered:
proposed solution:
diff --git a/dist/deep-insights.uncompressed.js b/dist/deep-insights.uncompressed.js index 9f480b2..ecf03e6 100644 --- a/dist/deep-insights.uncompressed.js +++ b/dist/deep-insights.uncompressed.js @@ -97817,7 +97817,7 @@ var AutoStyler = cdb.core.Model.extend({ }, _getLayerHeader: function (symbol) { - return '#' + this.dataviewModel.layer.get('layer_name') + '[mapnik-geometry-type=' + AutoStyler.MAPNIK_MAPPING[symbol] + ']{'; + return '#' + this.dataviewModel.layer.get('layer_name').replace(/\s*/g, '') + '[mapnik-geometry-type=' + AutoStyler.MAPNIK_MAPPING[symbol] + ']{'; } }); @@ -97850,9 +97850,9 @@ AutoStyler.STYLE_TEMPLATE = { }; AutoStyler.MAPNIK_MAPPING = { - polygon: 'polygon', - marker: 'point', - line: 'linestring' + polygon: 3, + marker: 1, + line: 2 };
Sorry, something went wrong.
hey @fdansv, this is fixed right?
it should be as of #321
fdansv
No branches or pull requests
the maps api raises
same error is raised when it's styled by any category value
The text was updated successfully, but these errors were encountered: