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.
Hi!
I created a new content type and added a field. The field type is geofield and the widget is Openlayers Map. What I want to achieve is for the user to select a point on a map. My problem is that nothing appears where the map is supposed to appear. There is only empty space reserved for something. Can anyone help me please? I am attaching the content type and a screenshot of the result.
Comment | File | Size | Author |
---|---|---|---|
Test_page.png | 20.76 KB | mmatmaga | |
Content_type.png | 22.17 KB | mmatmaga |
Comments
Comment #2
m.stentaDo you have Libraries CDN module installed? Or do you have the OL library in sites/all/libraries?
Do you see a map when you got to /admin/structure/openlayers?
Do you see any errors in JavaScript console on the pages where the map should display?
Comment #3
mmatmaga CreditAttribution: mmatmaga commentedThanks for the quick response. I just installed Libraries CDN module. No map appears when I go to /admin/structure/openlayers. And no error exists... Any idea for what goes wrong?
Comment #4
mmatmaga CreditAttribution: mmatmaga commentedProblem solved. Thank you very much for your time. The Libraries CND module did not solve my problem, but I downloaded again the OL library to my server and the map appeared.
Comment #5
m.stentaGreat!