Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73532

Openstreetmap is not loading with Geolocation into WebContent

    Details

      Description

      Hi,

      I have been some problem with Geolocation component into a WebContent. I have been created and structure with Geolocation field and the a template associated to this structure. Then I have created a WebContent with this struture and template and I have been added to the home.
      In the site setting configuration the API provider selected is 'OpenStreetMap'.

      Result: The map doesn't appear into the WebContent and there aren't any trace in log file.

      Possible solution: For fix it i have override 'init.jsp' which is into 'Liferay Foundation.lpkg --> com.liferay.map.openstreetmap.jar'

      I have included in line 23 next script:

      <%@ taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>

      Then i have restarted my tomcat and the map have appeared.

      This is my eventual solution, but I don't know if I'm doing well.

      Thanks!

        Attachments

          Activity

            People

            Assignee:
            joyce.wang Joyce Wang
            Reporter:
            javier.ahedo Javier Ahedo (Inactive)
            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:
              4 years, 43 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP24
                7.0.X EE
                7.0.4 CE GA5
                7.1.X
                Master