Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geoCoord属性是否支持动态添加对象数据,如何实现? #611

Closed
guangyuying opened this issue Aug 25, 2014 · 2 comments
Closed

Comments

@guangyuying
Copy link

geoCoord : {
"盐城医院" : [ 120.13,33.38 ],
"赤峰医院" : [ 118.87,42.28 ]
}

geoCoord:obj
obj=new ojb();
如何向ojb中动态添加"盐城医院" : [ 120.13,33.38 ],"赤峰医院" : [ 118.87,42.28 ]等信息!

@wangwenchao
Copy link

我也遇到这个问题
当坐标是数组变量时,就报错 意思是找不到一个x
Uncaught TypeError: Cannot read property 'x' of undefined in the echart-map.js

@kener
Copy link
Contributor

kener commented Aug 28, 2014

-_-||

obj["盐城医院" ] = [ 120.13,33.38 ];

@kener kener closed this as completed Sep 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants