Check in map of science's comparison view for 1.4 release testing

Remaining works:
- support csv download for sub-entity
- show sub-entity mapping results
This commit is contained in:
kongchinhua 2011-11-07 05:34:58 +00:00
parent 60a87403d1
commit be65655c7e
14 changed files with 895 additions and 316 deletions

View file

@ -26,19 +26,20 @@ var ScinodePolygon = CirclePolygon.extend({
registerEvents : function() {
var me = this;
var polygon = me.polygon;
this._super();
this.registerEvent(addClickListener(polygon, function() {
me._super();
me.registerEvent(addClickListener(polygon, function() {
INFO_WINDOW.setPosition(this.center);
var content = this.content;
INFO_WINDOW.setContent(content);
INFO_WINDOW.open(this.map);
}));
this.registerEvent(addMouseOverListener(polygon, function() {
me.registerEvent(addMouseOverListener(polygon, function() {
me.focus();
}));
this.registerEvent(addMouseOutListener(polygon, function() {
me.registerEvent(addMouseOutListener(polygon, function() {
me.unfocus();
}));
}