Skip to content

Commit

Permalink
Remove call to #getRotation in #toGeoJSON temporarily in order to tes…
Browse files Browse the repository at this point in the history
…t resource deletion in MapKnitter.
  • Loading branch information
justinmanley committed Sep 10, 2014
1 parent 7faa07f commit 577285b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/Leaflet.Illustrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,9 @@ L.Illustrate.Textbox.prototype.toGeoJSON = function() {
style: {
width: size.x,
height: size.y,
rotation: this.getRotation()
// mocked until refactoring is finshed
// rotation: this.getRotation()
rotation: 0
}
},
feature = L.GeoJSON.getFeature(this, {
Expand Down
4 changes: 3 additions & 1 deletion src/core/L.Illustrate.Textbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ L.Illustrate.Textbox.prototype.toGeoJSON = function() {
style: {
width: size.x,
height: size.y,
rotation: this.getRotation()
// mocked until refactoring is finshed
// rotation: this.getRotation()
rotation: 0
}
},
feature = L.GeoJSON.getFeature(this, {
Expand Down

0 comments on commit 577285b

Please sign in to comment.