We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37165
    • 89 Posts
    Hi I am developing a real estate website. Each property has it's own page and I'd like to have a map of the property on that page. However I don't want to make the client look up longitude and latitude values for every entry. They will have already entered the full address as TV values and it'd like to use that information to dynamically generate a map. I've seen some solutions that look similar to this but need one that has good documentation to help me figure out how to implement it.

    Does anyone have any recommendations for a way to accomplish this?
      • 30912
      • 463 Posts
        • 37165
        • 89 Posts
        Thanks Tyreal2012, That does look like what I want but I can't figure out how add it to my template. The documentation just says

        [[*tvValue:JSONtoChunk=ChunkName]]


        However I don't really understand JSON that well. Do you know of anywhere that shows examples?
          • 30912
          • 463 Posts
          I havent used it personally, but looking at it id guess at:

          MapChunk

          [[+housenumber]] [[+street]]</br>
          [[+city]]
          [[+zipcode]]
             
          


          [[*tvValue:JSONtoChunk=MapChunk]]
            • 37165
            • 89 Posts
            Thank-you. That makes sense. Was way easier than I thought.
              • 30912
              • 463 Posts
              It usually is, but sometimes theres a note of uncertainty as it sometimes seems *too* simple.

              Glad it worked out though.