def _apply(self, sym): Symbolizer._apply(self, sym) eg = self.factory.createExternalGraphic(self.url, self.format) g = util.graphic(sym) g.setMarks([]) if g: g.graphicalSymbols().add(eg)
def _apply(self, sym): Symbolizer._apply(self, sym) g = util.graphic(sym) g.setSize(self.size.expr) if self.rotation != None and self.rotation.expr != None: g.setRotation(self.rotation.expr) g.graphicalSymbols().clear() g.graphicalSymbols().add(self._mark())
def _apply(self, sym): Symbolizer._apply(self, sym) eg = self.factory.createExternalGraphic(self.url, self.format) g = util.graphic(sym) if self.size: g.size = self.size.expr g.setMarks([]) if g: g.graphicalSymbols().add(eg)
def _apply(self, sym): Symbolizer._apply(self, sym) g = util.graphic(sym) g.setSize(self.size.expr) g.graphicalSymbols().clear() g.graphicalSymbols().add(self._mark())