On Jan 15, 9:03 am, Nick <[email protected]> wrote:
> The Map:http://www.netpros-inc.net/map_profile_form.cfm
>
> I am working on a map where I have several fixed locations (Towers) -
> and one Variant (Street Address - Home)  And I want to Draw Lines from
> the "Towers" to the "Home"  (The map checks the Elevation Profile
> between the Towers and the Home)
>
> I have 90% working - lines, elevation and a draggable Marker - - But
> what I want/need, is to drag the marker and then have the lines REDRAW
> to the NEW location... But all I am currently doing is redrawing the
> original lines...
>
> How do I make the Polylines recalculate and redraw with the new Marker
> Position?

The BFDpoint you update in the dragend listener is local to that
function, remove the "var " from inside that function so it updates
the global version.

You will probably also want to remove the older versions of the
polylines before redrawing them.

  -- Larry
-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en.


Reply via email to