Details

      Description

      The ADT por displaying Assets in a Map is not working properly, should be reviewed in 7.1

      Steps to reproduce:

      1. Go to Control Panel > Content > Web Content
      2. Create your own structure adding a Geolocated Field
      3. Generate an empty Template associated to that structure (it doesn't matter)
      4. Generate a Web Content based on that Structure and geolocate it.
      5. Add an Asset Publisher to a page and configure it to show up just Web Content Articles belonging to that structure, and on Display Settings choose Liferay's ADT for maps
      6. The Asset Publisher shows OpenStreetMap with the geolocated structured but if you click on it, no popup appears
      7. You'll see some errors on Javacsript Console

      Expected Result:
      If you click on the geolocated point in the map, a popup appears with the summary and small image (if exits) of the Asset (like in 7.0)

      Actual Result:
      If you click on the geolocated point in the map, NO popup appears and there are some Javascript errors

      Javascript Error
      Warning: Error: Invalid state passed to 'position.location.lat'. Expected type 'number', but received type 'function'.

      (Side Note) It seems that ADT hasn't changed for 7.1. Guess we should review it.

        Attachments

          Activity

            People

            Assignee:
            anthony.chu Anthony Chu
            Reporter:
            rafael.lluis Rafael Lluis
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 45 weeks, 3 days ago

                Packages

                Version Package
                7.1.X
                Master