Opened 8 years ago

Closed 8 years ago

#95 closed enhancement (duplicate)

LegendPanel: no way to override image format currently

Reported by: bartvde Owned by:
Priority: minor Milestone: 0.6
Component: GeoExt.LegendPanel Version: SVN
Keywords: Cc:
State: Review


LegendWMS has a property imageFormat, but this is not accessible currently since LegendPanel creates a LegendWMS with just a layer as config.

Attachments (1)

ticket95.patch (1.0 KB) - added by bartvde 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by bartvde

comment:1 Changed 8 years ago by bartvde

  • State changed from None to Review

comment:2 Changed 8 years ago by bartvde

This is e.g. necessary if you want to override the default image format (gif) for the legend, an example is:

    xtype: 'gx_legendpanel',
    legendOptions: {
        imageFormat: 'image/png'

comment:3 Changed 8 years ago by ahocevar

Wasn't that already fixed with #116?

comment:4 Changed 8 years ago by bartvde

  • Resolution set to duplicate
  • Status changed from new to closed

Ah cool, I had missed that one. Closing this one.

Note: See TracTickets for help on using tickets.