Jump to content

Include additional markers on geomaps module


Matt Tyndall

Recommended Posts

Hello, I would like to be able to include markers for jomsocial events in the geomaps module.  I have a few ideas on how to add this functionality but have a few questions that someone might be able to help me out with.  My first idea would be to simply add additional markers to the marker_icons array.  Jomsocial events are stored similarly to listings with their own latitude and longitude in a different table.  Would it be possible for me to simply query that table for a location and add it to the marker array?  I'm looking in the module_geomaps_controller.php file, is this where I should be?  My second idea would be to somehow create a fake Jreview listing for each jomsocial event that would never be displayed to the public but that would be submitted which would automatically insert the jomsocial event lat/long in the jr_latitude and jr_longitude so that geomaps would add these automatically.  Has anyone ever done this, or know of a better solution?

Link to comment
×
×
  • Create New...