Skip to content

Commit

Permalink
fix regression in Circle, fixes Leaflet#92
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed May 31, 2011
1 parent 5b05a40 commit 95d58b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/leaflet.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/layer/vector/Circle.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ L.Circle = L.Path.extend({

projectLatlngs: function() {
var equatorLength = 40075017,
scale = this._map.options.scaling(this._map._zoom);
scale = this._map.options.scale(this._map._zoom);

this._point = this._map.latLngToLayerPoint(this._latlng);
this._radius = (this._mRadius / equatorLength) * scale;
Expand Down

0 comments on commit 95d58b5

Please sign in to comment.