#leaflet | Logs for 2013-03-01

Back
[00:04:43] -!- asdfasd has quit [Ping timeout: 260 seconds]
[00:11:51] -!- rob_h has quit [Ping timeout: 240 seconds]
[00:25:08] -!- tmcw [tmcw!~tmcw@c-68-50-174-188.hsd1.dc.comcast.net] has joined #leaflet
[00:25:38] -!- motioncontrol has quit [Quit: Sto andando via]
[00:29:23] -!- tmcw has quit [Ping timeout: 248 seconds]
[00:42:31] -!- adb has quit [Ping timeout: 260 seconds]
[00:45:55] -!- mephux has quit [Excess Flood]
[00:46:18] -!- andypugh has quit [Quit: andypugh]
[00:48:16] -!- mephux [mephux!~mephux@unaffiliated/mephux] has joined #leaflet
[01:05:00] -!- Wildhoney has quit [Ping timeout: 264 seconds]
[01:18:53] -!- skorasaurus has quit [Ping timeout: 245 seconds]
[01:29:05] -!- sumpfralle1 has quit [Quit: Leaving.]
[01:31:22] -!- hdokes has quit [Read error: Connection reset by peer]
[01:32:10] -!- skorasaurus [skorasaurus!~blahblahb@65.185.64.11] has joined #leaflet
[01:38:11] -!- vladimirek has quit [Remote host closed the connection]
[01:58:03] -!- mhaberler has quit [Quit: mhaberler]
[02:00:27] -!- dimas has quit [Ping timeout: 245 seconds]
[02:07:41] -!- jfire has quit [Quit: Leaving.]
[02:09:18] -!- ravenlock has quit [Changing host]
[02:09:26] -!- tmcw [tmcw!~tmcw@c-68-50-174-188.hsd1.dc.comcast.net] has joined #leaflet
[02:27:50] -!- Valen has quit [Quit: Leaving.]
[02:29:29] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[02:31:11] -!- Brandonian has quit [Quit: Brandonian]
[02:46:14] -!- jthornton_ has quit [Read error: Connection reset by peer]
[02:46:14] -!- JT-Shop has quit [Read error: Connection reset by peer]
[03:09:35] -!- Nexty [Nexty!~textual@203.176.105.126] has joined #leaflet
[03:13:48] <Nexty> need suggestions how to make the current scope pass into a layer.on('event')
[03:13:52] <Nexty> https://gist.github.com/ghuntley/f3606ce52ffdeb808a76
[03:15:51] -!- kwallace has quit [Ping timeout: 240 seconds]
[03:52:51] -!- FinboySlick has quit [Quit: Leaving.]
[04:00:46] -!- tmcw has quit [Remote host closed the connection]
[04:09:03] -!- asdfasd has quit []
[04:12:42] frewsxcv-waza is now known as frewsxcv94709
[04:15:09] -!- skorasaurus has quit [Quit: left the building.]
[04:17:52] -!- zzolo [zzolo!~zzolo@12.54.72.2] has joined #leaflet
[04:20:07] -!- jfire has quit [Quit: Leaving.]
[04:21:51] -!- SWPLinux has quit [Ping timeout: 240 seconds]
[04:34:33] -!- xxoxx has quit [Quit: Leaving]
[04:44:54] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[04:48:52] -!- ravenlock has quit [Ping timeout: 248 seconds]
[04:56:43] -!- Nexty has quit [Quit: Computer has gone to sleep.]
[05:02:07] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[05:04:45] -!- pfred1 has quit [Quit: I think I'm done now]
[05:06:18] -!- sumpfralle has quit [Quit: Leaving.]
[05:15:15] -!- AR_ has quit [Ping timeout: 255 seconds]
[05:22:41] -!- gambakufu has quit [Read error: Connection reset by peer]
[05:25:36] -!- pikeaero has quit [Remote host closed the connection]
[05:26:56] -!- kwallace1 has quit [Ping timeout: 255 seconds]
[05:30:48] -!- tshirtisinthemai [tshirtisinthemai!~textual@203.176.105.126] has joined #leaflet
[05:32:34] -!- tshirtisinthemai has quit [Client Quit]
[05:36:58] -!- hdokes has quit [Read error: Connection reset by peer]
[05:42:07] -!- hdokes has quit [Ping timeout: 260 seconds]
[05:43:18] -!- gasbakid has quit [Remote host closed the connection]
[05:46:24] -!- kwallace has quit [Ping timeout: 264 seconds]
[05:47:43] -!- cmorley has quit [Ping timeout: 260 seconds]
[05:51:37] -!- jfire has quit [Quit: Leaving.]
[05:58:17] -!- zzolo has quit [Quit: zzolo]
[06:03:07] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[06:03:51] -!- Tecan has quit [Ping timeout: 240 seconds]
[06:08:53] -!- cmorley1 has quit [Ping timeout: 245 seconds]
[06:20:53] -!- tjb1 has quit [Read error: Connection reset by peer]
[06:20:54] tjb1_ is now known as tjb1
[06:36:21] -!- gasbakid [gasbakid!~gasbakid@41.96.97.207] has joined #leaflet
[06:44:12] -!- Thetawaves_ has quit [Client Quit]
[06:56:01] -!- ve7it has quit [Remote host closed the connection]
[07:05:35] -!- kwallace1 has quit [Ping timeout: 255 seconds]
[07:13:53] -!- cmorley has quit [Ping timeout: 245 seconds]
[07:20:55] -!- Tecan has quit [Changing host]
[07:38:46] -!- tjb1 has quit [Quit: tjb1]
[07:48:10] -!- gasbakid_ [gasbakid_!~gasbakid@41.96.29.72] has joined #leaflet
[07:50:19] -!- gasbakid has quit [Ping timeout: 276 seconds]
[07:50:37] -!- tshirtisinthemai [tshirtisinthemai!~textual@CPE-60-225-82-218.hhui2.ken.bigpond.net.au] has joined #leaflet
[07:50:41] tshirtisinthemai is now known as Nexty
[07:51:46] <Nexty> q: for onEachFeature: (feature, layer) -> | layer.on 'event'. How does one pass in or bind to a different scope.
[07:52:12] <Nexty> when the event is fired, this. refers to the scope of the firing layer/object.
[07:52:41] <Nexty> tried binding the onEachFeature and also layer.on via call or _.bind (underscore)
[07:58:51] -!- cncbasher has quit [Ping timeout: 240 seconds]
[08:29:06] -!- hashfail has quit []
[08:31:12] <emk> exi
[08:31:14] -!- emk has quit [Quit: leaving]
[08:32:25] -!- Valen has quit [Quit: Leaving.]
[08:36:30] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[08:38:12] -!- emel has quit [Excess Flood]
[08:38:33] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[08:44:52] -!- gasbakid__ [gasbakid__!~gasbakid@41.96.75.75] has joined #leaflet
[08:45:58] -!- gasbakid_ has quit [Ping timeout: 245 seconds]
[08:55:58] -!- gasbakid__ has quit [Ping timeout: 245 seconds]
[09:21:27] -!- mhaberler has quit [Quit: mhaberler]
[09:27:11] -!- Wildhoney [Wildhoney!~Wildhoney@cpc1-stap3-0-0-cust930.12-2.cable.virginmedia.com] has joined #leaflet
[09:36:32] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust202.5-4.cable.virginmedia.com] has joined #leaflet
[09:36:35] -!- Thetawaves_ has quit [Quit: Leaving]
[09:41:59] -!- Tom_itx has quit []
[09:42:55] -!- racycle has quit [Ping timeout: 260 seconds]
[09:45:17] -!- mourner [mourner!~mourner@83.142.233.74] has joined #leaflet
[09:59:41] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[10:09:18] -!- holst has quit [Ping timeout: 245 seconds]
[11:04:44] -!- mhaberler has quit [Quit: mhaberler]
[11:06:36] jthornton__ is now known as jthornton
[11:13:33] -!- dway [dway!~dway@82.239.0.32] has joined #leaflet
[11:13:59] -!- gambakufu has quit [Ping timeout: 255 seconds]
[11:31:26] -!- V0idExp has quit [Quit: Leaving.]
[11:33:04] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[11:33:25] -!- b_b has quit [Changing host]
[11:33:25] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[11:49:29] -!- Adventsparky [Adventsparky!~kvirc@dw.hccl.ie] has joined #leaflet
[11:49:47] -!- Adventsparky has quit [Client Quit]
[11:52:22] -!- skunkworks has quit [Remote host closed the connection]
[11:56:22] -!- dhoovie has quit [Ping timeout: 246 seconds]
[12:07:16] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[12:07:25] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[12:09:00] -!- b_b has quit [Changing host]
[12:09:01] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[12:25:12] -!- dhoovie|2 has quit [Read error: Connection reset by peer]
[13:26:34] -!- zzolo [zzolo!~zzolo@12.54.72.2] has joined #leaflet
[13:34:23] -!- adb has quit [Ping timeout: 260 seconds]
[13:39:55] -!- ahhhh [ahhhh!~Adium@93-46-240-28.ip110.fastwebnet.it] has joined #leaflet
[13:39:58] <ahhhh> dudes
[13:40:10] <ahhhh> which is the usage quota limit for leafletjs?
[13:40:24] <ahhhh> is there a daily quota usage limit?
[13:40:27] <b_b> what quota ?
[13:40:41] <ahhhh> leaflet.js has no usage limit?
[13:40:44] <ahhhh> request limits?
[13:40:49] <b_b> nope
[13:40:56] <ahhhh> rly?? :O
[13:45:27] <ahhhh> why leaflet better than openlayers?
[13:45:31] <ahhhh> i'm using openlayers right now
[13:45:54] <mourner> Leaflet is a JS library, it is service-agnostic, depends on what tiles you use
[13:46:25] <mourner> CloudMade tiles quota is 500k/month
[13:47:10] <mourner> Leaflet is much better than OpenLayers in terms of simplicity, ease of use and performance
[13:47:48] <mourner> OpenLayers is better than Leaflet in terms of number of features — use it if you need those specific features that Leaflet doesn't have (supporting some weird GIS formats etc.)
[14:05:42] JT-Shop-2 is now known as JT-Shop
[14:05:44] -!- zzolo has quit [Quit: zzolo]
[14:15:44] <zomg> Leaflet seems to have better docs than OpenLayers too
[14:16:01] <zomg> Although it was still a bit confusing in places, it was way less confusing than OpenLayers =)
[14:21:48] <mourner> if you find any particular areas confusing, file an issue on GitHub
[14:21:53] <mourner> we'll try to sort it out
[14:22:42] -!- stsydow [stsydow!~stsydow@kbs-217.kbs.tu-berlin.de] has joined #leaflet
[14:23:21] -!- stsydow has quit [Client Quit]
[14:23:42] -!- stsydow [stsydow!~stsydow@kbs-217.kbs.tu-berlin.de] has joined #leaflet
[14:24:04] -!- stsydow has quit [Client Quit]
[14:24:26] -!- psha[work] has quit [Quit: Lost terminal]
[14:24:27] -!- pjm has quit [Read error: Connection reset by peer]
[14:24:57] -!- stsydow [stsydow!~stsydow@kbs-217.kbs.tu-berlin.de] has joined #leaflet
[14:36:34] -!- sumpfralle has quit [Ping timeout: 276 seconds]
[14:40:34] -!- skorasaurus [skorasaurus!~blahblahb@65.185.64.11] has joined #leaflet
[14:41:13] -!- pygmee [pygmee!6d0014d3@gateway/web/freenode/ip.109.0.20.211] has joined #leaflet
[14:47:27] -!- zzolo [zzolo!~zzolo@12.195.147.22] has joined #leaflet
[14:49:28] <pygmee> lo, i'm discovering leaflet. It seems awesome. I would know if there is a way to load a custom map and in which format. Is there a list somewhere ?
[14:51:20] -!- zzolo has quit [Client Quit]
[14:52:21] <ybon> Leaflet doesn't come with any map builtin, so I'm not sure what you mean by "map custom"
[14:54:51] <skorasaurus> pygmee: leaflet accepts tileJSON,
[14:55:24] <pygmee> ah, i was reading GeoJson here
[14:57:51] <pygmee> i think it will be hard. My source files are Illustrator file :(
[15:00:34] -!- zzolo [zzolo!~zzolo@12.195.147.22] has joined #leaflet
[15:08:35] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[15:13:53] <skorasaurus> it also accept geojson as a layer.
[15:21:11] <pygmee> hum, what are the difference between all those json. Are they so different ?
[15:25:11] -!- tmcw [tmcw!~tmcw@98.218.228.75] has joined #leaflet
[15:26:48] -!- Simooon has quit [Remote host closed the connection]
[15:27:10] <mourner> you can export the illustrator file into a huge image and use http://hugepic.io/
[15:27:19] <mourner> it will produce a Leaflet map out of it
[15:33:33] <pygmee> huge ! thanks a lot mourner, i'm testing immediately
[15:44:39] -!- odogono has quit [*.net *.split]
[15:44:39] -!- djinni` has quit [*.net *.split]
[15:44:39] -!- Err has quit [*.net *.split]
[15:44:39] -!- jdh has quit [*.net *.split]
[15:44:39] -!- KimK has quit [*.net *.split]
[15:44:40] -!- gimps has quit [*.net *.split]
[15:44:40] -!- anonimasu has quit [*.net *.split]
[15:44:40] -!- karavanjoW has quit [*.net *.split]
[15:44:40] -!- ybon has quit [*.net *.split]
[15:44:40] -!- jackc- has quit [*.net *.split]
[15:44:40] -!- speakman has quit [*.net *.split]
[15:44:41] -!- Joshsz has quit [*.net *.split]
[15:44:41] -!- pthorin has quit [*.net *.split]
[15:45:19] -!- V0idExp has quit [Remote host closed the connection]
[15:45:32] -!- karavanjoW [karavanjoW!~karavanjo@178.124.148.114] has joined #leaflet
[15:45:32] -!- ybon [ybon!~ybon@hack.lolnet.org] has joined #leaflet
[15:45:32] -!- speakman [speakman!~daniel@unaffiliated/speakman] has joined #leaflet
[15:45:32] -!- Joshsz [Joshsz!~josh@ec2-107-20-157-171.compute-1.amazonaws.com] has joined #leaflet
[15:45:32] -!- pthorin [pthorin!~petert@gbg01.kartena.se] has joined #leaflet
[15:45:39] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[15:46:58] <pygmee> hum unfortunately it doesn't work, it doesn't recognize the content type even with SVG :(
[15:53:56] -!- Nexty has quit [Quit: Computer has gone to sleep.]
[15:56:39] -!- Nick001 has quit []
[15:56:49] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 18.0/20130108033621]]
[15:57:22] -!- MVCalypso has quit [Quit: ChatZilla 0.9.90 [Firefox 3.6.28/20120306064154]]
[16:00:25] -!- kwallace has quit [Ping timeout: 245 seconds]
[16:00:48] -!- zzolo has quit [Ping timeout: 244 seconds]
[16:01:47] -!- ahhhh has quit [Ping timeout: 256 seconds]
[16:09:51] -!- jfire has quit [Quit: Leaving.]
[16:19:41] <tmcw> pygmee: you would export to png
[16:21:12] -!- tronwizard has quit [Ping timeout: 264 seconds]
[16:24:43] <pygmee> ho, no vectors, strange. But ok, it's worth a try
[16:27:03] -!- tmcw has quit [Remote host closed the connection]
[16:28:44] -!- tmcw [tmcw!~tmcw@c-98-218-228-75.hsd1.dc.comcast.net] has joined #leaflet
[16:29:21] -!- pygmee has quit [Quit: Page closed]
[16:30:09] -!- pjm has quit [Read error: Connection reset by peer]
[16:33:25] -!- r00t4rd3d has quit [Read error: Connection reset by peer]
[16:41:19] -!- tjb1 has quit [Client Quit]
[16:44:54] -!- motioncontrol has quit [Remote host closed the connection]
[17:02:35] -!- gasbakid [gasbakid!~gasbakid@41.96.55.197] has joined #leaflet
[17:09:40] -!- gasbakid has quit [Read error: Connection reset by peer]
[17:20:22] <mourner> tmcw: hey Tom, nice to see you here
[17:20:53] <tmcw> hey mourner
[17:21:08] -!- tronwizard has quit [Ping timeout: 276 seconds]
[17:23:55] <ybon> mourner: is instanciating LatLng from a GeoJSON of type Point somehow in your plans (and thus to be able to setCenter and so on with a GeoJSON) ?
[17:24:58] <mourner> ybon: not sure yet, it's not a simple question — stay tuned for more discussion in https://github.com/Leaflet/Leaflet/issues/1455
[17:25:51] <ybon> oh, great
[17:26:28] <ybon> I'm +1 on this, GeoJSON is somehow the "globish" of the GIS ;)
[17:27:35] -!- odogono has quit [Ping timeout: 252 seconds]
[17:29:12] -!- mackerski has quit [Quit: mackerski]
[17:31:00] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[17:42:15] -!- tmcw has quit [Remote host closed the connection]
[17:43:19] -!- tmcw [tmcw!~tmcw@98.218.228.75] has joined #leaflet
[17:47:40] -!- stsydow has quit [Remote host closed the connection]
[17:52:19] -!- kwallace1 has quit [Ping timeout: 246 seconds]
[18:02:15] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[18:09:40] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[18:14:18] -!- mephux has quit [Excess Flood]
[18:15:19] -!- mephux [mephux!~mephux@unaffiliated/mephux] has joined #leaflet
[18:19:55] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[18:25:40] -!- mattions has quit [Ping timeout: 248 seconds]
[18:30:51] -!- zzolo [zzolo!~zzolo@12.195.147.22] has joined #leaflet
[18:40:00] -!- sumpfralle has quit [Ping timeout: 272 seconds]
[18:43:11] -!- andypugh has quit [Ping timeout: 272 seconds]
[18:43:11] andypugh_ is now known as andypugh
[18:45:22] -!- ler_hydra has quit [Remote host closed the connection]
[18:49:57] -!- skorasaurus has quit [Remote host closed the connection]
[18:52:05] -!- tmcw has quit [Remote host closed the connection]
[18:52:47] -!- tmcw [tmcw!~tmcw@c-98-218-228-75.hsd1.dc.comcast.net] has joined #leaflet
[18:53:07] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 18.0/20130108033621]]
[18:59:40] -!- zzolo has quit [Quit: zzolo]
[19:06:14] -!- zzolo [zzolo!~zzolo@12.195.147.22] has joined #leaflet
[19:21:49] -!- skorasaurus [skorasaurus!~blahblahb@65.185.64.11] has joined #leaflet
[19:27:37] <tmcw> mourner: any news on the mocha switch?
[19:28:48] <mourner> tmcw: have been a bit busy last days, so didn't look at it yet, but I think there are enough good reasons to switch
[19:29:18] <tmcw> Just looking for direction - like I/john can work on issues full-time so if there's something where you're into the direction, plz unassign yourself and we can hack them together
[19:29:56] -!- cmorley1 has quit [Ping timeout: 257 seconds]
[19:32:53] <tmcw> like I could work on a mocha port today
[19:33:14] <tmcw> but I want to make sure that there's no 5,000 line pull req that isn't welcome
[19:33:39] <mourner> sure
[19:34:29] <mourner> I think Mocha is the way to go — Jasmine devs are not friendly, pull reqs and issues go unanswered for years, and Mocha is becoming a trend among new projects
[19:34:53] <mourner> and I like that there are different libraries for matchers, mocks, etc. — makes it more flexible
[19:36:22] <tmcw> Cool, so I'll start working on that.
[19:36:33] <mourner> Tom, one thing I'd like you or John to work on is the zoom animation and inertia stuff — I know you'd like to make it more smooth/natural, and there's definitely a lot of room for improvement but that's a complex part and perhaps needs a fresh look
[19:37:20] <mourner> and fixing any glitches/etc. so it's as smooth and good looking as possible
[19:37:35] <tmcw> Yeah, I tried a leaflet/easey port a while ago, but realized that there would be a lot of work in leaflet core itself - it's not really designed for arbitrary redraws ala mm
[19:38:01] <mourner> yeah, I started working towards this a bit recently but more work to do
[19:38:40] <mourner> you can put off the easey thing for now and look closely at the default zoom/pan behavior
[19:39:08] <jfire> tmcw: I can do a mocha port today if you want to work on easing
[19:39:16] <mourner> it would be easier to perfect the basics first
[19:39:31] <mourner> jfire: hey John, nice to see you here too!
[19:39:37] * tmcw would prefer mocha, got burned by my previous tries at leaflet-inertia
[19:39:46] <jfire> hah
[19:39:49] <jfire> ok
[19:40:41] <jfire> I don't know anything about inertia, where would I start?
[19:41:09] <mourner> tmcw: sorry :) I feel the existing code makes you angry at times, but hopefully we'll bring it to a state when you're both happy with it mostly
[19:43:04] <mourner> jfire: start by just using it and comparing to an implementation you feel is the best, noticing any particular patterns/issues, and then look at the implementation in Map.Drag.js, and PosAnimation.js (helper class for animating translate with CSS3 with a timer fallback, stoppable etc.)
[19:44:27] <tmcw> jfire: basic easey impl is here: https://github.com/mapbox/easey/blob/gh-pages/src/easey.handlers.js#L406
[19:45:02] <tmcw> the main difference between the two is that easey is always drawing and basically does exponential drag whereas leaflet is static -> transition -> static and uses css3 easing curves rather than js
[19:45:33] <tmcw> the mm camp was never able to find a perf difference between getframe + css3 transforms rather than animating transforms with transitions
[19:46:00] <tmcw> re: easing in general, the paper is https://github.com/modestmaps/modestmaps-js/blob/master/examples/zoompan/zoompan.pdf
[19:47:14] <jfire> ok, thanks for the pointers. I'll start looking at this
[19:48:11] * ybon suggest https://github.com/Leaflet/Leaflet/pull/1293 to the geo-JS ninjas around looking for things to help on ;)
[19:48:15] <mourner> tmcw: there were differences earlier (when reqAnimFrame was not as widespread, e.g. iOS < 6)
[19:48:34] <mourner> tmcw: but perhaps it's not as noticeable on modern browser versions
[19:51:11] <tmcw> mourner: at least the advantages outweighed disadvantages - you can cancel an animation frame pretty easily, but it's tricky with css transitions
[19:51:41] <tmcw> and/or modifying the transition in-place - easey will extend a mousewheel zoom action to zoom more than one level at a time
[19:53:01] <mourner> tmcw: it's may be more complicated with zoom, as there are other layers to consider - e.g. would it perform the same with 500 zoom-animated markers?
[19:53:39] <mourner> tmcw: I agree with the canceling/modifying stuff, had to scratch my head quite a bit on it with transitions
[19:54:13] <tmcw> over a certain number of markers, wouldn't you just highly recommend canvas and re-render on a debounce?
[19:54:59] <mourner> tmcw: I also kind of hoped several years ago that browsers will start optimizing transform transitions with better hardware acceleration etc., but it didn't happen yet much it seems
[19:56:15] <mourner> tmcw: I would, but if there's a regression after refactoring to frames, it would be an issue — e.g. if 500-marker zoom anim performs great but starts to crawl with a newer Leaflet version suddenly
[19:56:36] -!- zzolo has quit [Ping timeout: 248 seconds]
[19:57:53] <tmcw> mourner: then I'd degrade to non-animated APIs when getFrame isn't detected
[19:58:26] <mourner> tmcw: I mean, there may be a regression even on getFrame-capable browsers
[19:58:45] <mourner> it may not be noticeable on just the tiles, but can add up with more objects
[19:58:51] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust202.5-4.cable.virginmedia.com] has joined #leaflet
[19:58:52] <mourner> we need to test this
[19:58:59] <tmcw> sure, there may also be a regression in interpretation of transitions, ala the swoopy zoom bug
[20:01:57] <mourner> tmcw: jfire: maybe it's better to try improving inertia and zoom with the current transitions approach first, and then move on if it really doesn't work
[20:08:04] -!- Wildhoney has quit [Ping timeout: 248 seconds]
[20:08:45] <mourner> we could experiment with changing the transition/transform values on the fly while transition is running for zoom
[20:10:25] <mourner> tmcw: I've given you push/pull rights to Leaflet repo too, feel free to commit minor fixes, tests etc. without creating a PR (but always create PRs for API changes and anything substantial)
[20:12:12] <tmcw> cool, thx - I'll make a pr for this test work, of course
[20:12:34] <mourner> thanks!
[20:13:08] <mourner> will be back in an hour
[20:15:32] -!- tjb1 has quit [Quit: tjb1]
[20:19:05] -!- mourner has quit [Quit: mourner]
[20:41:47] -!- micges has quit [Quit: Leaving]
[20:48:20] -!- skorasaurus3 [skorasaurus3!~blahblahb@65.185.64.11] has joined #leaflet
[20:50:05] zenek is now known as micges
[20:56:20] -!- skunkworks has quit [Ping timeout: 248 seconds]
[21:01:17] -!- skorasaurus3 has quit [Quit: left the building.]
[21:02:50] -!- skunkworks_ has quit [Read error: Connection reset by peer]
[21:05:11] -!- jepler has quit [Ping timeout: 260 seconds]
[21:22:05] -!- vladimirek has quit [Remote host closed the connection]
[21:23:45] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[21:41:27] -!- tshirtisinthemai [tshirtisinthemai!~textual@CPE-60-225-82-218.hhui2.ken.bigpond.net.au] has joined #leaflet
[21:42:06] <tshirtisinthemai> q: for onEachFeature: (feature, layer) -> | layer.on 'event'. How does one pass in or bind to a different scope.
[21:42:13] <tshirtisinthemai> tried binding the onEachFeature and also layer.on via call or _.bind (underscore)
[21:42:19] <tshirtisinthemai> when the event is fired, this. refers to the scope of the firing layer/object.
[21:47:31] -!- ravenlock has quit [Quit: Leaving]
[21:54:03] -!- bedah has quit [Quit: bye]
[22:00:10] -!- tmcw has quit [Remote host closed the connection]
[22:00:36] -!- tmcw [tmcw!~tmcw@c-98-218-228-75.hsd1.dc.comcast.net] has joined #leaflet
[22:03:20] -!- p2800-de has quit [Ping timeout: 260 seconds]
[22:04:29] -!- tshirtisinthemai has quit [Quit: Textual IRC Client: www.textualapp.com]
[22:05:41] -!- DJ9DJ has quit [Quit: bye]
[22:06:20] -!- Loetmichel has quit [Disconnected by services]
[22:06:28] Cylly is now known as Loetmichel
[22:13:02] -!- FinboySlick has quit [Quit: Leaving.]
[22:51:13] -!- JT-Shop has quit [Read error: Connection reset by peer]
[22:51:14] -!- jthornton has quit [Read error: Connection reset by peer]
[22:52:18] -!- Keknom has quit [Quit: Leaving.]
[22:58:14] -!- motioncontrol has quit [Quit: Sto andando via]
[22:59:27] -!- odogono has quit [Quit: odogono]
[22:59:27] -!- mourner [mourner!~mourner@178.150.41.45] has joined #leaflet
[22:59:37] <mourner> ok, back for a couple of minutes
[23:00:03] -!- gasbakid [gasbakid!~gasbakid@41.96.37.102] has joined #leaflet
[23:07:49] <tmcw> mourner: updated the near check to be more precise
[23:08:02] <mourner> thanks
[23:09:16] -!- nunya has quit [Remote host closed the connection]
[23:09:17] <mourner> I still don't get the 0 || 1 part, it's always 1 :) maybe you meant delta || 1
[23:27:24] <tmcw> yes, fixed
[23:29:39] <mourner> tmcw: btw, it seems that now tests run about 10 times slower for some reason
[23:29:56] <mourner> 2s with Mocha vs 0.2s with Jasmine
[23:30:11] <tmcw> hm, I don't notice a difference on my system, but I guess you can look into it
[23:30:50] -!- rizo has quit [Quit: Leaving]
[23:31:08] <mourner> it reports the time when finished, try switching between branches and running jake test
[23:31:41] <mourner> also, can you clarify the coverage issue? just ran "jake test --cov" and it generated a valid report
[23:33:25] <tmcw> I'm seeing http://dl.dropbox.com/u/68059/Screenshots/p2hsfjyelhq~.png
[23:33:35] <tmcw> so testing the test libraries, not leaflet
[23:35:49] <mourner> weird
[23:40:51] -!- L84Supper has quit [Ping timeout: 272 seconds]
[23:41:45] -!- racycle has quit [Quit: racycle]
[23:44:38] <jfire> mourner: what's the purpose of keeping the _positions and _times arrays in L.Map.Drag?
[23:46:22] <mourner> jfire: I wanted to sort of get an average value for a number of last drag frames, but eventually got to using only the last one
[23:47:06] <mourner> don't remember if I tried the average route and decided not to go with it (but didn't clean up) or just didn't try but was going too
[23:48:31] <mourner> tmcw: I don't know… Couldn't find any things that may possibly lead to such result, my set up should be the same as yours… I made a commit removing the hack with testacular master but it shouldn't affect anything in theory
[23:48:54] <mourner> jfire: could you try the mocha branch and see if "jake test --cov" works for you?
[23:48:56] <jfire> looks like it's not necessarily using the last one, but one from up to 200 ms ago?
[23:49:30] <jfire> mourner: sure
[23:50:39] <mourner> jfire: hmm, looks like an omission from my side (supposed to be the last one if you take only one)
[23:53:53] <jfire> mourner: what's --cov supposed to do?
[23:54:13] <mourner> look for "coverage" folder in /spec
[23:54:19] <mourner> open index.html
[23:56:09] -!- Wildhoney [Wildhoney!Wildhoney@cpc1-stap3-0-0-cust930.12-2.cable.virginmedia.com] has joined #leaflet
[23:57:46] <jfire> seems to be working for me
[23:58:50] <mourner> tmcw: something to do with your setup then… maybe try reinstalling the node modules, or updating phantomjs
[23:59:07] <tmcw> hm.
[23:59:31] <tmcw> I'm on 1.8.1 of phantomjs, which is quite new