Ejemplo n.º 1
0
  @Override
  public void onMessage(Message message) {
    super.onMessage(message);

    if (KMLAbstractObject.MSG_STYLE_CHANGED.equals(message.getName())) {
      this.normalAttributesResolved = false;
      this.highlightAttributesResolved = false;

      if (this.getAttributes() != null) this.getAttributes().setUnresolved(true);
      if (this.getHighlightAttributes() != null) this.getHighlightAttributes().setUnresolved(true);
    }
  }
Ejemplo n.º 2
0
 protected SurfacePolygon createPolygon(List<? extends LatLon> positions) {
   SurfacePolygon polygon = new SurfacePolygon(positions);
   polygon.setAttributes(this.getActiveShapeAttributes());
   return polygon;
 }