Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Good afternoon,
I am doing the maintenance in a Drupal webpage that uses the OpenLayers module to display a map with countries and delegations related to the entity. My client noticed that some of the markers aren't displayed in the correct place (example: China marker displaying in France, Russia marker displaying in Ireland, etc).
I have searched for solutions and even tried some of the patches that I have found but with no results. Anyone had this problem or can provide me some help?
Thanks in advance
Comment | File | Size | Author |
---|---|---|---|
wbi.png | 263.81 KB | lfccorreia |
Comments
Comment #1
PolHave you tried with latest beta ?
Comment #2
lfccorreia CreditAttribution: lfccorreia commentedI have updated the OpenLayers & Libraries modules and added the Proj4js module and the maps didn't display. Reverted everything to the previous configuration and the maps are displaying again, but the problem that I reported last week is still there.
Any ideas?
Comment #3
lfccorreia CreditAttribution: lfccorreia commentedJust noticed something:
The marker is supposed to get Chine (China in French), but instead it is displaying La Chine, a street in France...
Since the map is created based on country names, why is this happening?
Comment #4
milos.kroulik CreditAttribution: milos.kroulik commentedHow did you create the geodata? If you used any geocoder, the problem might be caused by the tool. Can you provide us with the sample of the data in some general GIS format (GeoJSON or Shapefile), so we could try to display them in some GIS for comparison?
Also, i experienced strange problem that might be related to yours - some of my geometries were displayed on different place on the planet. The data were from PostGIS DB and I was able to solve the poblem simply by upgrading PostgreSQL (underlying technology from version 9.1 to 9.3.