We ran into an issue today with the Nice Map module when our mapping server became unavailable. As the Nice Map cache only included point data and not the map image, we lost our map. When we tried to refresh the cache, our site failed with a fatal error (another issue for another day).
The solution I will attempt is to cache the map image locally. Basically, using the specific settings for the map server I will create a local image that can be used. This should speed up requests for the map as well. My plan is to use the $map_url in the theme file and fopen to download it into the files directory.
Has anyone tried this or have any suggestions?
Thanks!
Comments
Comment #1
tmcw commented(feel free to open a bug report for the 500 error experienced; map caching is a feature request)
It's certainly possible to copy images to your server and rewrite the URLs as long as you're comfortable with the amount of space they'll consume. This module isn't under active development and it's unlike that this would be default behavior, though.