We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4675
    • 38 Posts
    I've installed Gmarker through the Package Management, and followed instructions for the set-up, and applied a TV where the address would be parsed into the latitude and longitude TVs for displaying the resulting map.

    My problem is that the result are way, way, way off from where the actual map location should be.

    Is there anyone who understands what is happening, and how to correct this?

    Modx Revolution 2.2.8
    Gmarker 1.0
      • 4675
      • 38 Posts
      I think I've resolved the issue so that instead of trying to read the latitude and longitude, I used the TV call for address, and got the right map location.

      However, there is no marker on the map result - it will not post any marker.

      My code is as follows:

      [[Gmarker? &address=`[[*Address_Street]], [[*Address_City]], [[*Address_Province]]`]]

      Using the Gmarker should have place the marker on the map. I just have the Gmap result.
        • 4675
        • 38 Posts
        Okay I did a output test to see what kind of latitude and longitude I was getting, and it looks like no matter what address I entered, I kept getting the same latitude and longitude.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Hm. I simply used
          [[Gmarker? &address=`[[*city]], [[*country]]`]]

          and it has map + marker.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org