Opened 7 years ago

Last modified 6 years ago

#413 new enhancement

UX BaseLayerCombobox

Reported by: chrismayer Owned by:
Priority: minor Milestone: ux
Component: ux Version: 1.0
Keywords: ux, baselayer, combobox Cc:
State: Review

Description

Due to some project requirements I developed a combo box switching the base layers of a given map. I refactored the code and made a GeoExt UX out of it. The Code is attached to the ticket.

An exmample could be found here: http://www.webmapcenter.de/geoext-baselayer-combo/BaseLayerComboExample.html

I would be glad if someone would review this UX and maybe it can become an official GeoExt UX.

Attachments (2)

GeoExt.ux.BaseLayerCombobox.js (4.3 KB) - added by chrismayer 7 years ago.
JS file for UX BaseLayerCombobox
patch-baselayercombobox-413-A0.diff (12.6 KB) - added by chrismayer 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by chrismayer

JS file for UX BaseLayerCombobox

comment:1 Changed 7 years ago by adube

The patch should consist of the widget with an example and test units inside the 'extension' repository. You should :

  • Rename your widget GeoExt.ux.BaseLayerComboBox to follow the according Ext name convention. (the extra "form" namespace can be skipped).
  • Rename the file BaseLayerComboBox.js.
  • svn co http://svn.geoext.org/extensions/
  • create a "BaseLayerComboBox" folder in ./geoext.ux/ux/ with the same dir structure as the other ux
  • put your widget file in ./geoext.ux/ux/BaseLayerComboBox/lib/GeoExt.ux/
  • create an example in ./geoext.ux/ux/BaseLayerComboBox/example
  • create test units in ./geoext.ux/ux/BaseLayerComboBox/tests
  • svn add ./geoext.ux/ux/BaseLayerComboBox/
  • svn diff>patch-baselayercombobox-413-A0.diff
  • attach patch here

Changed 6 years ago by chrismayer

comment:2 Changed 6 years ago by chrismayer

Hello, thanks for the instructions! The patch is attached, hope everything is correct now.

Best regards, Chris

comment:3 Changed 6 years ago by bartvde

  • Milestone changed from 1.1 to ux
Note: See TracTickets for help on using tickets.