mirror of
https://github.com/umap-project/umap.git
synced 2025-05-06 06:21:49 +02:00
WIP
This commit is contained in:
parent
74ea6d800c
commit
27cbd979ea
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,15 @@
|
|||
L.U.FeatureMixin = {
|
||||
staticOptions: { mainColor: 'color' },
|
||||
|
||||
sync: function(properties){
|
||||
if ('latlng' in properties)
|
||||
this._latlng
|
||||
},
|
||||
|
||||
renderProperties: function(properties){
|
||||
|
||||
},
|
||||
|
||||
initialize: function (map, latlng, options) {
|
||||
this.map = map
|
||||
if (typeof options === 'undefined') {
|
||||
|
@ -562,6 +571,7 @@ L.U.Marker = L.Marker.extend({
|
|||
function (e) {
|
||||
this.isDirty = true
|
||||
this.edit(e)
|
||||
this.sync(["latlng"])
|
||||
},
|
||||
this
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue