Hello, I understand what you are saying but what I am confused on is the sequence of the values passed to the function. Especially the one where I need to give the "label" parameter twice. You would expect that they are values that can be called on as needed in the subsequent function. But in this case they seem to be in a particular order.
If it's soley "roll yer own" I'll have to try more tests and continue to look for other tutorials as well as read the one you posted Rossko. On Feb 5, 11:17 am, Rossko <[email protected]> wrote: > > When we define a marker var and function why is it they generally have > > different declared values? > > functions like 'createMarker' are user-defined. > In theory, you've written it yourself and call the parameters whatever > you like. > In practice, if you copy/paste other folks functions you'll have names > that they thought appropriate. > As it's a user defined function you can change them if you don't like > them. > The names used in defining the function are really just placeholders > function doSomething (first,last) { .... } > you can call this using > doSomething (apples, oranges) > or even > doSomething (last, first) which may not do what you expect ... > > http://webdevelopersjournal.com/articles/jsintro3/js_begin3.html > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
