/* $This file is distributed under the terms of the license in /doc/license.txt$ */ var ScinodePolygon = CirclePolygon.extend({ init: function(options) { this._super(options); this.hide(); }, setValue: function(value) { this.options.value = value; }, getValue: function() { return this.options.value; }, setSize: function(size) { this.setRadius(size); this.setZIndex(-size); }, focus: function() { this.setOptions({strokeWeight: 3.0}); }, unfocus: function() { this.setOptions({strokeWeight: 1.0}); }, registerEvents : function() { var me = this; var polygon = me.polygon; this._super(); this.registerEvent(addClickListener(polygon, function() { INFO_WINDOW.setPosition(this.center); var content = '