Closed (works as designed)
Project:
GMap Module
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2011 at 15:37 UTC
Updated:
25 Sep 2011 at 18:46 UTC
I am running D7.8 and have gmap and location working out of the box. Everything works, expect for when I am trying to create a map in code. My assumption was to simply call
print theme('gmap',$map)
with $map being an array that has at least the latitude/longitude set. No matter what I do, the map never gets rendered (as a map), and I only end up with the DIV that tells me I need javascript. Looks like the required javascript for the map never fires. When I check Drupal.settings.gmap I can see an object for my map.
Can someone please tell me what I am doing wrong, or what I need to pass into theme('gmap')?
Thanks
Comments
Comment #1
jhm commentedNobody knows the answer to this?
Comment #2
jhm commentedFound the answer here