[Google Maps API v3] Re: Dynamically changing MarkerOptions for markers loaded via AJAX

2010-12-11 Thread Keith
Larry, you are a gentleman and a scholar. On Dec 10, 3:26 pm, "geocode...@gmail.com" wrote: > On Dec 10, 7:49 am, "geocode...@gmail.com" > wrote: > > > > > > > On Dec 10, 5:25 am, "geocode...@gmail.com" > > wrote: > > > > On Dec 10, 3:29 am, Keith wrote: > > > > > Thanks Larry, > > > > > This

[Google Maps API v3] Re: Dynamically changing MarkerOptions for markers loaded via AJAX

2010-12-10 Thread geocode...@gmail.com
On Dec 10, 7:49 am, "geocode...@gmail.com" wrote: > On Dec 10, 5:25 am, "geocode...@gmail.com" > wrote: > > > On Dec 10, 3:29 am, Keith wrote: > > > > Thanks Larry, > > > > This is almost working.  I added your suggestion with some success, > > > however, regardless of which marker I click, #9 a

[Google Maps API v3] Re: Dynamically changing MarkerOptions for markers loaded via AJAX

2010-12-10 Thread geocode...@gmail.com
On Dec 10, 5:25 am, "geocode...@gmail.com" wrote: > On Dec 10, 3:29 am, Keith wrote: > > > Thanks Larry, > > > This is almost working.  I added your suggestion with some success, > > however, regardless of which marker I click, #9 always gets set to > > draggable.  I put the marker click listener

[Google Maps API v3] Re: Dynamically changing MarkerOptions for markers loaded via AJAX

2010-12-10 Thread geocode...@gmail.com
On Dec 10, 3:29 am, Keith wrote: > Thanks Larry, > > This is almost working.  I added your suggestion with some success, > however, regardless of which marker I click, #9 always gets set to > draggable.  I put the marker click listener inside the for loop of > my AJAX > call to create the markers

[Google Maps API v3] Re: Dynamically changing MarkerOptions for markers loaded via AJAX

2010-12-10 Thread Keith
Thanks Larry, This is almost working. I added your suggestion with some success, however, regardless of which marker I click, #9 always gets set to draggable. I put the marker click listener inside the for loop of my AJAX call to create the markers. #9 is the last marker created so it is setting

[Google Maps API v3] Re: Dynamically changing MarkerOptions for markers loaded via AJAX

2010-12-09 Thread geocode...@gmail.com
On Dec 9, 4:29 pm, "geocode...@gmail.com" wrote: > On Dec 9, 3:51 pm, Keith Brown wrote: > > > Tried marker.setDraggable(true) and doesn't work. Firebug console says > > marker is not defined? > > I don't see marker defined in the global scope.  I see lots of > "marker" variables local to various

[Google Maps API v3] Re: Dynamically changing MarkerOptions for markers loaded via AJAX

2010-12-09 Thread geocode...@gmail.com
On Dec 9, 3:51 pm, Keith Brown wrote: > Tried marker.setDraggable(true) and doesn't work. Firebug console says > marker is not defined? I don't see marker defined in the global scope. I see lots of "marker" variables local to various (other) functions, but not that would be defined in this click

[Google Maps API v3] Re: Dynamically changing MarkerOptions for markers loaded via AJAX

2010-12-09 Thread Keith Brown
Tried marker.setDraggable(true) and doesn't work. Firebug console says marker is not defined? Moved the example here: http://www.austintreeexperts.com/AJAXmap.php?f=http%3a%2f%2fwww.austintreeexperts.com%2fgmapsXML.cfm%3fu%3d558%26ad%3d23719 -- You received this message because you are subscribe

[Google Maps API v3] Re: Dynamically changing MarkerOptions for markers loaded via AJAX

2010-12-09 Thread Chad Killingsworth
I didn't see any markers load, but in the function you mention marker.MarkerOptions({draggable:true}) is invalid. Try marker.setDraggable(true) instead. Chad Killingsworth -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To pos