-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update 1.0.2 - fix 0/0 pos, enhanced prediction
- Loading branch information
Showing
9 changed files
with
911 additions
and
49 deletions.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
www/js/leaflet.contextmenu.js | ||
www/css/leaflet.contextmenu.css | ||
|
||
The MIT License (MIT) | ||
|
||
Copyright (c) 2017 [email protected] | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
.leaflet-contextmenu { | ||
display: none; | ||
box-shadow: 0 1px 7px rgba(0,0,0,0.4); | ||
-webkit-border-radius: 4px; | ||
border-radius: 4px; | ||
padding: 4px 0; | ||
background-color: #fff; | ||
cursor: default; | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
user-select: none; | ||
} | ||
|
||
.leaflet-contextmenu a.leaflet-contextmenu-item { | ||
display: block; | ||
color: #222; | ||
font-size: 12px; | ||
line-height: 20px; | ||
text-decoration: none; | ||
padding: 0 12px; | ||
border-top: 1px solid transparent; | ||
border-bottom: 1px solid transparent; | ||
cursor: default; | ||
outline: none; | ||
} | ||
|
||
.leaflet-contextmenu a.leaflet-contextmenu-item-disabled { | ||
opacity: 0.5; | ||
} | ||
|
||
.leaflet-contextmenu a.leaflet-contextmenu-item.over { | ||
background-color: #f4f4f4; | ||
border-top: 1px solid #f0f0f0; | ||
border-bottom: 1px solid #f0f0f0; | ||
} | ||
|
||
.leaflet-contextmenu a.leaflet-contextmenu-item-disabled.over { | ||
background-color: inherit; | ||
border-top: 1px solid transparent; | ||
border-bottom: 1px solid transparent; | ||
} | ||
|
||
.leaflet-contextmenu-icon { | ||
margin: 2px 8px 0 0; | ||
width: 16px; | ||
height: 16px; | ||
float: left; | ||
border: 0; | ||
} | ||
|
||
.leaflet-contextmenu-separator { | ||
border-bottom: 1px solid #ccc; | ||
margin: 5px 0; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.