#leaflet | Logs for 2014-11-04

Back
[00:02:22] -!- EW57 has quit [Ping timeout: 246 seconds]
[00:04:36] -!- tocka [tocka!~tocka@customers.shefq4.resi.ask4.co.uk] has joined #leaflet
[00:11:02] -!- tocka has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[00:15:03] -!- rob_h has quit [Ping timeout: 255 seconds]
[00:18:33] -!- tjb1 has quit [Read error: Connection reset by peer]
[00:22:52] -!- gennro has quit [Ping timeout: 240 seconds]
[00:24:09] -!- PetefromTn_ has quit [Quit: I'm Outta here!!]
[00:39:01] postaL_offline is now known as postaL
[00:41:06] -!- zeeshan` has quit [Quit: Page closed]
[00:49:48] -!- micges-dev has quit [Quit: Wychodzi]
[00:51:49] -!- tocka [tocka!~tocka@customers.shefq4.resi.ask4.co.uk] has joined #leaflet
[00:51:49] -!- tocka has quit [Client Quit]
[00:55:02] -!- Nick001-shop has quit [Quit: ChatZilla 0.9.91 [Firefox 30.0/20140605174243]]
[01:08:02] -!- asdfasd has quit [Ping timeout: 256 seconds]
[01:15:52] -!- gennro has quit [Ping timeout: 240 seconds]
[01:16:01] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[01:27:34] amnesic_away is now known as amnesic
[01:29:17] -!- tinkerer has quit [Client Quit]
[01:33:19] -!- sumpfralle has quit [Read error: Connection reset by peer]
[01:38:24] -!- Sigmac [Sigmac!~sigmac@73.37.247.104] has joined #leaflet
[01:46:05] -!- BellinganRoy has quit [Quit: Konversation terminated!]
[02:07:24] -!- Valen has quit [Quit: Leaving.]
[02:09:09] -!- Sigmac has quit [Quit: Leaving]
[02:17:07] -!- anarchos2 has quit [Read error: Connection reset by peer]
[02:29:52] -!- EW57 has quit [Quit: Page closed]
[02:40:48] amnesic is now known as amnesic_away
[02:50:32] -!- zzolo has quit [Quit: zzolo]
[03:07:04] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[03:08:24] -!- Miner_48er [Miner_48er!~Miner_48e@72.11.48.164] has joined #leaflet
[03:10:17] -!- sylphiae has quit [Ping timeout: 272 seconds]
[03:13:37] -!- skunkworks_ has quit [Ping timeout: 245 seconds]
[03:15:36] -!- jamesarm97 has quit [Ping timeout: 260 seconds]
[03:15:36] -!- LeelooMinai has quit [Ping timeout: 260 seconds]
[03:21:24] -!- asdfasd has quit [Ping timeout: 244 seconds]
[03:28:25] -!- sumpfralle has quit [Ping timeout: 244 seconds]
[03:31:11] -!- Komzzzpa has quit [Ping timeout: 256 seconds]
[03:34:41] -!- Komzzzpa [Komzzzpa!~kom@mm-71-245-57-86.leased.line.mgts.by] has joined #leaflet
[03:40:44] -!- Mr_Sheesh has quit [Read error: Connection reset by peer]
[03:47:39] -!- AR_ has quit [Ping timeout: 265 seconds]
[03:48:12] -!- gennro has quit [Ping timeout: 245 seconds]
[03:54:04] -!- Tecan has quit [Ping timeout: 256 seconds]
[04:12:52] -!- syyl_ has quit [Ping timeout: 240 seconds]
[04:18:17] -!- karavanjo has quit [Ping timeout: 264 seconds]
[04:28:50] -!- koo6 has quit [Ping timeout: 255 seconds]
[04:37:17] -!- Sigmac [Sigmac!~sigmac@73.37.247.104] has joined #leaflet
[04:37:42] postaL is now known as postaL_offline
[04:42:44] -!- Miner_48er has quit [Ping timeout: 245 seconds]
[04:42:59] -!- anarchos2 has quit [Read error: Connection reset by peer]
[04:43:13] -!- Miner_48er [Miner_48er!~Miner_48e@72.11.48.164] has joined #leaflet
[04:58:46] -!- EW57 has quit [Quit: Page closed]
[05:08:53] -!- amiri_ has quit [Read error: Connection reset by peer]
[05:09:16] -!- amiri [amiri!~amiri@cpe-104-174-60-215.socal.res.rr.com] has joined #leaflet
[05:22:55] -!- bjmorel_work has quit [Read error: Connection reset by peer]
[05:28:26] -!- JT-Shop has quit [Read error: Connection reset by peer]
[05:39:03] -!- ve7it has quit [Remote host closed the connection]
[05:50:31] -!- PetefromTn_andro has quit [Quit: Bye]
[05:54:01] -!- kb8wmc has quit [Quit: ChatZilla 0.9.91 [Firefox 20.0/20130329043827]]
[05:56:47] postaL_offline is now known as postaL
[06:01:32] -!- Fox_Muldr has quit [Ping timeout: 265 seconds]
[06:07:53] -!- yeahiiii has quit [Ping timeout: 265 seconds]
[06:08:02] -!- Connor_iPad has quit [Quit: I'm Gone!]
[06:15:50] -!- dan2k3k4 [dan2k3k4!~dan2k3k4@unaffiliated/dan2k3k4] has joined #leaflet
[06:18:55] -!- nickoe has quit [*.net *.split]
[06:20:40] -!- dan2k3k4 has quit [Ping timeout: 258 seconds]
[06:21:18] -!- dan2k3k4 [dan2k3k4!~dan2k3k4@unaffiliated/dan2k3k4] has joined #leaflet
[06:23:04] -!- dan2k3k4 has quit [Client Quit]
[06:23:47] -!- Sigmac has quit [Quit: Leaving]
[06:28:37] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[06:31:22] postaL is now known as postaL_offline
[06:31:54] postaL_offline is now known as postaL
[06:38:54] postaL is now known as postaL_offline
[06:42:08] nickoe_ is now known as nickoe
[06:45:54] -!- Tanz has quit [Quit: ChatZilla 0.9.91 [Firefox 33.0.2/20141027150301]]
[06:50:06] -!- steves_logging has quit [Ping timeout: 264 seconds]
[06:52:53] -!- dhoovie has quit [Read error: Connection reset by peer]
[06:57:44] -!- f1oat has quit [Ping timeout: 245 seconds]
[07:04:54] -!- kwallace2 has quit [Ping timeout: 244 seconds]
[07:10:24] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[07:16:22] -!- mle_ [mle_!~mle@bon31-1-81-56-86-173.fbx.proxad.net] has joined #leaflet
[07:27:37] -!- Lasper has quit [Quit: leaving]
[07:40:09] -!- gaute [gaute!d4fbe70b@gateway/web/freenode/session] has joined #leaflet
[07:45:50] -!- skunkworks has quit [Ping timeout: 256 seconds]
[07:57:34] -!- quiqua [quiqua!~quiqua@p5DDC57F8.dip0.t-ipconnect.de] has joined #leaflet
[07:58:20] -!- kengu has quit [Ping timeout: 244 seconds]
[08:11:27] -!- DaViruz has quit [Ping timeout: 258 seconds]
[08:12:47] -!- patricka_ [patricka_!~patrickar@2605:e000:180e:fd:90bf:f88e:5532:16ea] has joined #leaflet
[08:13:00] -!- patrickarlt has quit [Ping timeout: 265 seconds]
[08:23:56] -!- erictheise has quit [Quit: erictheise]
[08:29:06] -!- nofxx has quit [Ping timeout: 250 seconds]
[08:29:28] -!- Tecan has quit [Ping timeout: 256 seconds]
[08:56:42] -!- Miner_48er has quit [Quit: Leaving]
[08:57:48] -!- md-2 [md-2!~md-2@host86-148-105-114.range86-148.btcentralplus.com] has joined #leaflet
[09:06:44] -!- micges-dev has quit [Client Quit]
[09:21:34] -!- tocka [tocka!~tocka@80-193-72-2.paternoster.mezzonet.net] has joined #leaflet
[09:22:19] -!- anarchos2 has quit [Ping timeout: 245 seconds]
[09:36:23] -!- gaute has quit [Changing host]
[09:36:23] -!- gaute [gaute!d4fbe70b@gateway/web/freenode/ip.212.251.231.11] has joined #leaflet
[09:44:33] -!- bjm_ has quit [Read error: Connection reset by peer]
[09:59:08] -!- GJdan has quit [Quit: WeeChat 1.1-dev]
[10:00:20] -!- SpeedEvil has quit [Quit: No Ping reply in 180 seconds.]
[10:00:46] -!- b_b [b_b!~b_b@polyscenic.pck.nerim.net] has joined #leaflet
[10:00:52] -!- b_b has quit [Changing host]
[10:00:52] -!- b_b [b_b!~b_b@unaffiliated/b-b/x-7659960] has joined #leaflet
[10:05:56] -!- zbychuk has quit [Quit: leaving]
[10:41:51] -!- Loetmichel has quit [Ping timeout: 272 seconds]
[10:57:07] -!- anarchos2 has quit [Ping timeout: 255 seconds]
[11:14:58] -!- mle_ has quit [Ping timeout: 244 seconds]
[11:18:46] -!- arek_at_work [arek_at_work!~polcode@192.166.203.5] has joined #leaflet
[11:23:52] amnesic_away is now known as amnesic
[11:30:16] -!- tronwizard has quit [Ping timeout: 265 seconds]
[11:45:24] -!- sumpfralle has quit [Ping timeout: 250 seconds]
[12:07:26] -!- arek_at_work has quit [Quit: Konversation terminated!]
[12:09:26] -!- skunkworks_ has quit [Ping timeout: 244 seconds]
[12:16:14] amnesic is now known as amnesic_away
[12:26:07] Cylly is now known as Loetmichel
[12:34:35] -!- ITChap [ITChap!~syscowboy@112.0.89.75] has joined #leaflet
[13:07:56] -!- gaute has quit [Quit: Page closed]
[13:09:21] -!- md-2 has quit [Remote host closed the connection]
[13:11:02] amnesic_away is now known as amnesic
[13:23:22] -!- syyl_ has quit [Ping timeout: 265 seconds]
[13:31:25] -!- acdha [acdha!~acdha@shell.improbable.org] has joined #leaflet
[13:44:42] -!- BellinganRoy has quit [Quit: Konversation terminated!]
[13:48:22] -!- md-2 [md-2!~md-2@host86-148-105-114.range86-148.btcentralplus.com] has joined #leaflet
[13:58:33] amnesic is now known as amnesic_away
[14:00:00] -!- mle_ [mle_!~mle@mir31-1-82-224-13-158.fbx.proxad.net] has joined #leaflet
[14:03:34] -!- gennro has quit [Ping timeout: 245 seconds]
[14:03:59] -!- b_b has quit [Remote host closed the connection]
[14:15:53] -!- dan2k3k4 [dan2k3k4!~dan2k3k4@unaffiliated/dan2k3k4] has joined #leaflet
[14:46:37] amnesic_away is now known as amnesic
[14:49:57] postaL_offline is now known as postaL
[14:52:13] -!- mightym [mightym!~mightym@ip5b41d92f.dynamic.kabel-deutschland.de] has joined #leaflet
[15:00:28] -!- sylphiae has quit [Read error: Connection reset by peer]
[15:12:51] -!- phantoxeD has quit [Ping timeout: 244 seconds]
[15:13:53] amnesic is now known as amnesic_away
[15:14:28] -!- phantoneD has quit [Ping timeout: 265 seconds]
[15:16:00] -!- ITChap has quit [Ping timeout: 250 seconds]
[15:16:33] -!- ejb [ejb!~ejb@unaffiliated/ejb] has joined #leaflet
[15:25:46] amnesic_away is now known as amnesic
[15:31:12] postaL is now known as postaL_offline
[15:31:55] postaL_offline is now known as postaL
[15:37:05] -!- FreezingCold has quit [Ping timeout: 264 seconds]
[15:38:46] postaL is now known as postaL_offline
[15:39:29] postaL_offline is now known as postaL
[15:47:02] amnesic is now known as amnesic_away
[15:52:01] -!- jduhls [jduhls!~jduhls@67.58.77.166] has joined #leaflet
[15:56:10] -!- johtso [johtso!uid563@gateway/web/irccloud.com/x-xlvhentgrrqsbpks] has joined #leaflet
[16:00:29] -!- kwallace has quit [Ping timeout: 264 seconds]
[16:14:36] -!- dan2k3k4 has quit [Quit: Leaving]
[16:14:56] -!- mle_ has quit [Ping timeout: 250 seconds]
[16:15:42] -!- jduhls has quit [Ping timeout: 245 seconds]
[16:16:32] -!- jduhls [jduhls!~jduhls@97.67.186.90] has joined #leaflet
[16:17:15] -!- syyl_ws has quit [Read error: Connection reset by peer]
[16:20:16] -!- syyl_ws has quit [Read error: Connection reset by peer]
[16:20:32] postaL is now known as postaL_offline
[16:24:47] -!- syyl_ws has quit [Read error: Connection reset by peer]
[16:26:12] -!- jwasilkowski [jwasilkowski!~jwasilkow@198.102.36.250] has joined #leaflet
[16:26:33] -!- balestrino has quit [Ping timeout: 250 seconds]
[16:29:17] -!- syyl_ws has quit [Read error: Connection reset by peer]
[16:29:51] -!- vapula has quit [Quit: Leaving]
[16:31:09] -!- jerryitt [jerryitt!uid17132@gateway/web/irccloud.com/x-hdclmenxyzxticbb] has joined #leaflet
[16:33:18] -!- syyl_ws has quit [Read error: Connection reset by peer]
[16:34:52] postaL_offline is now known as postaL
[16:38:16] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[16:38:49] -!- guest___ has quit [Ping timeout: 246 seconds]
[16:43:10] -!- kwallace2 has quit [Ping timeout: 255 seconds]
[16:44:50] -!- syyl_ws has quit [Read error: Connection reset by peer]
[16:46:11] postaL is now known as postaL_offline
[16:46:17] -!- ejb has quit [Quit: ZZZzzz…]
[16:46:49] -!- ejb [ejb!~ejb@unaffiliated/ejb] has joined #leaflet
[16:48:30] -!- syyl_ws has quit [Read error: Connection reset by peer]
[16:49:22] -!- jduhls has quit [Ping timeout: 240 seconds]
[16:50:13] -!- jduhls [jduhls!~jduhls@97.67.186.90] has joined #leaflet
[16:53:31] -!- PetefromTn_ has quit [Ping timeout: 255 seconds]
[16:58:25] -!- t4nk902 has quit [Ping timeout: 246 seconds]
[16:58:52] -!- marvi has quit [Ping timeout: 265 seconds]
[16:59:49] -!- quiqua has quit [Quit: quiqua]
[17:02:07] -!- marvi [marvi!~marvi@pdpc/supporter/active/marvi] has joined #leaflet
[17:04:54] -!- syyl_ws has quit [Read error: Connection reset by peer]
[17:07:02] -!- FreezingCold has quit [Remote host closed the connection]
[17:07:27] -!- acdha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[17:07:51] -!- ejb has quit [Quit: ZZZzzz…]
[17:07:55] -!- jvrousseau [jvrousseau!~jvroussea@outgoing.norman.wdtinc.com] has joined #leaflet
[17:08:54] -!- emc428 has quit [Client Quit]
[17:11:03] postaL_offline is now known as postaL
[17:14:28] postaL is now known as postaL_offline
[17:15:26] -!- syyl_ws has quit [Read error: Connection reset by peer]
[17:15:32] postaL_offline is now known as postaL
[17:17:01] -!- jduhls has quit [Quit: Leaving]
[17:19:26] -!- syyl_ws has quit [Read error: Connection reset by peer]
[17:21:27] -!- syyl_ws has quit [Read error: Connection reset by peer]
[17:22:51] -!- gonzo_ has quit [Ping timeout: 255 seconds]
[17:25:28] -!- syyl_ws has quit [Read error: Connection reset by peer]
[17:25:32] -!- mle_ [mle_!~mle@bon31-1-81-56-86-173.fbx.proxad.net] has joined #leaflet
[17:27:28] -!- syyl_ws has quit [Read error: Connection reset by peer]
[17:31:59] -!- syyl_ws has quit [Read error: Connection reset by peer]
[17:37:30] -!- syyl_ws has quit [Read error: Connection reset by peer]
[17:45:22] -!- mle_ has quit [Ping timeout: 256 seconds]
[17:45:24] -!- pingufan has quit [Quit: Konversation terminated!]
[17:51:44] -!- pingufan has quit [Quit: Konversation terminated!]
[17:59:02] -!- jasen has quit [Quit: Page closed]
[18:05:46] -!- FreezingCold has quit [Ping timeout: 256 seconds]
[18:06:29] -!- mightym has quit [Read error: Connection reset by peer]
[18:14:03] -!- skorasaurus [skorasaurus!~skors@adsl-70-239-11-176.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[18:18:01] -!- md-2 has quit [Quit: Leaving...]
[18:19:04] -!- dnaleromj has quit [Quit: Dang. Where did dnaleromj's computer go?]
[18:21:18] -!- coihue [coihue!~andres@host33.190-139-66.telecom.net.ar] has joined #leaflet
[18:22:38] -!- chillly [chillly!~chris@static-87-102-95-199.karoo.kcom.com] has joined #leaflet
[18:30:23] -!- phantoxe has quit []
[18:33:50] -!- b_b [b_b!~b_b@polyscenic.pck.nerim.net] has joined #leaflet
[18:33:52] -!- b_b has quit [Changing host]
[18:33:52] -!- b_b [b_b!~b_b@unaffiliated/b-b/x-7659960] has joined #leaflet
[18:34:52] -!- erictheise [erictheise!~erictheis@75-101-62-3.dsl.static.fusionbroadband.com] has joined #leaflet
[18:39:44] -!- balestrino has quit [Ping timeout: 258 seconds]
[18:45:38] -!- Miner_48er [Miner_48er!~Miner_48e@216.237.197.212] has joined #leaflet
[18:45:59] -!- dnaleromj has quit [Quit: Dang. Where did dnaleromj's computer go?]
[18:54:54] -!- syyl has quit [Ping timeout: 264 seconds]
[19:13:41] -!- FreezingCold has quit [Remote host closed the connection]
[19:15:03] -!- dnaleromj has quit [Quit: Dang. Where did dnaleromj's computer go?]
[19:15:30] -!- coihue [coihue!~andres@host33.190-139-66.telecom.net.ar] has parted #leaflet
[19:23:39] -!- acdha [acdha!~acdha@shell.improbable.org] has joined #leaflet
[19:43:17] -!- syyl_ws has quit [Quit: Verlassend]
[19:57:31] -!- jasen has quit [Quit: Page closed]
[19:59:03] -!- jwasilkowski has quit [Quit: Leaving]
[20:00:08] -!- skorasaurus has quit [Quit: WeeChat 1.0.1]
[20:00:33] -!- acdha has quit [Remote host closed the connection]
[20:03:27] -!- acdha [acdha!~acdha@shell.improbable.org] has joined #leaflet
[20:07:01] -!- Komzzzpa has quit [Ping timeout: 255 seconds]
[20:08:02] -!- Komzzzpa [Komzzzpa!~kom@mm-71-245-57-86.leased.line.mgts.by] has joined #leaflet
[20:22:05] -!- kwallace has quit [Read error: Connection reset by peer]
[20:22:06] -!- kwallace2 has quit [Read error: Connection reset by peer]
[20:22:14] -!- zzolo [zzolo!~zzolo@c-75-72-166-46.hsd1.mn.comcast.net] has joined #leaflet
[20:23:53] -!- acdha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[20:28:46] -!- LeelooMinai_ has quit []
[20:29:45] -!- skorasaurus [skorasaurus!~skors@adsl-70-239-11-176.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[20:32:15] -!- Tecan has quit [Ping timeout: 250 seconds]
[20:37:01] -!- swingley_ has quit [Ping timeout: 260 seconds]
[20:41:13] -!- skunkworks has quit [Read error: Connection reset by peer]
[20:49:45] -!- GJdan [GJdan!~dan@d154-20-234-134.bchsia.telus.net] has joined #leaflet
[20:54:29] -!- nofxx has quit [Ping timeout: 264 seconds]
[20:56:59] -!- motioncontrol has quit [Quit: Sto andando via]
[21:05:03] -!- b_b has quit [Remote host closed the connection]
[21:07:06] -!- jduhls [jduhls!~jduhls@75.76.125.132] has joined #leaflet
[21:07:43] -!- jduhls has quit [Remote host closed the connection]
[21:17:01] -!- dnaleromj has quit [Quit: Dang. Where did dnaleromj's computer go?]
[21:17:44] -!- Miner_48er has quit [Ping timeout: 245 seconds]
[21:19:26] -!- Miner_48er [Miner_48er!~Miner_48e@216.237.197.212] has joined #leaflet
[21:27:11] -!- nofxx has quit [Remote host closed the connection]
[21:31:41] -!- raymondhim has quit [Read error: Connection reset by peer]
[21:32:23] -!- Miner_48er has quit [Ping timeout: 244 seconds]
[21:37:10] -!- yeahiiii has quit [Quit: yeahiiii]
[21:46:18] -!- dhoovie has quit [Read error: Connection reset by peer]
[21:46:31] -!- balestrino has quit [Ping timeout: 265 seconds]
[21:50:54] -!- PetefromTn_ has quit [Quit: I'm Outta here!!]
[21:51:21] -!- kwallace has quit [Ping timeout: 265 seconds]
[21:51:29] -!- kwallace1 has quit [Ping timeout: 264 seconds]
[21:51:30] -!- txp [txp!~txp@unaffiliated/txp] has joined #leaflet
[21:57:20] -!- tomkralidis [tomkralidis!~tomkralid@osgeo/member/tomkralidis] has joined #leaflet
[21:59:12] -!- FinboySlick has quit [Quit: Leaving.]
[22:00:14] -!- eFuchs has quit [Client Quit]
[22:00:56] -!- eFuchs has quit [Client Quit]
[22:01:04] -!- f1oat has quit [Ping timeout: 245 seconds]
[22:01:27] <tomkralidis> hi, I'm using fitBounds(geojson_layer.getBounds()). It looks like calling this triggers another call to the server to get the data, again. Is there a way to do fitBounds without firing another req?
[22:06:09] <patricka_> tomkralidis: leaflet doesn;t have any request handling code are you sure the request isnt fired after the map moves
[22:11:39] <tomkralidis> patricka_: good point, will check, thx
[22:16:44] -!- Deejay has quit [Quit: bye]
[22:16:54] -!- sumpfralle has quit [Ping timeout: 265 seconds]
[22:22:19] -!- cYmen [cYmen!~simon@squint.a-oben.org] has joined #leaflet
[22:22:24] <cYmen> Hey leaflet people!
[22:22:58] <cYmen> I'm looking for an example of how to set up a map in onload which will then be updated (some layers of it) in a timed function.
[22:23:36] <cYmen> I've been trying with the docs for a while now but can't seem to find out how to properly add everything to a layers control and the map and remove it again and so on...
[22:23:58] <cYmen> So since this seems like a pretty common thing to do, if anybody had an example that would be great. :)
[22:24:43] <patricka_> cYmen: are you trying to dynamically add/remove things from the map or the layers control?
[22:25:34] <cYmen> patricka_: I am trying to add remove them from the map.
[22:25:38] -!- chillly has quit [Quit: Ex-Chat]
[22:25:55] <patricka_> right but what is "them" is it the layer control or the layers themselves?
[22:25:55] <cYmen> The first way that seemed reasonable was to remove the layer so I also have to remove it from the control.
[22:26:00] -!- txp has quit [Quit: Leaving]
[22:26:01] -!- tomkralidis has quit [Quit: ChatZilla 0.9.91 [Firefox 33.0.2/20141027150301]]
[22:26:02] <cYmen> But that's probably a shitty way to do it
[22:26:20] <cYmen> patricka_: the layers themselves
[22:26:35] <patricka_> if you want to remove a layer from the map you can just do map.removeLayer(layer)
[22:27:04] <cYmen> Will that remove it from the layers control as well?
[22:27:26] <patricka_> i dont think it will remove the text from teh control but the state in the layer control should update
[22:27:35] <patricka_> checkbox/radiobutton
[22:27:39] <cYmen> hm...
[22:27:53] <patricka_> http://leafletjs.com/reference.html#control-layers-removelayer
[22:28:10] <patricka_> looks liek L.control.layers has a removeLayer option you can call
[22:28:16] <cYmen> Yeah, I'm doing that.
[22:28:24] <cYmen> But it still keeps filling up the control with layers.
[22:28:44] <patricka_> would help to see same code? do you have a js fiddle
[22:28:52] <cYmen> I have probably misunderstood some concepts that's why I was hoping for an example.
[22:28:53] <patricka_> im not really sure what you are trying to achive
[22:29:09] <cYmen> patricka_: Basically, read a file every two seconds and draw the contents on a map.
[22:29:40] <patricka_> right so you have to call control.removeLayer(oldStuff) and map.removeLayer(oldStuff)
[22:30:00] <patricka_> to remove it from the control AND the map
[22:32:09] <cYmen> Hm...
[22:32:25] <cYmen> No something is broken and the layer control doesn't open anymore.
[22:32:44] <cYmen> Guess I'll need an unminified leaflet to debug this.
[22:32:57] <patricka_> just reference leaflet-src.js from the CDN
[22:33:08] <patricka_> then you can at least get a line number
[22:33:35] -!- jvrousseau has quit [Quit: (null)]
[22:35:08] -!- eFuchs has quit [Remote host closed the connection]
[22:36:12] <patricka_> cYmen: best thing to do would be to try to recreate this in a JS Fiddle
[22:36:53] <cYmen> Yeah, I've been thinking about that.
[22:37:04] <cYmen> I'll try.
[22:42:15] -!- Gabriel_ has quit [Quit: Leaving]
[22:46:19] -!- Tom_L has quit [Client Quit]
[22:49:32] <cYmen> patricka_: http://jsfiddle.net/rxktvddh/
[22:49:55] <cYmen> It looks roughly like this but right now it's complaining about AddBaseLayer.
[22:50:24] <cYmen> oh wrong caps
[22:50:28] * cYmen is too tired.
[22:52:36] <patricka_> ok so what is the bug you are seeing? no tiles?
[22:52:46] <cYmen> TypeError: i is undefined in leaflet.js:6 is what I'm getting locally.
[22:55:02] <cYmen> gah.
[22:55:03] <patricka_> im not seeing that. http://jsfiddle.net/rxktvddh/1/
[22:55:19] <patricka_> fixed addBaseLayer and changed tiles to osm
[22:55:42] <cYmen> Yeah, I'm just getting it locally.
[22:55:55] <cYmen> So I guess I must have some unrelated code that screws up something in leaflet.
[23:00:14] -!- dnaleromj has quit [Quit: Dang. Where did dnaleromj's computer go?]
[23:04:18] <cYmen> patricka_: I have to stop. Too tired. But I think I have narrowed it down somewhat. Thanks for your help!
[23:07:46] <cYmen> Maybe one other question. When I add and remove layers this way the information whether the layer is visible or not is lost. Do I have to track this manually or is there a generally better way to update maps?
[23:12:55] -!- skorasaurus has quit [Ping timeout: 264 seconds]
[23:14:42] <patricka_> cYmen: no you can just go map.hasLayer(layer) and the map will tell you if the layer is on the map or not
[23:15:34] <cYmen> patricka_: Right, but how would I update the polygons in a layer without removing it?
[23:16:21] <patricka_> doesn't matter you can still layer.setLatLngs(whatever) and leaflet will draw it correctly when it gets added back to the map
[23:16:47] <patricka_> if its on the map it will update otherwise it will update next time it gets added to the map
[23:19:25] <cYmen> I'm looking at the docs for the geojson layer but I can't figure out how to recreate it when the data has changed.
[23:20:20] <patricka_> just make a new one
[23:20:38] <patricka_> you can really remove data from a geojson layer so just remove it and make a new one
[23:21:08] -!- tinkerer has quit [Quit: Leaving.]
[23:21:30] <cYmen> okay, thanks
[23:22:00] <cYmen> Thanks for the great support!
[23:22:10] <cYmen> And good night!
[23:31:43] -!- mk0 has quit [Quit: Leaving]
[23:46:29] postaL is now known as postaL_offline
[23:51:59] -!- tocka has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[23:55:50] -!- SolarNRG has quit []