Results 1 to 5 of 5

Thread: How to integrate dlh_googlemaps with catalog?

  1. #1
    New user
    Join Date
    12-18-09.
    Posts
    24

    Default How to integrate dlh_googlemaps with catalog?

    How to integrate dlh_googlemaps with a catalog ?
    e.g a property listing, each property has its own location coordinates.

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: How to integrate dlh_googlemaps with catalog?

    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.

  3. #3
    New user
    Join Date
    12-18-09.
    Posts
    24

    Default Re: How to integrate dlh_googlemaps with catalog?

    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?

  4. #4
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: How to integrate dlh_googlemaps with catalog?

    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.

  5. #5
    User
    Join Date
    06-19-09.
    Location
    Kosice, Slovakia
    Posts
    61

    Default Re: How to integrate dlh_googlemaps with catalog?

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •