November 22, 201015 yr Got my google maps to work perfectly cept for one coding error but there are 1500 lines and I cannot see it, I have downloaded a js error thingy and it didn't find it either, google'd the error and got nothing Now it's time for some new eyes on the case... The error given by firebug is "Invalid value for property <position>: [object Object]" (there is a property set by position: but all of them are correct. File is below.... maps.zip
November 22, 201015 yr You have a comma on line 1064: var wiltsmarker = new google.maps.Marker({ position: wiltsmap, map: map, title:"Pet sitters in Wiltshire", }); Remove that and see how you get on
November 22, 201015 yr You also declare var nairn twice, on line 80 and line 829. I think the second one should be var nairninfo ?
November 22, 201015 yr Author You also declare var nairn twice, on line 80 and line 829. I think the second one should be var nairninfo ? Thanks Elan, that error helped me find another 2 errors and all working fine now... I really really really really hate JS stuff haha
November 22, 201015 yr Glad you got it sorted Just for the record, netbeans saw your errors, not me. Worth a download I'd say
November 22, 201015 yr Author Stuff like can be spotted using a firefox plugin called FireBug - giver it a try. I was using firebug and was giving a generic error which didn't help me. Cheers Elan, downloading now.
November 23, 201015 yr Stuff like can be spotted using a firefox plugin called FireBug - giver it a try. This is cool.. I think I'll give myself a try!
Create an account or sign in to comment