#leaflet | Logs for 2013-03-07

Back
[00:01:00] <itchy_> hi all, i have a quick question about a particular leaflet implementation i'm working on. is there a way to set bounds and prevent inertia bounce when the user pans outside of the bounds? in a sense sticky bounds...
[00:04:27] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[00:09:42] -!- sumpfralle has quit [Quit: Leaving.]
[00:11:20] -!- JesusAlos has quit [Quit: ChatZilla 0.9.90 [Firefox 11.0/20120310193829]]
[00:12:17] -!- adb has quit [Ping timeout: 248 seconds]
[00:13:32] -!- syyl has quit [Quit: Leaving]
[00:14:06] -!- asdfasd has quit [Ping timeout: 276 seconds]
[00:17:05] -!- sumpfralle1 has quit [Ping timeout: 245 seconds]
[00:20:52] -!- itchy_ has quit [Quit: Page closed]
[00:21:19] -!- itcky_ [itcky_!3ba77401@gateway/web/freenode/ip.59.167.116.1] has joined #leaflet
[00:30:46] -!- ravenlock has quit [Read error: Operation timed out]
[00:34:12] -!- tmcw has quit [Remote host closed the connection]
[00:37:50] -!- tmcw [tmcw!~tmcw@c-68-50-174-188.hsd1.dc.comcast.net] has joined #leaflet
[00:38:34] -!- zzolo has quit [Quit: zzolo]
[00:47:17] -!- tmcw has quit [Remote host closed the connection]
[00:51:49] -!- Tecan has quit [Quit: time to redo the cpu]
[01:01:16] -!- Nick001-Shop has quit [Remote host closed the connection]
[01:22:41] -!- sumpfralle has quit [Ping timeout: 248 seconds]
[01:24:40] -!- rob_h has quit [Ping timeout: 276 seconds]
[01:32:21] -!- ravenlock has quit [Read error: Connection reset by peer]
[01:42:31] -!- andypugh has quit [Quit: andypugh]
[01:45:11] Connor1 is now known as Connor
[01:55:03] -!- itcky_ has quit [Ping timeout: 245 seconds]
[03:06:35] -!- skunkworks has quit [Remote host closed the connection]
[03:15:12] -!- itchy_ [itchy_!3ba77401@gateway/web/freenode/ip.59.167.116.1] has joined #leaflet
[03:18:10] -!- jpk [jpk!~jpk@unaffiliated/vorondil] has joined #leaflet
[03:32:08] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[03:36:38] -!- FinboySlick has quit [Quit: Leaving.]
[03:55:57] -!- Keknom has quit [Quit: Leaving.]
[03:57:13] R2E4 is now known as R2E4_awy
[04:08:21] -!- uwe_mobile__ has quit [Ping timeout: 248 seconds]
[04:10:44] -!- firephoto has quit [Quit: ZNC - http://znc.in]
[04:13:20] firephoto_ is now known as firephoto
[04:24:49] -!- Tecan has quit [Read error: Connection timed out]
[04:36:42] -!- skorasaurus has quit [Ping timeout: 245 seconds]
[04:49:16] -!- jfire has quit [Quit: Leaving.]
[05:13:48] -!- itchy_ has quit [Ping timeout: 245 seconds]
[05:19:02] -!- ve7it has quit [Remote host closed the connection]
[05:27:38] -!- zzolo has quit [Quit: zzolo]
[05:52:40] Cylly is now known as Loetmichel
[06:00:47] -!- Fox_Muldr has quit [Read error: Operation timed out]
[06:18:24] -!- gabewillen has quit [Read error: Operation timed out]
[06:25:16] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[06:26:57] -!- prologic [prologic!~prologic@unaffiliated/prologic] has joined #leaflet
[06:27:06] -!- prologic [prologic!~prologic@unaffiliated/prologic] has parted #leaflet
[06:28:11] -!- i_tarzan has quit [Ping timeout: 260 seconds]
[06:34:15] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[06:40:21] -!- jfire has quit [Quit: Leaving.]
[06:51:17] -!- zultron_ has quit [Ping timeout: 246 seconds]
[09:00:03] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[09:00:14] -!- b_b has quit [Changing host]
[09:00:14] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[09:01:40] -!- emel has quit [Excess Flood]
[09:02:01] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[09:03:28] -!- JT-Shop has quit [Read error: Connection reset by peer]
[09:03:28] -!- jthornton has quit [Read error: Connection reset by peer]
[09:07:25] -!- mourner [mourner!~mourner@83.142.233.74] has joined #leaflet
[09:12:59] -!- fomox has quit [Ping timeout: 252 seconds]
[09:17:40] -!- psha[work] has quit [Quit: Lost terminal]
[09:18:06] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[09:18:30] -!- Valen has quit [Quit: Leaving.]
[09:24:45] -!- Wildhoney [Wildhoney!Wildhoney@cpc5-stap12-2-0-cust726.12-2.cable.virginmedia.com] has joined #leaflet
[09:28:53] -!- toner has quit [Ping timeout: 248 seconds]
[09:30:45] -!- tjb1 has quit [Quit: tjb1]
[09:33:04] -!- racycle has quit [Quit: racycle]
[09:51:21] -!- mourner has quit [Quit: mourner]
[09:58:08] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust202.5-4.cable.virginmedia.com] has joined #leaflet
[10:00:12] -!- mourner [mourner!~mourner@83.142.233.74] has joined #leaflet
[10:00:59] -!- dhoovie has quit [Ping timeout: 246 seconds]
[10:34:29] -!- Youdaman has quit []
[11:00:17] -!- Simooon has quit [Remote host closed the connection]
[11:09:02] -!- Wildhoney has quit []
[11:10:53] -!- mourner has quit [Quit: mourner]
[11:17:17] -!- fomox has quit [Ping timeout: 252 seconds]
[11:19:05] -!- mk0 has quit [Quit: Leaving]
[11:41:00] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[11:41:01] jthornton_ is now known as jthornton
[12:07:56] -!- Youdaman [Youdaman!~Youdaman@ppp121-75.static.internode.on.net] has joined #leaflet
[12:11:51] -!- stsydow [stsydow!~stsydow@141.23.87.248] has joined #leaflet
[12:32:06] -!- holst has quit [Quit: Leaving]
[12:32:43] -!- mhaberler has quit [Quit: mhaberler]
[12:40:24] -!- mourner [mourner!~mourner@83.142.233.74] has joined #leaflet
[12:44:53] vax__ is now known as vax-
[12:47:19] -!- skorasaurus [skorasaurus!~blahblahb@cpe-65-185-64-11.neo.res.rr.com] has joined #leaflet
[12:56:17] -!- phantoneD has quit [Ping timeout: 245 seconds]
[13:02:11] -!- adb has quit [Ping timeout: 240 seconds]
[13:03:47] -!- dmemdfd [dmemdfd!~marco@dynamic-adsl-84-222-81-171.clienti.tiscali.it] has joined #leaflet
[13:05:48] <dmemdfd> hi all. I'm using Pavel Shramov's KML plugin to display a track on the map. Track is correctly displayed but no style (track colors available in the kml) is displayed. As far as I could see the only option available is async...was wondering if this is a problem with the plugin or with my kml file. Thanks
[13:07:54] <b_b> i think there's an issue for that dmemdfd
[13:08:07] <b_b> https://github.com/shramov/leaflet-plugins/issues/56
[13:08:11] <b_b> yes
[13:08:19] <b_b> opened by a friend @spip
[13:08:25] <dmemdfd> b_b: thanks
[13:08:33] <b_b> you can post there to +1 :p
[13:17:07] -!- dmemdfd has quit [Remote host closed the connection]
[13:19:21] -!- Valen has quit [Quit: Leaving.]
[13:21:21] -!- holst has quit [Quit: Leaving]
[14:03:45] -!- Brandonian [Brandonian!~bmorrison@c-71-229-70-68.hsd1.in.comcast.net] has joined #leaflet
[14:09:50] -!- sumpfralle has quit [Quit: Leaving.]
[14:11:58] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[14:16:01] -!- fomox has quit [Ping timeout: 248 seconds]
[14:23:51] -!- holst has quit [Quit: Leaving]
[14:33:05] JT-Shop-2 is now known as JT-Shop
[14:34:09] -!- Simooon has quit [Ping timeout: 248 seconds]
[14:41:38] -!- JT-Shop has quit [Read error: Connection reset by peer]
[14:43:01] -!- zlog has quit [Remote host closed the connection]
[14:43:04] -!- Tom_itx has quit []
[14:46:56] -!- JT-Shop has quit [Read error: Connection reset by peer]
[14:58:20] -!- tmcw [tmcw!~tmcw@c-98-218-228-75.hsd1.dc.comcast.net] has joined #leaflet
[15:06:58] -!- mhaberler has quit [Quit: mhaberler]
[15:07:14] -!- mourner has quit [Quit: mourner]
[15:16:52] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[15:20:51] -!- fomox has quit [Ping timeout: 276 seconds]
[15:21:47] -!- mourner [mourner!~mourner@83.142.233.74] has joined #leaflet
[15:33:55] -!- malgar [malgar!~malgar@adsl-ull-159-92.46-151.net24.it] has joined #leaflet
[15:35:54] -!- emel has quit [Excess Flood]
[15:36:10] <malgar> Hello! I have a geotiff image. How can I add it as a layer? I see that I could add it using L.imageOverlay but it isn't for georeferenced images and I should set boundaries. Is there something more specific?
[15:36:15] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[15:40:17] -!- Simooon has quit [Remote host closed the connection]
[15:41:05] -!- zzolo has quit [Quit: zzolo]
[16:04:35] -!- fomox has quit [Ping timeout: 245 seconds]
[16:13:23] -!- mazafaka has quit [Ping timeout: 260 seconds]
[16:21:09] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[16:23:28] -!- zzolo [zzolo!~zzolo@mail.minnpost.com] has joined #leaflet
[16:30:47] -!- stsydow has quit [Ping timeout: 255 seconds]
[16:32:59] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 18.0/20130108033621]]
[16:34:56] -!- ler_hydra has quit [Remote host closed the connection]
[16:44:29] -!- jfire has quit [Quit: Leaving.]
[16:46:58] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[16:51:58] -!- jfire has quit [Quit: Leaving.]
[16:52:17] -!- mattions has quit [Ping timeout: 248 seconds]
[16:52:51] -!- stsydow [stsydow!~stsydow@141.23.87.248] has joined #leaflet
[16:55:19] -!- sumpfralle1 has quit [Read error: Operation timed out]
[17:11:31] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[17:15:06] -!- jfire has quit [Client Quit]
[17:28:57] -!- Youdaman has quit []
[17:37:21] -!- tmcw has quit [Remote host closed the connection]
[17:39:51] -!- mourner has quit [Quit: mourner]
[17:41:26] -!- xeen_ [xeen_!xeen@eris.noname-ev.de] has joined #leaflet
[17:42:07] -!- micges has quit [Quit: Leaving]
[17:44:43] -!- CANAIMERO-2001 has quit [Read error: Connection reset by peer]
[17:45:47] -!- phantoxeD has quit [*.net *.split]
[17:45:47] -!- skorasaurus has quit [*.net *.split]
[17:45:47] -!- joe9 has quit [*.net *.split]
[17:45:47] -!- davec_ has quit [*.net *.split]
[17:45:47] -!- capricorn_1 has quit [*.net *.split]
[17:45:47] -!- xeen has quit [*.net *.split]
[17:45:59] -!- jfire [jfire!~jfire@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[17:49:35] zenek is now known as micges
[17:51:45] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust202.5-4.cable.virginmedia.com] has joined #leaflet
[17:52:08] -!- skorasaurus [skorasaurus!~blahblahb@cpe-65-185-64-11.neo.res.rr.com] has joined #leaflet
[17:53:50] -!- tmcw [tmcw!~tmcw@c-98-218-228-75.hsd1.dc.comcast.net] has joined #leaflet
[18:01:59] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[18:02:06] -!- mackerski has quit [Ping timeout: 245 seconds]
[18:04:41] -!- gasbakid [gasbakid!~gasbakid@41.96.29.196] has joined #leaflet
[18:21:29] -!- sumpfralle has quit [Ping timeout: 255 seconds]
[18:29:10] -!- fomox has quit [Ping timeout: 245 seconds]
[18:45:43] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[19:01:40] -!- tronwizard has quit [Ping timeout: 240 seconds]
[19:08:07] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 18.0/20130108033621]]
[19:17:09] -!- tanepiper has quit [Remote host closed the connection]
[19:18:24] -!- Tecan has quit [Remote host closed the connection]
[19:19:34] -!- tanepiper [tanepiper!tanepiper@2a01:7e00::f03c:91ff:feae:cde] has joined #leaflet
[19:34:18] -!- mattions has quit [Ping timeout: 264 seconds]
[19:44:51] -!- malgar [malgar!~malgar@adsl-ull-159-92.46-151.net24.it] has parted #leaflet
[20:04:56] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[20:08:03] -!- mhaberler has quit [Quit: mhaberler]
[20:13:05] -!- sumpfralle has quit [Ping timeout: 255 seconds]
[20:13:39] -!- nunya has quit [Remote host closed the connection]
[20:17:55] -!- FinboySlick has quit [Quit: Leaving.]
[20:25:26] -!- mhaberler has quit [Client Quit]
[20:35:02] -!- motioncontrol has quit [Quit: Sto andando via]
[20:41:53] -!- RangeRick [RangeRick!~quassel@server3.befunk.com] has joined #leaflet
[20:42:55] <RangeRick> Question... I'm trying to write a custom control, it's a select input (inside a div). It looks like leaflet is eating all of its events, though, so when I click the select box, it doesn't pop open.
[20:43:26] <RangeRick> I've tried an L.DomEvent.addListener("click" ...) and told it event.stopPropagation(), but it still ends up grabbing like I'm slippy-moving the map, rather than just opening the select box.
[20:43:38] <RangeRick> Any ideas how to keep Leaflet from grabbing the control's events?
[20:43:47] -!- Wildhoney [Wildhoney!~Wildhoney@cpc5-stap12-2-0-cust726.12-2.cable.virginmedia.com] has joined #leaflet
[20:45:27] -!- nunya has quit [Ping timeout: 260 seconds]
[20:46:00] <tmcw> you'll need to stop more https://github.com/Leaflet/Leaflet/blob/master/src/control/Control.Zoom.js#L46
[20:46:40] <RangeRick> aha, ok, thanks
[20:46:50] * RangeRick tries
[20:47:11] <RangeRick> also looks like L.DomEvent.stopPropagation must do some magic? I was just calling e.stopPropagation()
[20:48:47] <tmcw> I think that will just do basic browser compatibility
[20:48:59] <tmcw> the difference is really more in stopping other events, since 'click' is a composite event
[20:49:36] <RangeRick> yeah, I only grabbed click and touchend
[20:49:40] <RangeRick> I'll try the rest, thanks
[20:55:40] <RangeRick> wouldn't the "preventDefault" in that keep it from popping open the select? Or am I misunderstanding what preventDefault does?
[20:58:06] <RangeRick> ah, yup, that worked... left the preventDefault off
[20:59:13] -!- Thetawaves_ has quit [Quit: Leaving]
[21:00:21] <RangeRick> thanks for the help!
[21:00:40] <RangeRick> I'm having an extra layer of complexity because I'm using GWT+leaflet, so event management is... fun. :)
[21:18:22] -!- adb has quit [Ping timeout: 245 seconds]
[21:21:46] -!- micges has quit [Read error: Operation timed out]
[21:21:51] zenek_ is now known as micges
[21:23:30] -!- bedah has quit [Quit: Ex-Chat]
[21:30:44] -!- skunkworks has quit [Read error: Connection reset by peer]
[21:41:00] -!- vladimirek has quit [Remote host closed the connection]
[21:43:47] -!- scottman [scottman!~scott@205.125.39.26] has joined #leaflet
[21:43:51] -!- scottman [scottman!~scott@205.125.39.26] has parted #leaflet
[21:51:10] -!- stsydow has quit [Remote host closed the connection]
[22:07:54] -!- Loetmichel has quit [Ping timeout: 264 seconds]
[22:11:21] -!- DJ9DJ has quit [Quit: bye]
[22:11:30] -!- FinboySlick has quit [Quit: Leaving.]
[22:39:17] -!- gasbakid has quit [Read error: Connection reset by peer]
[22:50:24] -!- jpk has quit [Ping timeout: 256 seconds]
[22:51:49] -!- zzolo has quit [Quit: zzolo]
[23:01:31] -!- Celelibi has quit [Excess Flood]
[23:08:27] -!- jpk [jpk!~jpk@unaffiliated/vorondil] has joined #leaflet
[23:13:45] -!- fomox has quit [Ping timeout: 245 seconds]
[23:14:34] -!- andypugh has quit [Quit: andypugh]
[23:24:41] -!- jfire1 [jfire1!~jfire@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[23:24:41] -!- jfire has quit [Read error: Connection reset by peer]
[23:34:50] -!- stsy [stsy!~stsydow@dslb-178-012-133-222.pools.arcor-ip.net] has joined #leaflet
[23:37:43] -!- stsy has quit [Remote host closed the connection]
[23:46:57] -!- gabewillen has quit [Quit: gabewillen]
[23:52:22] -!- ravenlock has quit [Quit: Leaving]