Download & Extend

Display node location points in macros?

Project:GMap Module
Version:4.7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

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!

Comments

#1

Component:Miscellaneous» Code

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.

AttachmentSize
gmap_node_map_macro.diff 1.72 KB

#2

Status:active» closed (won't fix)

Suggest using georss.