Issue
When we upload more than one document for a single location and try to see all uploaded documents by clicking on the marked pointer in the map only one document will be visible.
Environment
- Liferay DXP 7.2
Resolution
Please note: The following information involves customizations or implementation ideas that are beyond the scope of Liferay Support. Please exercise appropriate discretion in the use of this information to choose to follow it.
- Using the Liferay OOTB features, a single document will be listed for a single location. As per the business needs to make all documents to be visible for a single location, customization may help to achieve it.
- If you need any assistance in implementing it in Liferay, please reach out to GS Team as they have expertise in customizing the default functionality of Liferay.
Additional Information
- Feature request LPS-128340 has been raised for this functionality.
-
Different ways which may help with this business requirement:
- Detect collisions and try to separate both points with a minimal but convenient distance
- Use a marker clustered for the detected collisions or for those points which were closer than a given distance. A precondition for this option would be that all the supported Map Engines provide this functionality or a similar one
- Also, you may use portlet_display_template_geolocalized.ftl as a base of your own template.