1

I am stuck on something that seemed very simple and need your help. I have an input form where there is a geofield input field of type WKT. So the user gives the WKT of a point. When the node is viewed I would like the WKT that the user previously gave to be displayed on a map. On the manage display tab all the other options seem to work (WKT, KML, description etc), except from the map option like leaflet, openlayers and geofield maps. There is empty space where the map was supposed to be. Can anyone help me on this?

  • hi Mat, did u already check for any errors in the installation of your (leaflet) map? What is the format of the wkt that you are filling in? Are there maybe any errors there? Could u provide more information about the points that the users have to fill in? I was stuck with the same things in the beginning. I got it working with geocode the map form another field. For that field i used address field. More user friendly in my case because the user can fill in their address instead of wkt. – Lucy Apr 20 '16 at 13:24
1

Some suggestions:

  • make sure that you edit the right format when you filled in the wkt.
  • check for any errors in the installation of the map.

I had the same problems in the beginning with mapping too. I had an error in the installation of my leaflet map. In the end I solved it with a new installation and I geocoded the geofield from my address field.

| improve this answer | |
  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review – Adrian Cid Almaguer Apr 20 '16 at 12:28
  • I wanted to try to help by asking if the op already checked those things. I had the same problems in the beginning with mapping too. I had an error in the installation of my leaflet map. In the end i solved it with a new installation and i geocoded the geofield from my address field. – Lucy Apr 20 '16 at 12:34
  • but if you need more information add a comment, this is not a answer – Adrian Cid Almaguer Apr 20 '16 at 12:40
  • I am sorry.. I tried that but I am not allowed to post new comments yet. My intentions weren't bad. Only wanted to help the op. If i can add a comment next time I will do that or otherwise don't ask my questions in the answer section. – Lucy Apr 20 '16 at 12:50
  • don't worry, try again, you need 50rep to make a comment ;-) – Adrian Cid Almaguer Apr 20 '16 at 13:07
0

Problem solved, I suppose it was a bug. The content type had two maps with location. When the first was empty then the second didn't show up and caused the empty space. When I removed the first map everything worked fine. But now I am stuck to this if anyone could help... Hide grey leaflet map if empty

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.