Welcome to WebmasterWorld Guest from 34.204.203.142

Forum Moderators: open

Message Too Old, No Replies

Maps Crashes with Javascript marker.setOptions ?

     
11:02 pm on Aug 21, 2016 (gmt 0)

Junior Member from US 

10+ Year Member

joined:Feb 27, 2004
posts:104
votes: 0


Maps Crashes with Javascript marker.setOptions ?

I am using a popular Wordpress plugin.. and associating my own "icon" for the "marker"...

Two days ago "marker.setOptions" gave me this error in the Firefox console...
is not a function .

Then it seemed to have corrected itself.. and was fine for a day or so.

And now again today it started again. I have only been working on this project for a week.

My "key" to access maps is all good.. my maps produce fine. It is just this marker.setOptions is not a function.
At the same time I also use...
map.setOptions({styles: styles}); and I have no problems.

My exact is marker.setOptions({'icon': myIcon });


I just don't under stand why marker.setOptions starts working and then crashes a day or so later with is not a function ?

If somebody can point me to a Google User group or something or comments on this it would be great.
Thanks again group.
Rob.
11:56 am on Aug 22, 2016 (gmt 0)

Junior Member from US 

10+ Year Member

joined:Feb 27, 2004
posts:104
votes: 0


once again it looks like it's me with uploading an older version of my project...
well at least I hope it this silly error again.