Created a custom circle polygon that fixed generic google.maps.Circle bugs that becomes irregular shape while near to latitude N180 and latitude S180, circle size was changed based on distance from the (0,0), etc.

This commit is contained in:
kongchinhua 2011-06-01 21:45:22 +00:00
parent 8934e57412
commit 1cdf2ed596
4 changed files with 90 additions and 9 deletions

View file

@ -56,8 +56,8 @@ var CircleSizeCoder = Class.extend({
this.options = $.extend({}, this.options, options);
},
options: {
minRadius: 100000.0,
maxRadius: 2500000.0,//2500000.0,
minRadius: 0.8,
maxRadius: 100.0,//100.0,
scaler: new Scaler({})
},
getSize: function(value) {