:: Forums :: Discussions :: Locator |
|
<< Previous thread | Next thread >> |
Caching and GoogleMapsAPI class |
Moderators: nlstart
|
This thread is now closed |
Author | Post | ||
bugrain | | ||
Registered Member #322 Joined: Posts: 7 | Well, I thought Locator was perfect for my site, then I realised I really needed it built in to one of my plugins that I'm writing, so have done that instead. Thanks for the code, though, saved me a lot of effort. Anyway, whilst I was doing this I added some proper e107 style caching to the GoogleMapAPI class, here's the changes I did:
The final 'true' parameter on the set() and retrieve() calls forces the caching and ignores the e107 preference for caching turned on/off. May be better to add this as a preference to allow caching only for Locator. Also, I'm considering putting this class in to e107 Helper (updated for an e107 environment of course) and allowing setting global preference values for any plugin that wants to use a Google map. let me know if this is any use to you. | ||
Back to top | | ||
Jump: Back to top |
Powered by e107 Forum System