Display node location points in macros?
tonderai - July 28, 2007 - 10:10
| Project: | GMap Module |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Description
Is it possible pull in the node location data (from location.module) into a gmap macro, displaying the points on the map?
This would be an incredibly useful feature, if not, because I need to be able to display several different maps of the node data. My node locations are globally distributed, and I need to focus on certain continents and regions on different pages.
Thanks!

#1
Well, I have done this by modifying gmap_location_node_page() in gmap_location.module (4.7.1-dev) to accept any macro as a variable.
At the moment the macro is fixed to the one variable set in admin>settings>gmap_location. Now you can call gmap_location_node_page($nid,$macro), and the node location data is displayed on $macro. If $macro is not set, the node location map defaults back to the global setting.
#2
Suggest using georss.