GeoModelAdmin forms cannot be used with WMS in formats other than image/jpeg
|Reported by:||slinkp||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'm using a subclass of contrib.gis.admin.GeoModelAdmin with http://maps.opengeo.org/geowebcache/service/wms as the wms_url.
The problem is that templates/gis/admin/openlayers.js does not allow specifying the image format, so it uses the OpenLayers default of image/jpeg,
which some base layers (notably http://maps.opengeo.org/geowebcache/service/wms) do not support.
Patch that fixes this attached.
Change History (11)
Changed 4 years ago by slinkp
comment:1 Changed 4 years ago by slinkp
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset