依次要安装:Geofield Alimap, China address field, Geofield, Geocoder等模块

安装address field模块,添加一个address字段
等待
勾选(CN。。。)
d
安装Geofield模块,添加一个Geo字段
2
注意Geo字段的配置
asdf
设置Geo字段的字段显示
asdf
添加你的node内容
asdf
完成!
asdf

CommentFileSizeAuthor
#3 Screen_1.png38 KBFingerlinck
7.png150.59 KBrogical
6.png21.49 KBrogical
5.png7.53 KBrogical
4.png16.31 KBrogical
3.png10.42 KBrogical
2.png16.54 KBrogical
1.png9.76 KBrogical

Comments

rogical’s picture

Issue summary: View changes

啊啊

iwhy’s picture

this is great, but when display the address,how to make it like this:
中国 上海 上海 闸北区 闸北公园
222222

rogical’s picture

Needs make a address formatter for this, but I'm using panels for render node.

You can create a issue for this on project 'China address field'.

rogical’s picture

Issue summary: View changes

443

Fingerlinck’s picture

Issue summary: View changes
StatusFileSize
new38 KB

Hey. I have some troble with baidu_map.
I made all steps same with your issue. But on node page I only see the gray baidu box. Without any graphic map. Just any points nearly my address point.
When I try to save node, I get a message on screen:
"Sorry, a critical error was returned by Baidu Geocoder for the requested query and no geocoded information could be saved. Error code: 220.
Please check on Baidu Geocoder API reference website for more information on this error code."
Anybody have any ideas how to fix this problem?
Please see attachment.

aolaze’s picture

我这里有碰到3个问题:
1.我的数据库没有安装,我后面手动增加的。
2.我在用ueditor 1.4.32,在Body中设置为filtered HTML,选择地址中的省份时报了个错误,无法跳出市级的地址项:
An error occurred while attempting to process/?q=system/ajax wysiwyg module has no information about field ""。
我把body改为Plain Text 没有问题。
3.我设置的地址后,也没有地图显示,只给了个point.
POINT (105.00725 31.91937)
There is currently no content classified with this term.