reimplement feature 'encoded url' (#16)
change symbol names for better readability beautify location-sidebar cleanup sourcecode * change symbols to unicode-names * reimplement feature 'encoded url'
This commit is contained in:
parent
51c1c57e48
commit
8497a5f833
3 changed files with 8 additions and 6 deletions
|
|
@ -18,7 +18,7 @@ define(["map/clientlayer", "map/labelslayer",
|
|||
|
||||
onAdd: function () {
|
||||
var button = L.DomUtil.create("button", "add-layer")
|
||||
button.textContent = ""
|
||||
button.textContent = "\uF2C7"
|
||||
|
||||
// L.DomEvent.disableClickPropagation(button)
|
||||
// Click propagation isn't disabled as this causes problems with the
|
||||
|
|
@ -46,7 +46,7 @@ define(["map/clientlayer", "map/labelslayer",
|
|||
|
||||
onAdd: function () {
|
||||
var button = L.DomUtil.create("button", "locate-user")
|
||||
button.textContent = ""
|
||||
button.textContent = "\uF2E9"
|
||||
|
||||
L.DomEvent.disableClickPropagation(button)
|
||||
L.DomEvent.addListener(button, "click", this.onClick, this)
|
||||
|
|
@ -85,7 +85,7 @@ define(["map/clientlayer", "map/labelslayer",
|
|||
|
||||
onAdd: function () {
|
||||
var button = L.DomUtil.create("button", "coord-picker")
|
||||
button.textContent = ""
|
||||
button.textContent = "\uF2A6"
|
||||
|
||||
// Click propagation isn't disabled as this causes problems with the
|
||||
// location picking mode; instead propagation is stopped in onClick().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue