w8r / Leaflet.Bookmarks

Leaflet plugin for user-generated bookmarks
http://w8r.github.io/Leaflet.Bookmarks/
59 stars 17 forks source link

Remote storage #15

Closed xsun125 closed 1 year ago

xsun125 commented 6 years ago

Sorry I'm really new to web developing. Could you explain more about remote storage with AJAX?

  1. In the example you said url: '/bookmarks/' + id I'm not quite sure what does that mean. (Isn't it supposed to point to the server handler first? eg. server.php)
  2. In the 'data: value' part, should I use the variable 'value' straight away when using this plugin? Thank you!
w8r commented 1 year ago

https://github.com/w8r/Leaflet.Bookmarks#custom-storageeg-ajax