Active
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2010 at 04:42 UTC
Updated:
9 Jun 2011 at 14:21 UTC
Unless i keep "Rebuild theme registry on every page checked" in the Theme configure panel the GMap Locations map doesnt show up at all. i could get it to show up once if i regenerated the marker cache on the Gmap location panel, but it would disappear on the next page refresh.
Leaving this checked is obviously a huge performance hit, so not sure how to resolve.
THoughts?
Comments
Comment #1
klamoureux commentedJust to expand, it appears that the .js files don't render when I don't leave rebuild theme registry on
Comment #2
ad4m commentedAny progress on that issue?
Comment #3
oxigen commentedI have the same problem. Anybody knows any solution? For me js cache is turned off.
Comment #4
asb commentedPut
drupal_rebuild_theme_registry();in your template.php and figure out some benchmarking if it really is a major performance hit (just found this in a client's theme, took me a while to figure out while it wasn't commented out).-asb
Comment #5
geaseSame issue here. I have location cck field attached to some nodes, and the map displays ok on node pages. But I have also a views page with map for all nodes, for which I had to redeclare views style plugin and needed thus to move gmap-views-gmap.tpl.php into the theme folder. And in that case map displays only once after theme registry cache is cleared.
Comment #6
gaëlgSubscribing. I'm using
$vars['search_results_map'] = theme('gmap', array('#settings' => $map_array));in my hook_preprocess_search_results, and it only works when not cached (i.e. only once, when I clear the cache).