On Mar 29, 8:21 pm, Andrew Leach <[email protected]> wrote: > On Mar 29, 8:13 pm, CharlesHarrison <[email protected]> > wrote: > > > > Thanks, but that's all far too complex for what I need. When I can, I > > prefer to spend my time struggling with my webpages themselves, rather > > than something one or more steps removed from them. > > But you said originally ...
Yes, but I wanted just the one key, preferably to change my existing one, rather than have to change a number of existing pages, though I understand now that that isn't possible, so I'll get another one for macfh.co.uk. My remarks about complexity referred to the fact that I'm not interested in hacking my code on the web-pages around just so I can test with lots of different keys, that would just introduce unnecessary hassle, and a new area for things not quite to work as expected in unusual situations. I'm currently trying to improve a very complex TV Alignment Calculator and a Satellite Dish Alignment Calculator, which between them are the most popular pages on my site. Each currently has 17+ script tags or data fetches, and the already high level of complexity has been further exacerbated by my attempts to make more of them load dynamically so that the interface comes up more quickly. As I have discovered, dynamic loading is an absolute minefield - every browser fires the onreadystatechange event differently, google.load of 'search' or 'maps' sometimes silently fails, etc, etc. The latter is currently my biggest problem. For all these reasons, I have no wish, and would strongly recommend others against, introducing unnecessary JS complexity around the dynamic loading of anything, particularly of anything to do with the Google AJAX loader. > All you need to do is get a key for macfh.co.uk, as you originally > preferred. "localhost" doesn't need a key at all; any key will do, > including that for macfh.co.uk. Which is what I'm going to do. Although I'll have a number of pages to change, which I had hoped to avoid, at least hopefully it will be a once and for all change to a key that works whether or not the user includes www. Until now, the mapping pages have all included javascript at the very beginning to change the location if that occurs, but it would be nice not to have to remember to include it. -- 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.
