By bcostacurta on
Hello,
I installed module Gmap and Location to display Google in pages.
Everything works fine but only the link 'See map : Google map' (which is working) is displayed not the Google map itself.
Any idea or clue ?
Thank.
Bruno
Comments
Manage Display
Are you using Location CCK? I'm not positive that it is exactly the same with Node Locations but it may be.
Go to Structure -> Content Types -> Manage Display (for the type with your Location field). Then you select "Address with Map" or "Map Only" under "Format".
The "Address with Map" option will still show the link, but will add the map.
I'm using module Location.
And so my Content type (called event01) using the field Location defined it via its Manage Fields.
And in the Manage Display for event01 I already select 'Address with Map' (also tried the other values here) but again no Google map is displayed. Only the link 'See map : Google map'.
I also tried this with a new Drupal7-7 dedicated only for this test. But no positive result.
Does someone have another clue here ?
Thanks.
Hmmm
Do you have Google Maps geocoding for your country (or the country you are trying to map) turned on?
yoursite.com/admin/config/content/location/geocoding
Geocoding is activated.
In fact without Geocoding activation the link to Google map is not displayed.
Location Map Block
Also, in 'admin/build/block' have you arranged the "Location Map" block in the "Content" region?
Yes the Block 'Location Map' is already in region 'Content'.
But unfortunately it does'nt work ...
Oh, sorry. Just realized
Oh, sorry. Just realized you're on 7.x, not 6.x. Haven't played with 7.x mapping yet.
Gave up ... and rollback to Drupal 6 with module Gmapfield
I gave up.
I remove Drupal 7 and re-install Drupal 6 with module Gmapfield.
Module Gmapfield simply .. works !
It is only available under D6 and will probably not be updated to D7 as mentioned by the author.
But yes it works and displays Google map in the Content with easy configuration.
Without the complicated gimmicks of modules Gmap + Location under D7 never been able to display any Google map in the Content of my page with these.
So goodbye D7 and welcome back D6 !
thank all.
thank all.
Workaround : rollback to Drupal 6 with module Gmapfield
I gave up.
I remove Drupal 7 and re-install Drupal 6 with module Gmapfield.
Module Gmapfield simply .. works !
It is only available under D6 and will probably not be updated to D7 as mentioned by the author.
But yes it works and displays Google map in the Content with easy configuration.
Without the complicated gimmicks of modules Gmap + Location under D7 never been able to display any Google map in the Content of my page with these.
Goodbye D7 and welcome back D6 !
Is there any way to display
Is there any way to display the map using dupal7? I can show it in a block but I want to show it inline with the content.
Thanks
Check Text Formats
I'd been running around with this issue for a while too with no map showing after trying out all the suggestions around the site for Drupal 7x.
I managed to solve my issue by going to: admin/config/content/formats
and for Full HTML and Filtered text formats enabling the "GMap Macro expander" Filter. My gmap now shows in the nodes.
Hope that helps
To show the map block inline
To show the map block inline with the content I put:
in the template node.
Thank you for information on Gmapfield
I've troubled myself with Gmap long enough and still had to choose another route to get what wanted.