We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20349 ☆ A M B ☆
    • 453 Posts
    Hi all...

    I have a list of nightclubs and I want to display a googlemap on every club (it’s location).
    I think this would be very easy to implement via Template Variable, but I’m in a search for some plugin/snippet... something...

    Basssicaly I wan’t that user would just type in lon and lat coordinates into the TV and the gmap would render for that location.


    I’m sure this can be done very easily, but does anyone has tried this?
    Some working example/download would be very nice wink
      BASE - Web Design Studio
      MODX Ambassador

      Website
      • 20349 ☆ A M B ☆
      • 453 Posts
      If someone helps.... I did it in the following way:


      • Created a new TV (text) (where manager user can input their coordinates)
      • In my template I hardcoded the javascript for calling Google maps; for coordinates I used [*myTV*]

      Works like a charm! grin
        BASE - Web Design Studio
        MODX Ambassador

        Website