All the maps on my site read the key from a separate js file. Take a look.
-- Marcelo - http://maps.forum.nu -- On Apr 7, 4:22 pm, trinkets <[email protected]> wrote: > Hey > > While I was doing some research on google map api key I came to know > that it is possible to add the key in config file and read it. Most of > the information I came across was in ASP.net or PHP. > I was wondering whether same is possible in JSP or javascript. > I have my google maps api code written in javascript tag inside a JSP > and I want to read the key from an external config file. > Can anyone help me with this. I am not sure how should I add it in > config file as well as how can I read the same in javascript. > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
