Hi Paul-

You can call Marker.setOptions() and pass {draggable:true}. See:
http://code.google.com/apis/maps/documentation/flash/reference.html#Marker.setOptions

- pamela

On Thu, Jun 18, 2009 at 7:24 PM, [Paul Ferrie]<[email protected]> wrote:
>
> Hi Guys,
>
> I am trying to enable dragging of icons that are otherwise set to
> dragging=false
>
> I add the markers to the map
>
> //
> function createMarker(latlng:LatLng, name:String, web:String,
> comments:String, count:Number, submitted:String, subID:String):Marker
> {
>        var markerIcon:MovieClip = new budIco();
>        markerIcon.mcFlasher.stop()
>        var marker:Marker = new Marker(latlng, new MarkerOptions
> ({icon:markerIcon ,hasShadow:false, iconOffset: new Point(-16,
> -16)}));
> ....
>
> I have then an admin system that allows me to login and edit/delete
> this markers from my database.  This is all good apart from not being
> able to drag the marker to a new location.
>
>
> I have a function that cycles the markers in the array
> function editMarkers():void {
>        for (var i:Number = 0; i < markersArray.length; i++) {
>                var editMarker:Marker = markersArray[i];
>        }
> }
> How do i set dragging of these markers/icons from here.
>
> Any helps much appreciated.
>
> thanks
> Paul
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to