One last note, I had tried the map, 'movend' before but then my
textboxes ( you can see if you go to the link) don't get updated. I
appreciate any help.

On Sep 2, 8:41 am, Michael Andrews <[email protected]> wrote:
> Here is a link to see what I am trying to 
> dohttp://alpha.clickablecommunity.com/temp.aspx
> What I want is for that marker to stay where it is when you move the
> map. I didn't mean to code dump I just wasn't for sure where the
> problem was. I have tried this
>  //if they drag the marker
>                     GEvent.addListener(globalMarker, 'dragend',
>
>                         function(p) {
>                             map.panTo(p);
>                         } //function(p)
>
>                     ); //GEvent.addListener
>
> Adding the listener to my marker but I still get the same results. Any
> ideas? Thanks
>
> On Sep 1, 3:24 pm, Andrew Leach <[email protected]> wrote:
>
> > On Sep 1, 9:16 pm, "[email protected]" <[email protected]>
> > wrote:
>
> > > Not from a code dump (at least I can't, maybe someone else has time to
> > > waste).
>
> > I do :-)
>
> >                     GEvent.addListener(map, 'moveend',
> >                         function() {
> >                             globalMarker.setLatLng(map.getCenter());
>
> > When the map is moved, the marker is set to the centre of the map. I'm
> > not entirely sure why that line is there: a link to the map would
> > allow a better analysis of its behaviour and how it's probably
> > intended to work. That would allow real advice to be given rather than
> > just pointing out why it behaves in the way that it does.
>
> > Andrew
--~--~---------~--~----~------------~-------~--~----~
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