Apr 05, 2012, 11:32 AM
GMap Marker Draggable
Hi All,
At the moment I have in mark up:-
Does anyone have any advice? or have come up against this issue before?
I've searched the net and this forum and have come up with nothing.
Cheers
BG
At the moment I have in mark up:-
<ext:Panel runat="server" Width="500" Height="500" >
<Items>
<ux:GMapPanel ID="GMapPanel1" runat="server" ZoomLevel="15" GMapType="Map" >
<Markers>
</Markers>
</ux:GMapPanel>
</Items>
</ext:Panel>
And in the Code BehindExt.Net.UX.Marker marker = new Ext.Net.UX.Marker();
GMapPanel1.CenterMarker.Lat = Co-ordinates;
GMapPanel1.CenterMarker.Lng = Co-ordinates;
marker.Lat = Co-ordinates;
marker.Lng = Co-ordinates;
GMapPanel1.Markers.Add(marker);
Which works great and puts the marker in the correct place, but I cant seem to be able to allow the marker to be dragged.Does anyone have any advice? or have come up against this issue before?
I've searched the net and this forum and have come up with nothing.
Cheers
BG