How to integrate dlh_googlemaps with a catalog ?
e.g a property listing, each property has its own location coordinates.
How to integrate dlh_googlemaps with a catalog ?
e.g a property listing, each property has its own location coordinates.
Create a text field to store only the variable part (the coordinates data). Then in your template TPL file, you can manually add the googlemaps code with your "text" field's value in the right place.
Thanks Thyon, i'm trying it next.
One more query also there is requirement for showing up maps which will display(mark) all the properties in a particular area and on map events like zoom-in/zoom-out etc the maps should dynamically load. I've achieved this in one of my custom sites before using XML data files. But in typolight how can i easily do this?
You should be able to use the RSS feature to generate a XML for your catalog, however, that may not work in this case, as you will need to have a specific format XML for Google. Perhaps another dev will attempt a custom field or something that will auto-render google and may involve some groundwork for the XML.
But you may always use google maps javascript api to add pois - read xml using XHttpRequest and process it manually.
S.C.A.R.E
Bookmarks