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:
parent
8934e57412
commit
1cdf2ed596
4 changed files with 90 additions and 9 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue