I am trying to implement drag-able markers. We are adding a marker/symbol on client-side. Everything seems to work fine on IE 7.0 browser. However, it does not work on Firefox. I tried setting the setZIndex on the EditOverlay and marker layers without success. Attached is my sample code.
Moreover, when I attempted to do a drag-able marker on server-side (see below code on Page_load). Initially, it works. However, when I start setting the Map1.SetDrawMode value (ex. Map1.SetDrawMode('Rectangle')), it no longer works. Is there a property that I am missing?
We are using WebEdition 3.1.16 and Firefox 3.09 (Opera 9.64 also has the same issue).
On Page_load
SimpleMarkerOverlay objSimpleMarkerOverlay = new SimpleMarkerOverlay("MarkerSymbol");
objSimpleMarkerOverlay.IsVisibleInOverlaySwitcher = false;
objSimpleMarkerOverlay.DragMode = MarkerDragMode.Drag;
WebImage objSymbol = new WebImage(@"images/symbols/aerial_svc_wire.png");
objSimpleMarkerOverlay.Markers.Add(new Marker(-80.121014, 26.538472, objSymbol));
WebImage objSymbol2 = new WebImage(@"images/symbols/aerial_cable.png");
objSimpleMarkerOverlay.Markers.Add(new Marker(-80.121014, 26.538472, objSymbol2));
Map1.CustomOverlays.Add(objSimpleMarkerOverlay);
Thanks in advance ...