On Jan 4, 2:18 pm, donjamessingleton <[email protected]> wrote: > > missing "new" in the line above, should be: > > var marker = new GMarker(new GLatLng(37.441944, -122.141944), {icon: > > newIcon}); > > Thank you. That did it. What does "new" signify. If I define several > points are both of them "new" both places?
http://www.google.com/search?q=javascript+new&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a new indicates a constructor. It is used to create a new instance of that class. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
