#leaflet | Logs for 2014-08-22

Back
[00:01:27] -!- jerryitt [jerryitt!uid17132@gateway/web/irccloud.com/x-gdwxrrwsrpsuqjbv] has joined #leaflet
[00:04:22] -!- Nick001-shop has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
[00:10:39] -!- Tom_L has quit []
[00:13:07] -!- syyl has quit [Ping timeout: 245 seconds]
[00:17:58] -!- skunkworks has quit [Ping timeout: 264 seconds]
[00:34:22] -!- tjb1 has quit [Ping timeout: 250 seconds]
[00:37:25] -!- anth0ny_ [anth0ny_!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[00:37:50] -!- tjb11 has quit [Ping timeout: 250 seconds]
[00:39:03] -!- tjb111 has quit [Ping timeout: 240 seconds]
[00:40:46] -!- tjb1 has quit [Ping timeout: 264 seconds]
[00:48:56] -!- ries has quit [Quit: ries]
[00:59:30] -!- tjb11 has quit [Ping timeout: 250 seconds]
[01:01:46] -!- sylphiae has quit [Ping timeout: 264 seconds]
[01:08:48] -!- anth0ny_ has quit [Quit: anth0ny_]
[01:08:50] tjb11 is now known as tjb1
[01:12:07] -!- tjb111 has quit [Ping timeout: 255 seconds]
[01:12:52] -!- anth0ny_ [anth0ny_!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[01:36:54] -!- Tom_L has quit [Client Quit]
[01:53:12] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[02:18:53] -!- brianmorel99 has quit [Quit: brianmorel99]
[02:42:34] -!- anth0ny_ has quit [Quit: anth0ny_]
[02:52:14] -!- anth0ny_ [anth0ny_!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[02:54:20] -!- MoserLabs has quit [Ping timeout: 260 seconds]
[02:58:03] -!- sirdancealot has quit [Ping timeout: 240 seconds]
[02:58:15] -!- ITChap [ITChap!~syscowboy@64.120.32.27] has joined #leaflet
[02:59:17] -!- AR_ has quit [Ping timeout: 272 seconds]
[03:12:04] -!- anarchos has quit [Ping timeout: 260 seconds]
[03:27:47] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[03:29:12] -!- Tecan has quit [Quit: Live Long And Phosphor!]
[03:34:27] -!- patrickarlt [patrickarlt!~patrickar@c-50-139-80-222.hsd1.or.comcast.net] has joined #leaflet
[03:55:05] -!- anth0ny_ has quit [Quit: anth0ny_]
[04:02:05] -!- Roguish has quit [Ping timeout: 260 seconds]
[04:03:07] -!- asdfasd has quit [Ping timeout: 255 seconds]
[04:05:35] -!- brad_ [brad_!b6496884@gateway/web/freenode/ip.182.73.104.132] has joined #leaflet
[04:05:59] brad_ is now known as Guest5635
[04:06:45] -!- shaun413 has quit [Ping timeout: 240 seconds]
[04:07:46] -!- anth0ny_ [anth0ny_!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[04:14:19] -!- patrickarlt has quit [Quit: Leaving...]
[05:02:26] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[05:10:42] -!- syyl has quit [Ping timeout: 245 seconds]
[05:17:57] -!- dzzig_nz has quit [Read error: Connection reset by peer]
[05:19:54] -!- ve7it has quit [Remote host closed the connection]
[05:34:51] -!- mhaberler has quit [Quit: mhaberler]
[05:42:46] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[06:00:14] -!- anth0ny_ has quit [Quit: anth0ny_]
[06:04:44] -!- mhaberler has quit [Quit: mhaberler]
[06:04:52] -!- kwallace4 has quit [Ping timeout: 245 seconds]
[06:27:41] -!- gonzo_nb has quit [Remote host closed the connection]
[06:54:57] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[06:55:01] -!- archivist_herron has quit [Ping timeout: 255 seconds]
[06:55:08] -!- mhaberler has quit [Quit: mhaberler]
[06:57:25] -!- anarchos has quit [Ping timeout: 272 seconds]
[06:57:34] -!- jepler has quit [Ping timeout: 264 seconds]
[07:07:10] -!- anarchos has quit [Ping timeout: 264 seconds]
[07:15:26] -!- archivist_herron has quit [Ping timeout: 260 seconds]
[07:36:00] -!- Komzzpa has quit [Ping timeout: 250 seconds]
[07:40:46] -!- archivist_herron has quit [Ping timeout: 264 seconds]
[07:53:15] -!- mle [mle!~mle@mir31-1-82-224-13-158.fbx.proxad.net] has joined #leaflet
[07:57:45] -!- Groguard has quit [Read error: Connection reset by peer]
[08:03:44] -!- mahtennek [mahtennek!~mahtennek@nusnet-228-30.dynip.nus.edu.sg] has joined #leaflet
[08:04:50] <mahtennek> hi all, i am using leaflet animated marker, any way i can totally remove the animated marker as soon as it ends. so if i were to run another route, it will not try to pan to 2 marker locations
[08:22:22] -!- archivist_herron has quit [Ping timeout: 250 seconds]
[08:35:51] -!- FreezingCold has quit [Ping timeout: 246 seconds]
[08:46:38] -!- The_Ball has quit [Ping timeout: 250 seconds]
[08:47:07] <mahtennek> how can i destroy leaflet animated marker?
[08:47:12] <mahtennek> it doesn't get destroyed
[08:48:14] <liedman> mahtennek: don't know about animated markers specifically, but usually you'd want to call map.removeLayer(marker)
[08:48:36] <mahtennek> liedman: i tried that, but it didn't remove my markers
[08:48:44] <mahtennek> at least. i can show you the code.
[08:49:10] <liedman> mahtennek: what are animated markers? is it a plugin?
[08:49:30] <mahtennek> liedman: yes it is leaflet-animatedmarkers plugin. https://gist.github.com/anonymous/34596949cc3de9ebac37
[08:50:53] <liedman> mahtennek: ok
[08:50:54] -!- sumpfralle has quit [Ping timeout: 246 seconds]
[08:51:42] <liedman> mahtennek: anyway, map.removeLayer should be the way to go
[08:52:24] <mahtennek> liedman: hmm yeah, i have been trying that, somehow the marker feels like it's invisible somewhere
[08:58:25] -!- archivist_herron has quit [Ping timeout: 260 seconds]
[09:00:56] <liedman> mahtennek: ok... so you mean it disappears from the map... then exactly what is the issue?
[09:02:47] <mahtennek> liedman: okay so basically i am trying to pan map as the animated marker moves along the polyline. but after clearing the marker, the pan map tends to pan towards the invisible marker and the newly added marker
[09:05:30] -!- sylphiae has quit [Read error: Connection reset by peer]
[09:05:53] -!- The_Ball has quit [Read error: Connection timed out]
[09:07:33] <liedman> mahtennek: what do you use for the panning?
[09:07:46] <mahtennek> leafletjs pan.mapTo
[09:08:42] <liedman> mahtennek: map.panTo?
[09:09:36] <liedman> mahtennek: but then you're providing the latlng yourself... what do you mean the pan tends towards the marker?
[09:09:47] -!- cradek has quit [Read error: Connection reset by peer]
[09:09:56] <mahtennek> yes map.panTo
[09:09:59] <mahtennek> yes correct
[09:10:29] <mahtennek> https://gist.github.com/anonymous/7e624e56f314cb0c1a29
[09:10:37] <liedman> mahtennek: panTo doesn't consider what layers/markers are displayed on the map, so that shouldn't matter...
[09:10:39] <mahtennek> its an array of latlng
[09:10:51] <mahtennek> so i guess the issue is with the animated marker
[09:11:38] <mahtennek> because even after clearing the marker layer, it kind of hides itself, but i suppose because of the pan map function, it will detect the invisible marker and the new marker
[09:14:08] <liedman> mahtennek: hard to tell, that code seems a bit complex
[09:14:40] <liedman> mahtennek: but I would start by verifying if _flag is ever set to 1
[09:15:03] <mahtennek> alright, i can check that, but i think my best bet right now is the marker not properly cleared
[09:15:15] <mahtennek> at least my intuition
[09:16:17] <liedman> mahtennek: the way your code works, if it's visble or not will not matter
[09:16:30] <mahtennek> hmm okay let me try and see
[09:16:47] <liedman> mahtennek: if pan_map is called, it will pan to the marker's lat/lng, no matter if it's shown or not
[09:17:16] <mahtennek> liedman: agree. then it's weird, i don't know what's not working.
[09:21:52] -!- archivist_herron has quit [Ping timeout: 240 seconds]
[09:26:21] -!- dudepdx has quit [Ping timeout: 240 seconds]
[09:32:38] -!- dudepdx has quit [Ping timeout: 260 seconds]
[09:39:10] -!- archivist_herron has quit [Ping timeout: 250 seconds]
[09:40:31] -!- mahtennek has quit []
[09:42:22] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[09:42:47] -!- b_b has quit [Changing host]
[09:42:47] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[10:03:07] -!- archivist_herron has quit [Ping timeout: 245 seconds]
[10:12:11] -!- Valen has quit [Quit: Leaving.]
[10:16:42] -!- ITChap has quit [Quit: Leaving.]
[10:35:31] -!- skunkworks has quit [Ping timeout: 255 seconds]
[10:41:42] -!- archivist_herron has quit [Ping timeout: 260 seconds]
[10:50:15] -!- dudepdx has quit [Ping timeout: 246 seconds]
[10:58:03] -!- zewan has quit [Ping timeout: 240 seconds]
[11:01:37] -!- balestrino has quit [Ping timeout: 255 seconds]
[11:12:47] -!- sirdancealot has quit [Ping timeout: 245 seconds]
[11:15:11] -!- jerryitt [jerryitt!uid17132@gateway/web/irccloud.com/x-wuxlezfwkykuielm] has joined #leaflet
[11:35:08] -!- dudepdx has quit [Ping timeout: 260 seconds]
[11:36:43] -!- sirdancealot has quit [Ping timeout: 255 seconds]
[11:42:27] -!- dudepdx has quit [Ping timeout: 255 seconds]
[11:46:33] -!- karavanjo has quit [Ping timeout: 240 seconds]
[12:00:12] -!- Lathe_newbie has quit [Ping timeout: 245 seconds]
[12:02:58] -!- dudepdx has quit [Read error: Connection reset by peer]
[12:08:22] -!- asdfasd has quit [Ping timeout: 264 seconds]
[12:23:35] cradek_ is now known as cradek
[12:24:05] -!- cradek has quit [Changing host]
[12:28:20] -!- Guest5635 has quit [Quit: Page closed]
[12:35:09] -!- zeitue has quit [Quit: Leaving]
[12:38:22] -!- Bernd__ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 11.0/20120310193829]]
[12:42:59] -!- acdha [acdha!~acdha@shell.improbable.org] has joined #leaflet
[12:48:26] -!- Bernd has quit [Ping timeout: 250 seconds]
[12:58:23] Bernd is now known as LunaX
[13:15:43] -!- dudepdx has quit [Ping timeout: 255 seconds]
[13:22:48] -!- dudepdx has quit [Ping timeout: 255 seconds]
[13:34:43] -!- jduhls [jduhls!~jduhls@67.58.77.166] has joined #leaflet
[13:40:48] -!- dudepdx has quit [Ping timeout: 255 seconds]
[13:49:12] -!- jduhls has quit [Ping timeout: 250 seconds]
[14:00:18] -!- dudepdx has quit [Ping timeout: 246 seconds]
[14:02:24] -!- anth0ny_ [anth0ny_!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[14:10:09] -!- Roguish has quit [Ping timeout: 260 seconds]
[14:16:48] -!- dudepdx has quit [Ping timeout: 255 seconds]
[14:17:18] -!- LunaX has quit [Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310]]
[14:19:22] -!- karavanjo [karavanjo!~kvirc@leased-line-brest-91-149-154-34.brest.telecom.by] has joined #leaflet
[14:22:47] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[14:27:09] -!- dudepdx has quit [Ping timeout: 240 seconds]
[14:33:34] -!- dudepdx has quit [Ping timeout: 255 seconds]
[14:36:20] -!- anth0ny_ has quit [Quit: anth0ny_]
[14:38:21] -!- thedude has quit [Ping timeout: 240 seconds]
[14:44:37] -!- anth0ny_ [anth0ny_!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[14:45:47] -!- anth0ny_ has quit [Client Quit]
[14:50:20] -!- mozmck has quit [Read error: Connection reset by peer]
[14:52:06] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[14:58:56] -!- ITChap [ITChap!~syscowboy@114.92.120.187] has joined #leaflet
[15:12:43] -!- dudepdx has quit [Ping timeout: 255 seconds]
[15:20:28] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[15:21:08] -!- gene78 has quit [Remote host closed the connection]
[15:23:23] -!- dudepdx has quit [Ping timeout: 240 seconds]
[15:24:52] -!- mle has quit [Ping timeout: 240 seconds]
[15:28:48] -!- dudepdx has quit [Ping timeout: 255 seconds]
[15:29:04] -!- karavanjo_ [karavanjo_!~kvirc@176.60.39.216] has joined #leaflet
[15:32:04] -!- karavanjo has quit [Ping timeout: 255 seconds]
[15:38:33] -!- SquirrelCZECH has quit [Remote host closed the connection]
[15:42:36] -!- jerryitt [jerryitt!uid17132@gateway/web/irccloud.com/x-ufouujtxzzivbuek] has joined #leaflet
[15:45:12] -!- patrickarlt has quit [Remote host closed the connection]
[15:45:44] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[15:50:24] -!- patrickarlt has quit [Ping timeout: 260 seconds]
[15:51:58] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[15:54:32] -!- Benjamin23 has quit [Remote host closed the connection]
[15:55:54] -!- BellinganRoy has quit [Quit: Konversation terminated!]
[15:58:30] -!- `Nerobro has quit [Ping timeout: 255 seconds]
[16:05:17] -!- karavanjo_ has quit [Ping timeout: 245 seconds]
[16:20:18] -!- dudepdx has quit [Ping timeout: 246 seconds]
[16:21:17] -!- patrickarlt has quit [Remote host closed the connection]
[16:22:53] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[16:24:35] -!- phantoxe has quit []
[16:25:42] -!- ITChap has quit [Quit: Leaving.]
[16:28:42] -!- aude has quit [Ping timeout: 272 seconds]
[16:34:15] -!- aude_ [aude_!~filbertkm@li137-250.members.linode.com] has joined #leaflet
[16:35:08] -!- asah has quit [Quit: asah]
[16:58:45] -!- thedude has quit [Ping timeout: 240 seconds]
[17:02:24] -!- dudepdx has quit [Ping timeout: 255 seconds]
[17:05:10] -!- almccon_ has quit [Read error: Connection reset by peer]
[17:05:38] -!- almccon [almccon!~textual@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[17:08:56] -!- ashcan_ has quit [Client Quit]
[17:13:09] -!- thedude has quit [Ping timeout: 240 seconds]
[17:16:55] -!- karavanjo [karavanjo!~kvirc@93.84.9.87] has joined #leaflet
[17:24:43] -!- asah has quit [Quit: asah]
[17:28:13] -!- dudepdx has quit [Ping timeout: 272 seconds]
[17:43:35] -!- sudobangbang [sudobangbang!~chatzilla@75-151-97-182-Washington.hfc.comcastbusiness.net] has joined #leaflet
[17:48:33] -!- patrickarlt has quit [Ping timeout: 260 seconds]
[17:57:15] -!- dudepdx has quit [Ping timeout: 246 seconds]
[18:03:11] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[18:08:28] -!- sylphiae has quit [Quit: Leaving]
[18:10:48] -!- dudepdx has quit [Ping timeout: 255 seconds]
[18:11:28] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[18:17:22] -!- asah has quit [Ping timeout: 245 seconds]
[18:24:22] -!- tronwizard has quit [Ping timeout: 240 seconds]
[18:40:21] -!- amiri_ has quit [Read error: Connection reset by peer]
[18:40:49] -!- amiri [amiri!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[18:45:56] -!- patrickarlt has quit [Remote host closed the connection]
[18:49:37] -!- dudepdx has quit [Ping timeout: 255 seconds]
[18:51:22] -!- Loetmichel has quit [Ping timeout: 240 seconds]
[19:00:15] t12_ is now known as t12
[19:00:34] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[19:02:17] -!- mhaberler has quit [Quit: mhaberler]
[19:13:32] -!- Smidge204_ has quit [Client Quit]
[19:14:57] -!- syyl has quit [Ping timeout: 246 seconds]
[19:15:30] -!- Fuchikoma has quit [Ping timeout: 250 seconds]
[19:25:43] -!- marti____ [marti____!~martin@c-a15c70d5.21-1-64736c13.cust.bredbandsbolaget.se] has joined #leaflet
[19:26:45] -!- marti____ has quit [Remote host closed the connection]
[19:38:20] -!- skunkworks has quit [Read error: Connection reset by peer]
[19:39:16] -!- acdha has quit [Quit: Textual IRC Client: www.textualapp.com]
[19:44:31] Guest67691 is now known as phantoxeD
[19:50:40] -!- onyedikilo has quit [Ping timeout: 246 seconds]
[19:59:59] -!- h_maximilian has quit [Client Quit]
[20:27:50] -!- tjb1 has quit [Ping timeout: 260 seconds]
[20:57:26] -!- FinboySlick has quit [Quit: Leaving.]
[20:58:00] -!- syyl_ws has quit [Quit: Verlassend]
[20:58:17] -!- Deejay has quit [Quit: bye]
[21:01:57] -!- anarchos2 has quit [Read error: Connection reset by peer]
[21:01:57] -!- anarchos has quit [Read error: Connection reset by peer]
[21:07:43] -!- theorbtwo has quit [Read error: Connection reset by peer]
[21:09:28] -!- ve7it has quit [Ping timeout: 250 seconds]
[21:12:52] -!- JT-Shop has quit [Ping timeout: 240 seconds]
[21:13:22] -!- jthornton has quit [Ping timeout: 240 seconds]
[21:16:35] -!- mhaberler has quit [Quit: mhaberler]
[21:18:34] -!- sudobangbang has quit [Ping timeout: 264 seconds]
[21:21:29] tjb11 is now known as tjb1
[21:22:00] -!- FreezingCold has quit [Ping timeout: 246 seconds]
[21:23:31] -!- balestrino has quit [Ping timeout: 255 seconds]
[21:25:22] -!- mozmck has quit [Quit: Leaving.]
[21:26:06] -!- Tom_itx has quit [Ping timeout: 255 seconds]
[21:26:59] -!- zlog has quit [Ping timeout: 272 seconds]
[21:30:42] -!- JT-Shop has quit [Ping timeout: 250 seconds]
[21:30:42] -!- jthornton has quit [Ping timeout: 250 seconds]
[21:39:51] -!- arvidkahl [arvidkahl!~arvidkahl@p57BD7F4A.dip0.t-ipconnect.de] has joined #leaflet
[21:39:59] -!- arvidkahl has quit [Client Quit]
[21:40:29] -!- sudobangbang [sudobangbang!~chatzilla@c-24-19-133-73.hsd1.wa.comcast.net] has joined #leaflet
[21:53:33] -!- anarchos has quit [Ping timeout: 240 seconds]
[22:17:47] -!- Lathe_newbie has quit [Ping timeout: 245 seconds]
[22:18:14] -!- patrickarlt has quit [Remote host closed the connection]
[22:21:19] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[22:31:22] -!- patrickarlt has quit [Ping timeout: 240 seconds]
[22:37:19] aude_ is now known as aude
[22:41:04] -!- kfoltman has quit [Quit: Ex-Chat]
[22:51:11] -!- ve7it has quit [Remote host closed the connection]
[23:11:55] -!- tinkerer has quit [Quit: Leaving.]
[23:14:53] -!- GJdan has quit [Remote host closed the connection]
[23:16:37] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[23:16:46] -!- anarchos has quit [Ping timeout: 250 seconds]
[23:17:11] -!- Lathe_newbie has quit [Ping timeout: 272 seconds]
[23:25:52] -!- patrickarlt has quit [Remote host closed the connection]
[23:34:35] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[23:41:15] -!- patrickarlt has quit [Remote host closed the connection]
[23:49:43] -!- PetefromTn_ has quit [Quit: I'm Outta here!!]