我正在嘗試在drupal頁面中顯示Google地圖。地圖上只有商業位置標記,不需要用戶提交自己的標記。在Drupal中添加谷歌地圖到聯繫人信息頁
到目前爲止,我已經加載了Gmap,Location和CCK模塊。我試圖爲頁面內容類型啓用一個位置字段,它允許我輸入一個地址,但這並不顯示實際的地圖。
我確定我在這裏錯過了一些簡單的東西。任何幫助?
編輯:
我與最後被使用PHP命令drupal_set_html_head()其通過由Nikit提供this link發現添加JS文件到drupal的報頭去溶液。我無法正常工作。
是的它只出現在一個頁面上,不需要動態更新。但我無法弄清楚如何嵌入地圖。 javascript版本需要一個
而Drupal不會讓我這樣做。我寧願不使用閃存解決方案。 – clang1234 2010-04-08 21:01:28看看這個:http://thewichitacomputerguy.com/blog/embed-google-maps-drupal-node-without-module-using-php 或使用iframe:http://blogoscoped.com/files/embed-google -maps.html – Nikit 2010-04-09 00:49:42
-1對於通用的上下文回答,任何詢問gmap集成的人都知道google map api的鏈接。 – anshuman 2013-01-30 11:59:35