Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

google maps (again)

Featured Replies

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

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 :)

  • 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

Glad you got it sorted :)

Just for the record, netbeans saw your errors, not me.

Worth a download I'd say :)

  • 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.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.