{"action":"opened","issue":{"url":"https://api.github.com/repos/umap-project/Leaflet.Measurable/issues/1","labels_url":"https://api.github.com/repos/umap-project/Leaflet.Measurable/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/umap-project/Leaflet.Measurable/issues/1/comments","events_url":"https://api.github.com/repos/umap-project/Leaflet.Measurable/issues/1/events","html_url":"https://github.com/umap-project/Leaflet.Measurable/issues/1","id":127223411,"number":1,"title":"How to use this pretty plugin?","user":{"login":"trippal","id":11732990,"avatar_url":"https://avatars.githubusercontent.com/u/11732990?v=3","gravatar_id":"","url":"https://api.github.com/users/trippal","html_url":"https://github.com/trippal","followers_url":"https://api.github.com/users/trippal/followers","following_url":"https://api.github.com/users/trippal/following{/other_user}","gists_url":"https://api.github.com/users/trippal/gists{/gist_id}","starred_url":"https://api.github.com/users/trippal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trippal/subscriptions","organizations_url":"https://api.github.com/users/trippal/orgs","repos_url":"https://api.github.com/users/trippal/repos","events_url":"https://api.github.com/users/trippal/events{/privacy}","received_events_url":"https://api.github.com/users/trippal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-18T13:10:22Z","updated_at":"2016-01-18T13:10:22Z","closed_at":null,"body":"Firstly, I add some strings to my project:\r\n```\r\n<meta charset=\"utf-8\"/>\r\n<link rel=\"stylesheet\" href=\"http://cdn.leafletjs.com/leaflet/v1.0.0-beta.2/leaflet.css\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"Leaflet.Measurable.css\">\r\n<script src=\"http://cdn.leafletjs.com/leaflet/v1.0.0-beta.2/leaflet.js\"></script>\r\n<script src=\"http://code.jquery.com/jquery-1.11.0.js\"></script>\r\n<script src=\"Leaflet.Editable.js\"></script>\r\n<script src=\"Leaflet.Measurable.js\"></script>\r\n```\r\nAs I understand measure Control need Leaflet.Editable.js\r\nSecondly, I add map \r\n```\r\nvar map = L.map('map').setView([60,30], 8);\r\nL.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {\r\n   attribution: '&copy; <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors'\r\n}).addTo(map);\r\n```\r\nUsing my previouse expearence adding control looks like this:\r\n```\r\nmap.addControl(new L.MeasureControl());\r\n```\r\nBut there is nothing happened. There was no errors. It looks like browser dont know what to do with this plugin: \"Ok, I see your plugin, but I do not got your idea, what you want from me\".\r\n\r\nAlso I didn't find any hints of adding control like this\r\n```\r\nvar map = new L.Map('map', {\r\n  MeasureControl: true,\r\n  MeasureControl.options: {\r\n    position: 'topright'\r\n  }\r\n});\r\n\r\nor\r\n\r\nvar Map = L.map('map', options);\r\nvar measureControl = L.Control.Measure(options);\r\nmeasureControl.addTo(Map);\r\n```\r\n\r\nSo, how to add this plugin to map?\r\nThank you in advance."}}