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

digi24’s picture

And another thing, $cache[cid] in _gmaps_static_map_item_render is not defined, cache does not get used (and google bans my ip...) :)

xmarket’s picture

The 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.

xmarket’s picture

Assigned: Unassigned » xmarket
Status: Active » Fixed

Feel free to reopen, if you have any question.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.