geostyler-mapbox-parser
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -50,4 +50,11 @@ "use strict"; | ||
MarkSymbolizer: { | ||
info: 'WellknownName is not supported', | ||
support: 'partial' | ||
support: 'partial', | ||
wellKnownName: { | ||
support: 'partial', | ||
info: 'Only circle symbolizers are supported for the moment.' | ||
}, | ||
opacity: { | ||
support: 'none', | ||
info: 'General opacity is not supported. Use fillOpacity and strokeOpacity instead.' | ||
}, | ||
}, | ||
@@ -186,3 +193,3 @@ IconSymbolizer: { | ||
offsetAnchor: paint['circle-translate-anchor'], | ||
opacity: paint['circle-opacity'], | ||
fillOpacity: paint['circle-opacity'], | ||
pitchAlignment: paint['circle-pitch-alignment'], | ||
@@ -1189,3 +1196,3 @@ pitchScale: paint['circle-pitch-scale'], | ||
MapboxStyleParser.prototype.getPaintFromCircleSymbolizer = function (symbolizer) { | ||
var radius = symbolizer.radius, color = symbolizer.color, blur = symbolizer.blur, opacity = symbolizer.opacity, offset = symbolizer.offset, offsetAnchor = symbolizer.offsetAnchor, pitchScale = symbolizer.pitchScale, pitchAlignment = symbolizer.pitchAlignment, strokeWidth = symbolizer.strokeWidth, strokeColor = symbolizer.strokeColor, strokeOpacity = symbolizer.strokeOpacity; | ||
var radius = symbolizer.radius, color = symbolizer.color, fillOpacity = symbolizer.fillOpacity, blur = symbolizer.blur, offset = symbolizer.offset, offsetAnchor = symbolizer.offsetAnchor, pitchScale = symbolizer.pitchScale, pitchAlignment = symbolizer.pitchAlignment, strokeWidth = symbolizer.strokeWidth, strokeColor = symbolizer.strokeColor, strokeOpacity = symbolizer.strokeOpacity; | ||
var paint = { | ||
@@ -1195,3 +1202,3 @@ 'circle-radius': radius, | ||
'circle-blur': blur, | ||
'circle-opacity': opacity, | ||
'circle-opacity': fillOpacity, | ||
'circle-translate': offset, | ||
@@ -1198,0 +1205,0 @@ 'circle-translate-anchor': offsetAnchor, |
{ | ||
"name": "geostyler-mapbox-parser", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "GeoStyler-Style-Parser implementation for Mapbox", | ||
@@ -5,0 +5,0 @@ "main": "build/dist/MapboxStyleParser.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
301916
1826