On Jul 16, 7:35 am, tomd81 <[email protected]> wrote:
> How often am I going to have to change the API and how long does
> google keep support for an API.  I now have 176 more files to change.

Tom,

That's what functions are for in programming!
Instead of copying/pasting the same 5 lines of code to create new
maps, you should have a function that receives the appropriate
parameters.
If you have the same functionality across different pages then you
should have that same function in a separate file that you include in
all relevant pages. Like that, you only ever need to change things in
one place.

Remember:
copy + paste != programming
;-)

--
Marcelo - http://maps.forum.nu
--


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to