Warning: The magic method SFML_Singleton::__wakeup() must have public visibility in /home/public/wp-content/plugins/sf-move-login/inc/classes/class-sfml-singleton.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at /home/public/wp-content/plugins/sf-move-login/inc/classes/class-sfml-singleton.php:72) in /home/public/wp-includes/feed-rss2-comments.php on line 8
Comments on: Measuring distances on Leaflet maps in Vue applications https://www.munderwood.ca/index.php/2019/04/25/measuring-distances-on-leaflet-maps-in-vue/ Tracking the occasional random walk Fri, 10 Jan 2020 01:53:08 +0000 hourly 1 https://wordpress.org/?v=5.7.2 By: munderwood https://www.munderwood.ca/index.php/2019/04/25/measuring-distances-on-leaflet-maps-in-vue/#comment-2922 Fri, 10 Jan 2020 01:53:08 +0000 http://www.munderwood.ca/?p=279#comment-2922 Thanks for pointing out that these new events exist on Leaflet.PolylineMeasure now!

I have updated the Vue component to use the latest version, and added documentation to the readme about handling events—note that the events are actually fired by the Map component, *not* by the LControlPolylineMeasure one.

Please try upgrading to ^1.1.1, and let me know how it goes.

]]>
By: Avishek Saha https://www.munderwood.ca/index.php/2019/04/25/measuring-distances-on-leaflet-maps-in-vue/#comment-2918 Thu, 09 Jan 2020 07:51:36 +0000 http://www.munderwood.ca/?p=279#comment-2918 I want to show the distance on firing “polylinemeasure:finish” event on modal. Please suggest how can I access the distance value.

]]>