[mapguide-users] jxLib Overview Map onclose

GordonL gordon.luckett at arrowgeomatics.com
Fri May 10 10:30:46 PDT 2013


Hi All,
I just want to catch the event when the overview map closes.

I have added this:

   dOverviewMap = new Jx.Dialog({
        id: 'dialogOverviewMap',
        label: OpenLayers.i18n('ovmapTitle'),
        modal: false,
        resize: false,
        horizontal: 'right -10',
        vertical: 'bottom -10',
        width: 300,
        height: 300,
        contentId: 'OverviewMap',
     *  onClose: function(){alert('closed');}*
        });

The onClose fires but I get the following message:

*Uncaught TypeError: Object function () {alert('closed');} has no method
'create' *

Any way around this?






--
View this message in context: http://osgeo-org.1560.x6.nabble.com/jxLib-Overview-Map-onclose-tp5052622.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list