-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the ability to draw curves #1008
Open
qpincon
wants to merge
11
commits into
Leaflet:develop
Choose a base branch
from
qpincon:curve
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,297
−302
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
25f3097
Implement drawing and editing of curves of the L.curve plugin
454fd33
disable curve drawing for leaflet < 1.0
0d47497
disable curve drawing for leaflet < 1.0
d001557
fix leaflet version to pass tests
a6512df
change close shape method
5432007
add bezier image to dist folder
d1b1bf8
resize bezier image
5007205
ensure bezier icon is used
ab395f6
move curve image to spritesheet
b9c9538
remove unused variable
845171c
whitespaces and such
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,33 +6,40 @@ var deps = { | |
], | ||
desc: 'The core of the plugin. Currently only includes the version.' | ||
}, | ||
|
||
Common: { | ||
src: ['ext/CurveCommon.js'], | ||
desc: 'The files shared with multiple objects of the plugin.' | ||
}, | ||
|
||
DrawHandlers: { | ||
src: [ | ||
'draw/handler/Draw.Feature.js', | ||
'draw/handler/Draw.Polyline.js', | ||
'draw/handler/Draw.Curve.js', | ||
'draw/handler/Draw.Polygon.js', | ||
'draw/handler/Draw.SimpleShape.js', | ||
'draw/handler/Draw.Rectangle.js', | ||
'draw/handler/Draw.Marker.js', | ||
'draw/handler/Draw.CircleMarker.js', | ||
'draw/handler/Draw.Circle.js' | ||
'draw/handler/Draw.Marker.js', | ||
'draw/handler/Draw.CircleMarker.js', | ||
'draw/handler/Draw.Circle.js' | ||
], | ||
desc: 'Drawing handlers for: polylines, polygons, rectangles, circles, circlemarkers and markers.', | ||
deps: ['Core'] | ||
deps: ['Core', 'Common'] | ||
}, | ||
|
||
EditHandlers: { | ||
src: [ | ||
'edit/handler/Edit.Marker.js', | ||
'edit/handler/Edit.Poly.js', | ||
'edit/handler/Edit.Curve.js', | ||
'edit/handler/Edit.SimpleShape.js', | ||
'edit/handler/Edit.Rectangle.js', | ||
'edit/handler/Edit.CircleMarker.js', | ||
'edit/handler/Edit.CircleMarker.js', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ? |
||
'edit/handler/Edit.Circle.js' | ||
], | ||
desc: 'Editing handlers for: polylines, polygons, rectangles, circlemarkers and circles.', | ||
deps: ['Core'] | ||
desc: 'Editing handlers for: polylines, curves, polygons, rectangles, circlemarkers and circles.', | ||
deps: ['Core', 'Common'] | ||
}, | ||
|
||
Extensions: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whitespace-only changes should be avoided