Please correct me if I am wrong, but as far as I understand the following logic in includes is not correct:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/gmaps/inclu...
$smi->view has to be called after the file is downloaded, otherwise, Drupal downloads a file but does not use it, as the caches were already written.
Easy to fix once you notice, splitting it up into the throttle and cache condition, but I am not sure about $smi->headers.
Comments
Comment #1
digi24 commentedAnd another thing, $cache[cid] in _gmaps_static_map_item_render is not defined, cache does not get used (and google bans my ip...) :)
Comment #2
xmarket commentedThe entire caching mechanism has been reworked for maps, static maps and for gmaps_taxonomy. It will be available in the next commit.
It will fix this bug, too.
Comment #3
xmarket commentedFeel free to reopen, if you have any question.