#leaflet | Logs for 2014-10-13

Back
[00:09:14] -!- erve [erve!~erve@105-237-165-169.access.mtnbusiness.co.za] has joined #leaflet
[00:13:24] -!- erve has quit [Ping timeout: 244 seconds]
[00:14:00] -!- asdfasd has quit [Ping timeout: 258 seconds]
[00:17:30] -!- Tomashe has quit [Ping timeout: 246 seconds]
[00:27:07] -!- micges-dev has quit [Ping timeout: 255 seconds]
[00:46:47] -!- micges-dev1 has quit [Quit: Wychodzi]
[01:05:47] amnesic_away is now known as amnesic
[01:06:21] amnesic is now known as amnesic_away
[01:09:49] -!- erve [erve!~erve@105-237-165-169.access.mtnbusiness.co.za] has joined #leaflet
[01:10:11] -!- FinboySlick has quit [Quit: Leaving.]
[01:14:24] -!- erve has quit [Ping timeout: 260 seconds]
[01:18:22] -!- maZer`- has quit [Ping timeout: 240 seconds]
[01:26:32] -!- fablab has quit [Ping timeout: 260 seconds]
[01:27:49] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[01:54:56] -!- FreezingCold has quit [Ping timeout: 255 seconds]
[02:10:17] -!- erve [erve!~erve@105-237-165-169.access.mtnbusiness.co.za] has joined #leaflet
[02:15:20] -!- erve has quit [Ping timeout: 244 seconds]
[02:24:13] -!- mlilenium_ [mlilenium_!~mlilenium@178.251.136.142] has joined #leaflet
[02:24:19] -!- mlilenium_ [mlilenium_!~mlilenium@178.251.136.142] has parted #leaflet
[02:24:46] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[02:35:51] -!- zzolo has quit [Quit: zzolo]
[03:00:20] -!- PetefromTn_andro has quit [Read error: Connection reset by peer]
[03:06:22] -!- zeitue has quit [Ping timeout: 272 seconds]
[03:11:19] -!- erve [erve!~erve@105-237-165-169.access.mtnbusiness.co.za] has joined #leaflet
[03:16:19] -!- erve has quit [Ping timeout: 255 seconds]
[03:25:49] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[03:27:29] -!- AR_ has quit [Ping timeout: 260 seconds]
[03:29:33] -!- tjtr33 has quit [Quit: Leaving]
[03:35:30] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[03:35:37] FreezingAlt is now known as FreezingCold
[03:35:42] -!- gammax has quit [Changing host]
[03:35:43] -!- gammax has quit [Changing host]
[03:46:31] -!- zzolo has quit [Quit: zzolo]
[03:46:34] -!- PetefromTn_andro has quit [Quit: Bye]
[03:47:22] -!- syyl_ has quit [Ping timeout: 255 seconds]
[04:05:17] -!- tronwizard has quit [Ping timeout: 245 seconds]
[04:07:59] postaL_offline is now known as postaL
[04:08:29] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[04:12:19] -!- erve [erve!~erve@105-237-165-169.access.mtnbusiness.co.za] has joined #leaflet
[04:14:17] -!- zzolo has quit [Quit: zzolo]
[04:17:09] -!- erve has quit [Ping timeout: 255 seconds]
[04:26:57] -!- karavanjo_ has quit [Ping timeout: 272 seconds]
[04:40:41] -!- ve7it has quit [Remote host closed the connection]
[04:55:03] -!- anth0ny [anth0ny!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[04:59:40] postaL is now known as postaL_offline
[05:02:36] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[05:09:18] -!- ktchk has quit [Client Quit]
[05:11:52] -!- FreezingCold has quit [Ping timeout: 240 seconds]
[05:36:42] -!- karavanjo [karavanjo!~kvirc@leased-line-brest-91-149-154-34.brest.telecom.by] has joined #leaflet
[05:39:32] -!- Felix29 has quit []
[05:43:08] -!- anth0ny has quit [Quit: anth0ny]
[05:51:06] -!- Tecan has quit [Ping timeout: 240 seconds]
[05:54:50] -!- Lathe_newbie has quit [Ping timeout: 272 seconds]
[06:01:19] -!- erve [erve!~erve@105-237-165-169.access.mtnbusiness.co.za] has joined #leaflet
[06:03:11] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[06:10:57] -!- FinboySlick has quit [Quit: Leaving.]
[06:21:07] -!- archivist_herron has quit [Ping timeout: 245 seconds]
[06:57:04] -!- quiqua [quiqua!~quiqua@p5DDC60F3.dip0.t-ipconnect.de] has joined #leaflet
[07:08:07] -!- md-2 [md-2!~md-2@host86-181-178-249.range86-181.btcentralplus.com] has joined #leaflet
[07:20:22] -!- skunkworks_ has quit [Ping timeout: 240 seconds]
[07:20:40] -!- gammax has quit [Ping timeout: 246 seconds]
[07:22:08] -!- nofxx has quit [Ping timeout: 260 seconds]
[07:40:45] -!- amiri_ [amiri_!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[07:44:33] -!- amiri has quit [Ping timeout: 272 seconds]
[07:59:52] -!- shurshur has quit [Ping timeout: 240 seconds]
[08:29:04] -!- balestrino has quit [Ping timeout: 255 seconds]
[08:32:25] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[08:33:45] -!- GJdan has quit [Quit: WeeChat 1.1-dev]
[09:00:46] -!- shurshur [shurshur!~chatzilla@broadband-178-140-134-162.nationalcablenetworks.ru] has joined #leaflet
[09:13:10] -!- syyl_ws has quit [Quit: Verlassend]
[09:15:56] -!- Lathe_newbie has quit [Ping timeout: 255 seconds]
[09:23:16] -!- cox has quit [Read error: Connection reset by peer]
[09:50:30] -!- karavanjo_ [karavanjo_!~kvirc@176.60.22.246] has joined #leaflet
[09:53:59] -!- karavanjo has quit [Ping timeout: 258 seconds]
[10:03:03] Cylly is now known as Loetmichel
[10:10:18] -!- arek_at_work [arek_at_work!~polcode@192.166.203.5] has joined #leaflet
[10:50:16] -!- phantoxe has quit [Ping timeout: 260 seconds]
[11:00:05] -!- karavanjo [karavanjo!~kvirc@176.60.22.246] has joined #leaflet
[11:00:05] -!- karavanjo_ has quit [Read error: Connection reset by peer]
[11:00:45] phantone is now known as phantoxe
[11:01:11] -!- karavanjo_ [karavanjo_!~kvirc@176.60.22.246] has joined #leaflet
[11:01:11] -!- karavanjo has quit [Read error: Connection reset by peer]
[11:06:56] -!- md-2 has quit [Remote host closed the connection]
[11:07:22] -!- md-2 [md-2!~md-2@host86-181-178-249.range86-181.btcentralplus.com] has joined #leaflet
[11:07:24] -!- md-2 has quit [Remote host closed the connection]
[11:07:30] -!- md-2 [md-2!~md-2@host86-181-178-249.range86-181.btcentralplus.com] has joined #leaflet
[11:10:10] -!- rebecca has quit [Ping timeout: 250 seconds]
[11:14:32] -!- karavanjo [karavanjo!~kvirc@176.60.43.68] has joined #leaflet
[11:15:08] -!- johtso [johtso!uid563@gateway/web/irccloud.com/x-rwbqafwzljfqhpnf] has joined #leaflet
[11:15:45] -!- md2 [md2!~md-2@94.197.121.29.threembb.co.uk] has joined #leaflet
[11:16:17] md2 is now known as Guest95953
[11:16:54] -!- karavanjo_ has quit [Ping timeout: 246 seconds]
[11:18:42] -!- md-2 has quit [Ping timeout: 258 seconds]
[11:23:05] -!- karavanjo has quit [Read error: Connection reset by peer]
[11:23:18] -!- karavanjo [karavanjo!~kvirc@176.60.43.68] has joined #leaflet
[11:27:52] -!- shurshur has quit [Ping timeout: 240 seconds]
[11:30:30] -!- karavanjo has quit [Ping timeout: 255 seconds]
[11:31:30] -!- karavanjo [karavanjo!~kvirc@leased-line-brest-91-149-154-34.brest.telecom.by] has joined #leaflet
[11:32:27] -!- shurshur [shurshur!~chatzilla@79.165.217.36] has joined #leaflet
[11:36:11] -!- karavanjo_ [karavanjo_!~kvirc@176.60.43.68] has joined #leaflet
[11:38:31] -!- karavanjo has quit [Ping timeout: 255 seconds]
[11:44:28] -!- karavanjo [karavanjo!~kvirc@176.60.22.2] has joined #leaflet
[11:47:42] -!- karavanjo_ has quit [Ping timeout: 246 seconds]
[12:00:44] -!- md-2 [md-2!~md-2@cpc2-belc6-2-0-cust205.2-1.cable.virginm.net] has joined #leaflet
[12:03:49] -!- Guest95953 has quit [Ping timeout: 244 seconds]
[12:09:20] -!- `Nerobro has quit [Read error: Connection reset by peer]
[12:14:18] -!- sumpfralle has quit [Ping timeout: 250 seconds]
[12:19:20] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[12:19:44] -!- TekniQue has quit [Read error: Connection reset by peer]
[12:19:53] -!- b_b has quit [Changing host]
[12:19:53] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[12:20:52] -!- schimmi has quit [Ping timeout: 240 seconds]
[12:22:53] -!- roh has quit [Ping timeout: 240 seconds]
[12:23:01] -!- Komzzpa [Komzzpa!~kom@mm-71-245-57-86.leased.line.mgts.by] has joined #leaflet
[12:23:12] -!- Katharsis has quit [Ping timeout: 245 seconds]
[12:23:12] -!- BlaDe^ has quit [Ping timeout: 245 seconds]
[12:23:12] -!- hendrik has quit [Ping timeout: 245 seconds]
[12:23:12] -!- taruti has quit [Ping timeout: 245 seconds]
[12:23:29] -!- The_Ball has quit [Ping timeout: 258 seconds]
[12:23:37] -!- putnik has quit [Ping timeout: 245 seconds]
[12:23:57] -!- Katharsis [Katharsis!~Katharsis@s42.linuxpl.com] has joined #leaflet
[12:23:59] -!- hendrik [hendrik!~hendrik@stendhalgame.org] has joined #leaflet
[12:24:04] -!- taruti [taruti!taruti@ultra.violetti.org] has joined #leaflet
[12:24:08] -!- BlaDe^ [BlaDe^!~Martin@static.74.124.47.78.clients.your-server.de] has joined #leaflet
[12:24:23] hendrik is now known as Guest43632
[12:24:23] -!- putnik [putnik!~putnik@static.241.22.251.148.clients.your-server.de] has joined #leaflet
[12:24:23] -!- putnik has quit [Changing host]
[12:24:23] -!- putnik [putnik!~putnik@wikimedia/putnik] has joined #leaflet
[12:26:52] -!- Komzpa has quit [Ping timeout: 240 seconds]
[12:27:08] -!- schimmi [schimmi!~schimmi@limoia.com] has joined #leaflet
[12:37:06] -!- syyl_ has quit [Ping timeout: 240 seconds]
[12:58:37] -!- vapula has quit [Remote host closed the connection]
[13:04:52] -!- jerryitt [jerryitt!uid17132@gateway/web/irccloud.com/x-pdhcgyhgcpilxjoc] has joined #leaflet
[13:15:16] -!- anomynous has quit [Ping timeout: 255 seconds]
[13:17:44] -!- zeitue has quit [Quit: Leaving]
[13:26:13] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[13:40:13] -!- nofxx has quit [Changing host]
[13:45:44] -!- karavanjo has quit [Ping timeout: 260 seconds]
[14:01:23] -!- sumpfralle has quit [Ping timeout: 272 seconds]
[14:11:02] -!- jduhls [jduhls!~jduhls@67.58.77.166] has joined #leaflet
[14:15:40] postaL_offline is now known as postaL
[14:18:07] -!- mozmck has quit [Read error: Connection reset by peer]
[14:21:14] -!- md-2 has quit [Remote host closed the connection]
[14:21:49] -!- md-2 [md-2!~md-2@cpc2-belc6-2-0-cust205.2-1.cable.virginm.net] has joined #leaflet
[14:22:36] -!- md-2 has quit [Read error: No route to host]
[14:22:59] -!- md-2 [md-2!~md-2@cpc2-belc6-2-0-cust205.2-1.cable.virginm.net] has joined #leaflet
[14:27:59] -!- FreezingCold has quit [Ping timeout: 272 seconds]
[14:36:59] amnesic_away is now known as amnesic
[14:37:03] -!- patrickarlt [patrickarlt!~patrickar@2605:e000:180e:fd:3880:989a:6769:1e70] has joined #leaflet
[14:37:51] -!- Katharsis has quit [Changing host]
[14:37:51] -!- Katharsis [Katharsis!~Katharsis@unaffiliated/katharsis] has joined #leaflet
[14:42:42] -!- anomynous has quit [Ping timeout: 246 seconds]
[14:48:45] tronwzrd is now known as tronwizard
[15:04:13] -!- zeeshan has quit [Ping timeout: 260 seconds]
[15:06:55] -!- summatusmentis [summatusmentis!~summatusm@162.243.109.5] has parted #leaflet
[15:12:27] -!- asdfasd has quit [Ping timeout: 246 seconds]
[15:12:56] -!- karavanjo [karavanjo!~kvirc@176.60.22.2] has joined #leaflet
[15:16:44] -!- jduhls has quit [Ping timeout: 260 seconds]
[15:16:45] -!- sumpfralle has quit [Ping timeout: 272 seconds]
[15:16:53] -!- karavanjo_ [karavanjo_!~kvirc@178.122.201.201] has joined #leaflet
[15:18:36] -!- uwe_ has quit [Ping timeout: 260 seconds]
[15:19:02] -!- karavanjo has quit [Ping timeout: 245 seconds]
[15:22:44] -!- vapula has quit [Quit: Leaving]
[15:24:54] -!- FreezingCold has quit [Read error: Connection reset by peer]
[15:26:37] -!- uwe_ has quit [Client Quit]
[15:28:08] -!- amiri_ has quit [Remote host closed the connection]
[15:32:08] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[15:33:40] -!- amiri [amiri!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[15:34:16] -!- md2 [md2!~md-2@92.40.249.19.threembb.co.uk] has joined #leaflet
[15:34:40] md2 is now known as Guest23367
[15:36:34] -!- md-2 has quit [Ping timeout: 255 seconds]
[15:37:12] -!- sirdancealot has quit [Ping timeout: 244 seconds]
[15:48:59] -!- skorasaurus [skorasaurus!~skors@192.171.20.175] has joined #leaflet
[15:52:40] -!- PetefromTn_ has quit [Quit: I'm Outta here!!]
[16:03:04] -!- moorbo has quit []
[16:04:06] -!- quiqua has quit [Quit: quiqua]
[16:09:06] -!- FreezingCold has quit [Read error: Connection reset by peer]
[16:18:12] -!- rob_h has quit [Ping timeout: 245 seconds]
[16:18:17] -!- somenewguy has quit [Quit: WeeChat 1.0]
[16:24:02] -!- toastyde1th has quit [Ping timeout: 245 seconds]
[16:25:58] postaL is now known as postaL_offline
[16:27:45] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[16:31:47] -!- md-2 [md-2!~md-2@host86-181-178-249.range86-181.btcentralplus.com] has joined #leaflet
[16:32:04] -!- phantoxe has quit []
[16:35:36] -!- Guest23367 has quit [Ping timeout: 260 seconds]
[16:36:29] -!- pcw_home has quit [Ping timeout: 258 seconds]
[16:42:06] -!- maZer`- has quit [Remote host closed the connection]
[16:43:57] -!- anth0ny [anth0ny!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[16:45:12] -!- anth0ny has quit [Client Quit]
[16:53:05] -!- skorasaurus has quit [Read error: Connection reset by peer]
[16:53:08] -!- skorasaurus2 [skorasaurus2!~skors@192.171.20.175] has joined #leaflet
[16:58:00] -!- balestrino has quit [Ping timeout: 260 seconds]
[16:58:33] -!- sliptonic has quit [Read error: Connection reset by peer]
[16:58:42] -!- zzolo has quit [Quit: zzolo]
[17:01:15] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[17:07:22] -!- f1oat has quit [Ping timeout: 245 seconds]
[17:11:36] -!- FreezingCold has quit [Ping timeout: 255 seconds]
[17:22:44] -!- skorasaurus2 has quit [Ping timeout: 260 seconds]
[17:27:17] -!- JesusAlos has quit [Quit: ChatZilla 0.9.91 [Firefox 32.0.3/20140923175406]]
[17:27:35] postaL_offline is now known as postaL
[17:30:59] -!- rythmnbls has quit [Remote host closed the connection]
[17:31:58] -!- GJdan [GJdan!~dan@d154-20-234-134.bchsia.telus.net] has joined #leaflet
[17:35:20] -!- karavanjo [karavanjo!~kvirc@178.122.100.182] has joined #leaflet
[17:37:33] -!- SpeedEvil has quit [Quit: No Ping reply in 180 seconds.]
[17:38:36] -!- karavanjo_ has quit [Ping timeout: 260 seconds]
[17:43:06] -!- cox has quit [Ping timeout: 240 seconds]
[17:47:17] -!- eFuchs_firefly has quit [Quit: ping timeout]
[18:13:08] -!- FreezingCold has quit [Ping timeout: 260 seconds]
[18:20:25] -!- fablab has quit [Quit: WeeChat 0.4.2]
[18:32:48] -!- TheZealous has quit []
[18:33:18] -!- helmantikos has quit [Client Quit]
[18:43:56] -!- micges-dev has quit [Ping timeout: 260 seconds]
[19:06:17] -!- Tomashe [Tomashe!~Tomashe@bzq-79-180-163-163.red.bezeqint.net] has joined #leaflet
[19:13:24] -!- gammax has quit [Quit: Page closed]
[19:14:10] -!- arek_at_work has quit [Quit: Konversation terminated!]
[19:16:19] amnesic is now known as amnesic_away
[19:16:46] -!- sylphiae has quit [Ping timeout: 240 seconds]
[19:17:49] -!- FreezingCold has quit [Ping timeout: 244 seconds]
[19:20:33] -!- md-2 has quit [Remote host closed the connection]
[19:20:59] -!- md-2 [md-2!~md-2@host86-181-178-249.range86-181.btcentralplus.com] has joined #leaflet
[19:21:02] -!- md-2 has quit [Remote host closed the connection]
[19:21:08] -!- md2 [md2!~md-2@host86-181-178-249.range86-181.btcentralplus.com] has joined #leaflet
[19:21:32] md2 is now known as Guest39255
[19:21:52] -!- Guest39255 has quit [Client Quit]
[19:31:14] -!- skunkworks_ has quit [Ping timeout: 272 seconds]
[19:49:38] -!- asah has quit [Quit: asah]
[19:54:35] Guest43632 is now known as hendrik
[19:54:57] -!- erve has quit [Remote host closed the connection]
[19:55:24] -!- erve [erve!~erve@105-237-165-169.access.mtnbusiness.co.za] has joined #leaflet
[19:59:03] -!- karavanjo has quit [Remote host closed the connection]
[19:59:42] -!- erve has quit [Ping timeout: 250 seconds]
[20:01:11] -!- copec has quit [Quit: checkity check out.]
[20:02:49] -!- karavanjo [karavanjo!~kvirc@178.122.100.182] has joined #leaflet
[20:05:44] -!- copec has quit [Excess Flood]
[20:07:43] -!- copec has quit [Excess Flood]
[20:13:48] -!- sumpfralle has quit [Ping timeout: 246 seconds]
[20:18:12] -!- Lathe_newbie has quit [Ping timeout: 245 seconds]
[20:20:38] -!- mozmck has quit [Read error: Connection reset by peer]
[20:20:45] micges-dev1 is now known as micges
[20:24:04] -!- jasen has quit [Quit: Page closed]
[20:24:13] -!- gaute [gaute!6dbde363@gateway/web/freenode/ip.109.189.227.99] has joined #leaflet
[20:24:49] -!- Tecan has quit [Changing host]
[20:27:27] <gaute> Hello, I am trying to do some automatic updating of vehicle data - Initially I read a json file and add the items to the map, as well as sidebar... how to i continue to update the map and not the sidebar for the following iterations.??
[20:31:12] -!- kfoltman has quit [Quit: Ex-Chat]
[20:38:52] -!- Katharsis has quit [Quit: Lost terminal]
[20:39:06] -!- tronwizard has quit [Ping timeout: 240 seconds]
[20:43:25] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[20:45:52] -!- toner has quit [Ping timeout: 240 seconds]
[20:52:49] -!- f1oat has quit [Ping timeout: 260 seconds]
[20:57:00] -!- jduhls [jduhls!~jduhls@75.76.125.132] has joined #leaflet
[21:04:01] -!- Loetmichel has quit [Ping timeout: 260 seconds]
[21:05:03] -!- amiri has quit [Read error: Connection reset by peer]
[21:05:04] <dagjomar> gaute: you there still?
[21:05:21] -!- amiri [amiri!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[21:05:31] <dagjomar> I'm not sure at what level you are asking, are you a beginner javascript developer?
[21:06:51] <gaute> I am not dreaming javascript ... but I get around...
[21:09:03] <gaute> Yes, I am still here...
[21:10:02] Cylly is now known as Loetmichel
[21:10:59] <gaute> Dagjomar, do you have any ideas ? Or do you want me to describe the challenge I am facing one more time?
[21:12:15] <dagjomar> well, it seems like a very basic question, I just want to be sure I understand what you are asking so I can reply properly
[21:12:59] <dagjomar> It seems to me, you have simply made a few copy paste things and gotten some json data drawn on map, and not sure how to proceed?
[21:13:22] -!- skunkworks_ has quit [Ping timeout: 240 seconds]
[21:13:44] <gaute> Right, and now I want to modify the code such it is working for my requirements
[21:14:01] <gaute> working accordingly to my requirement...
[21:14:59] <gaute> the question might be basic, the program code might not be basic, that's why I am asking for advice
[21:15:42] <gaute> I have go things drawn on the maps.. and also on the sidebar ...
[21:16:15] <gaute> who it correct... the data drawn on the map and the sidebar comes from the same json file.
[21:16:56] -!- Deejay has quit [Quit: bye]
[21:18:15] <dagjomar> so define "update" map.
[21:18:22] <dagjomar> load new data?
[21:18:48] <gaute> then i want the data who is in the sidebar to just "sit there" while the data on the map is updated... Something like setInterval(function(){
[21:19:09] <gaute> who will read the json file who is autoamtically updated
[21:19:22] <gaute> by some other process in the background
[21:19:57] <gaute> update the new location of pointdata
[21:20:17] <gaute> clear the old layer and add the new pointdata
[21:20:32] <gaute> a little flickering but not too bad
[21:21:04] <dagjomar> so the problem is to _not_ update the sidebar?
[21:21:10] <gaute> Yes
[21:21:27] <dagjomar> well, could you simply clone the first dataset, and use that to draw on the sidebar?
[21:21:47] <gaute> that's what I am thinking ....
[21:21:58] <dagjomar> although it seems unnecessary
[21:22:17] <gaute> if it's working - it is working...
[21:23:26] <dagjomar> well, what is it that is making the sidebar update in the first place?
[21:23:45] <dagjomar> seems like you could simply _not_ run the "drawSideBar(data)" function more than once
[21:23:55] <gaute> and there is a "connection" between the sidebar and the items on the map, such as ItemA in the sidebar is clickable and take you to ItemA on the map, and so on
[21:24:15] <dagjomar> oh that kind of thing
[21:24:17] <dagjomar> I see
[21:25:16] <dagjomar> well, ok so the sidebare probably listens for some "onAdd" events or something and updates when stuff is added to the map
[21:25:41] <dagjomar> seems like you would want to stop the sidebar from "auto loading" the content, and control when this happens yourself
[21:26:37] <gaute> It should be loaded only once,
[21:27:11] <gaute> while the map should be loaded frequently...
[21:28:17] <gaute> If you are bored I can zip the files and you can play with the code :-)
[21:28:20] <dagjomar> is this a sidebar plugin you are using?
[21:28:25] <gaute> yes -
[21:28:39] <dagjomar> any github link to the plugin?
[21:29:04] <gaute> let me find the example I am modifying....
[21:29:06] <gaute> 1 sec
[21:29:49] <gaute> http://bmcbride.github.io/bootleaf/
[21:30:01] <gaute> very nice piece of code...
[21:31:41] -!- skorasaurus2 [skorasaurus2!~skors@192.171.20.175] has joined #leaflet
[21:33:09] <gaute> data for the theater are read from a json file... and the theaters on the map....
[21:33:51] <gaute> I want to modify it such it can be used for item who are moving ... and updated accordingly...
[21:41:13] <gaute> Dagjomar - still there?
[21:41:22] <dagjomar> yes, just looking at the sourcecode :p
[21:41:48] <dagjomar> I think the key is in the making of i.e. the museums geoJson layer
[21:41:53] <dagjomar> var museums = L.geoJson(null, .....
[21:41:57] -!- skorasaurus2 has quit [Ping timeout: 245 seconds]
[21:42:07] <dagjomar> in there, the function onEachFeature() is what is popuplating the sidebar list
[21:42:14] <gaute> the code of importance is the app,js under the js directory in the assets directory
[21:42:23] <dagjomar> you could take that part out of that function and put it in your own function and control when it runs
[21:42:52] <dagjomar> because it now runs whenever data is put onto the existing layer
[21:43:21] <gaute> Yepp, I know - the code is a little too complex - well, I am not sure how to split it up
[21:43:26] <dagjomar> ah - or an even simple way, is to just put in a line saying "if(alreadyDoneThis) return"
[21:44:09] <dagjomar> so, after it all has run once, just say "thingsAddedToTheSideBar=true;"
[21:44:34] <dagjomar> then, if you want to refresh, just set that variable to false before adding data to the layer, and things will update again
[21:45:14] <gaute> sounds too good to be true, but let me see here...
[21:46:10] <gaute> This is the sidebar code.. var theaters = L.geoJson(null similar to the museum...
[21:46:21] <dagjomar> look for the onEachFeature: function (feature, layer) {
[21:46:31] <dagjomar> and museumSearch.push({
[21:46:52] <dagjomar> wich is pushing data into the search-object
[21:47:03] <dagjomar> before that is what is putting things into the list itself
[21:47:03] <dagjomar> $("#feature-list tbody").append('<tr cla
[21:48:06] <gaute> hold on... it is the theater we need to look at ..
[21:48:21] <dagjomar> well, I think the code is the same
[21:48:31] <gaute> ok, it is :-)
[21:48:53] <gaute> onEachFeature: function (feature, layer) { if (feature.properties) {
[21:49:17] -!- zzolo has quit [Quit: zzolo]
[21:50:00] <gaute> Then I add a check before the if ( feature.properties.... who is set the first time
[21:50:29] <dagjomar> well, you might want some of the code to run every time
[21:50:46] <dagjomar> like the first bit describes what happens when you click the marker on the map
[21:50:51] <dagjomar> you probably still want that
[21:51:04] <dagjomar> so you could add a check just before the $("#feature-list tbody").append('<tr class="feature-row"
[21:51:20] <dagjomar> because thats when it starts injecting into the sidebar list
[21:53:15] <gaute> Where did you find that code???
[21:53:29] -!- balestrino has quit [Ping timeout: 260 seconds]
[21:54:44] <dagjomar> just further down
[21:54:52] <dagjomar> after all the layer.on( code
[21:55:11] <dagjomar> just before theaterSearch.push({
[21:55:21] <dagjomar> line 266
[21:55:25] <dagjomar> https://github.com/bmcbride/bootleaf/blob/master/assets/js/app.js
[21:57:08] <gaute> It seems like the code has been modified since I grabbed it :-)
[21:57:36] <dagjomar> ah
[21:58:32] <gaute> $("#theater-table tbody").append('<tr style="cursor: is the line before on my copy
[21:58:49] -!- erve [erve!~erve@105-237-165-169.access.mtnbusiness.co.za] has joined #leaflet
[21:59:07] <gaute> anyhow, I need to make a check there... you said...
[21:59:27] <gaute> let it run once and then set the bool to false or something
[22:00:57] <dagjomar> yeah, so at the end of the whole thing you set it to True
[22:01:11] <dagjomar> and the next time around the check happens before whatever you want to not run
[22:02:07] <dagjomar> don't have to do a return, but put all conditional things in curly braces so you control what runs and what not
[22:03:40] -!- erve has quit [Ping timeout: 260 seconds]
[22:03:57] <gaute> sorry I am so slow... from line 266 to... 274 I make an if statment -
[22:04:22] <gaute> or just around the $( statement?
[22:04:26] <gaute> at 266
[22:06:48] <dagjomar> well, depends what you want to run and not run
[22:06:55] <dagjomar> the line 266 adds to the list
[22:07:03] <dagjomar> the thing under adds the item to the searchable list
[22:07:10] <dagjomar> I think
[22:07:13] <dagjomar> not sure
[22:07:36] <gaute> I guess I have to play around a little and see how things are moving along...
[22:07:37] <dagjomar> I guess you could first try to put all from 266 up to 274 in and if clause
[22:07:46] <dagjomar> yeah just start with something
[22:08:07] -!- bedah has quit [Quit: Ex-Chat]
[22:08:24] <gaute> Thanks, I better don't burn all midnight oil.... new day tomorrow
[22:08:40] <gaute> are you in Sweden?
[22:10:06] <gaute> anyway, thanks!
[22:10:29] <dagjomar> Norway here
[22:10:41] <gaute> ;-)
[22:10:49] <gaute> Sånn skal det være---
[22:11:43] <dagjomar> ;)
[22:11:51] <gaute> take care -
[22:14:41] <dagjomar> god natt
[22:15:20] -!- maZer`- has quit [Read error: Connection reset by peer]
[22:17:33] -!- skorasaurus2 [skorasaurus2!~skors@cpe-107-10-221-190.neo.res.rr.com] has joined #leaflet
[22:33:16] -!- afiber__ has quit [Quit: Konversation terminated!]
[22:45:42] -!- skorasaurus2 has quit [Ping timeout: 245 seconds]
[22:56:57] -!- maZer`- has quit [Remote host closed the connection]
[22:58:23] amnesic_away is now known as amnesic
[22:59:02] amnesic is now known as amnesic_away
[22:59:45] -!- erve [erve!~erve@105-237-165-169.access.mtnbusiness.co.za] has joined #leaflet
[22:59:59] -!- anth0ny [anth0ny!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[23:04:44] -!- erve has quit [Ping timeout: 250 seconds]
[23:10:56] -!- __rob has quit [Ping timeout: 258 seconds]
[23:11:22] -!- maximilian_h1 has quit [Ping timeout: 240 seconds]
[23:21:50] -!- lexano has quit [Remote host closed the connection]
[23:28:14] -!- karavanjo has quit [Read error: Connection reset by peer]
[23:28:20] -!- gonzo_ has quit [Read error: Connection reset by peer]
[23:28:30] -!- karavanjo [karavanjo!~kvirc@178.122.100.182] has joined #leaflet
[23:31:54] -!- koss has quit [Ping timeout: 272 seconds]
[23:33:29] kosss is now known as koss
[23:37:22] -!- rob_h has quit [Ping timeout: 240 seconds]
[23:44:33] -!- uwe_ has quit [Ping timeout: 260 seconds]
[23:48:27] -!- gonzo_nb has quit [Remote host closed the connection]
[23:52:48] -!- asdfasd1 has quit [Ping timeout: 272 seconds]
[23:58:45] -!- tjb1 has quit [Read error: Connection reset by peer]