File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
geoscript/src/main/scala/style Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- package org .geoscript
2
- package style . combinators
1
+ package org .geoscript . style
2
+ package combinators
3
3
4
- import filter ._
4
+ import org . geoscript . filter ._
5
5
import scala .collection .JavaConversions ._
6
6
7
7
sealed abstract trait Style {
@@ -136,7 +136,7 @@ case class CompositeStyle(styles: Seq[Style]) extends Style {
136
136
}
137
137
138
138
object Paint {
139
- import geocss .CssOps .colors
139
+ import org . geoscript . geocss .CssOps .colors
140
140
141
141
implicit def stringToPaint (colorName : String ): Paint =
142
142
if (colors contains colorName)
@@ -260,7 +260,7 @@ case class Label(
260
260
val symbolizers = {
261
261
val sym = factory.createTextSymbolizer()
262
262
sym.setLabel(text)
263
- sym.setGeometry(geometry)
263
+ sym.setGeometry(if (geometry == null ) null else geometry)
264
264
Seq (sym)
265
265
}
266
266
def zIndex = 0
You can’t perform that action at this time.
0 commit comments