#leaflet | Logs for 2014-03-02

Back
[00:03:49] -!- Einar_ has quit [Ping timeout: 264 seconds]
[00:16:23] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[00:40:54] -!- moonlite [moonlite!~mattiasb2@c-388871d5.217-10-64736c10.cust.bredbandsbolaget.se] has joined #leaflet
[00:41:35] -!- rob_h has quit [Ping timeout: 252 seconds]
[00:41:43] -!- moonlite has quit [Client Quit]
[00:43:27] -!- rreddy2go has quit [Quit: Page closed]
[01:04:08] -!- andypugh has quit [Quit: andypugh]
[01:04:43] -!- Roguish has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
[01:05:53] -!- larryone has quit [Quit: This computer has gone to sleep]
[01:34:25] -!- i_tarzan has quit [Ping timeout: 264 seconds]
[01:40:49] -!- bedah has quit [Quit: Ex-Chat]
[01:43:05] -!- NannyBoo9_ has quit [Quit: Some folks are wise, and some otherwise.]
[01:44:48] -!- micges has quit [Quit: Leaving]
[01:56:43] -!- kwallace2 has quit [Remote host closed the connection]
[02:00:49] -!- i_tarzan has quit [Ping timeout: 264 seconds]
[02:05:13] -!- gonzo_nb has quit [Ping timeout: 240 seconds]
[02:06:08] -!- kwallace has quit [Remote host closed the connection]
[02:21:49] -!- c-bob| has quit [Ping timeout: 264 seconds]
[02:22:41] -!- kb8wmc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 20.0/20130329043827]]
[02:26:49] -!- i_tarzan has quit [Ping timeout: 240 seconds]
[02:33:49] -!- rosslyoung has quit [Ping timeout: 252 seconds]
[02:45:50] -!- zeeshan has quit [Read error: Connection reset by peer]
[02:46:11] -!- rosslyoung [rosslyoung!~ross@w-15.cust-10303.ip.static.uno.uk.net] has joined #leaflet
[02:53:15] -!- PetefromTn_ has quit [Quit: Do fish get thirsty?]
[03:00:13] -!- i_tarzan has quit [Ping timeout: 264 seconds]
[03:30:01] -!- i_tarzan has quit [Ping timeout: 240 seconds]
[03:34:54] -!- marmite_ has quit [Ping timeout: 244 seconds]
[03:36:49] -!- i_tarzan_ has quit [Ping timeout: 240 seconds]
[03:44:48] -!- GuShH_ has quit [Ping timeout: 252 seconds]
[04:08:34] -!- tjtr33 has quit [Quit: Leaving]
[04:09:18] -!- Servos4ever has quit [Quit: ChatZilla 0.9.90.1 [SeaMonkey 2.24/20140203230751]]
[04:13:45] -!- patrickarlt has quit [Quit: Leaving...]
[04:33:57] -!- KimK has quit [Read error: Connection timed out]
[04:35:37] -!- i_tarzan has quit [Ping timeout: 240 seconds]
[04:37:31] -!- amiri [amiri!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[04:41:01] -!- amiri_ has quit [Ping timeout: 264 seconds]
[04:48:09] -!- ve7it has quit [Remote host closed the connection]
[04:53:08] -!- sumpfralle has quit [Read error: Operation timed out]
[05:05:33] -!- i_tarzan_ has quit [Read error: Operation timed out]
[05:13:25] -!- AR__ has quit [Ping timeout: 264 seconds]
[05:22:26] -!- Komzpa [Komzpa!~kom@5.149.156.131] has joined #leaflet
[05:23:01] -!- asdfasd has quit [Ping timeout: 264 seconds]
[05:30:13] -!- rosslyoung has quit [Ping timeout: 264 seconds]
[05:56:37] -!- FreezingCold has quit [Ping timeout: 264 seconds]
[06:02:37] -!- Fox_Muldr has quit [Ping timeout: 264 seconds]
[06:06:37] -!- dgarr has quit [Quit: Leaving.]
[06:18:26] -!- ries has quit [Quit: ries]
[06:24:05] -!- GJdan has quit [Quit: WeeChat 0.4.3]
[06:40:31] -!- pjm_ has quit [Read error: Connection reset by peer]
[06:48:33] -!- kwallace has quit [Read error: Connection reset by peer]
[06:52:19] -!- KimK has quit [Read error: Operation timed out]
[07:06:11] -!- Groguard has quit [Quit: Nettalk6 - www.ntalk.de]
[07:19:46] -!- KimK has quit [Read error: Connection timed out]
[07:21:49] -!- pjm_ has quit [Ping timeout: 264 seconds]
[08:24:25] -!- KimK has quit [Ping timeout: 240 seconds]
[08:31:44] -!- FinboySlick has quit [Quit: Leaving.]
[08:44:08] -!- jasen_ has quit [Quit: Page closed]
[08:45:10] -!- crank has quit [Remote host closed the connection]
[09:19:15] norbert_ is now known as Guest96075
[09:20:01] -!- Komzpa has quit [Ping timeout: 264 seconds]
[09:27:49] -!- syyl- has quit [Ping timeout: 264 seconds]
[09:32:10] -!- rob_h has quit [Quit: Leaving]
[09:44:40] -!- motioncontrol has quit [Remote host closed the connection]
[09:46:39] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[09:48:33] -!- Komzpa [Komzpa!~kom@m90-133-0-41.cust.tele2.ru] has joined #leaflet
[10:25:25] -!- Komzzpa [Komzzpa!~kom@78.25.121.167] has joined #leaflet
[10:28:25] -!- Komzpa has quit [Ping timeout: 264 seconds]
[10:29:11] -!- larryone has quit [Quit: This computer has gone to sleep]
[10:30:38] -!- Komzzpa has quit [Quit: Konversation terminated!]
[10:31:17] -!- kludge` has quit [Ping timeout: 252 seconds]
[10:35:19] -!- mablae__ [mablae__!~mablae@pd95cba7c.dip0.t-ipconnect.de] has joined #leaflet
[10:36:38] -!- kludge` [kludge`!~comet@unaffiliated/espiral] has joined #leaflet
[10:38:26] -!- mablae_ has quit [Ping timeout: 252 seconds]
[10:41:13] -!- Lathe_newbie has quit [Ping timeout: 240 seconds]
[10:48:49] -!- Lathe_newbie| has quit [Ping timeout: 264 seconds]
[10:50:31] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[10:50:45] -!- b_b has quit [Changing host]
[10:50:46] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[10:52:03] -!- Lathe_newbie has quit [Client Quit]
[10:55:28] -!- gonzo___ has quit [Read error: Connection reset by peer]
[11:01:37] -!- Lathe_newbie has quit [Ping timeout: 240 seconds]
[11:13:44] -!- KimK has quit [Ping timeout: 252 seconds]
[11:22:19] -!- dnns_ [dnns_!5ce0ae41@gateway/web/freenode/ip.92.224.174.65] has joined #leaflet
[11:24:58] -!- gonzo_ has quit [Read error: Connection reset by peer]
[11:28:33] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[11:32:07] -!- larryone has quit [Client Quit]
[11:55:22] -!- Lathe_newbie has quit [Quit: No Ping reply in 180 seconds.]
[11:55:33] -!- Komzzzpa [Komzzzpa!~kom@85-114-2-248.obit.ru] has joined #leaflet
[12:03:49] -!- Komzzzpa has quit [Ping timeout: 264 seconds]
[12:05:52] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[12:20:01] -!- KimK has quit [Ping timeout: 240 seconds]
[12:27:16] -!- Komzzzpa [Komzzzpa!~kom@78.25.121.167] has joined #leaflet
[12:27:48] -!- Komzpa [Komzpa!~kom@94.72.41.10] has joined #leaflet
[12:30:46] -!- Komzzzpa has quit [Read error: Operation timed out]
[12:31:48] -!- Komzzpa [Komzzpa!~kom@94.72.41.10] has joined #leaflet
[12:32:24] -!- Komzpa has quit [Ping timeout: 252 seconds]
[12:36:07] -!- gonzo_ has quit [Read error: Connection reset by peer]
[12:36:49] -!- Komzzpa has quit [Ping timeout: 264 seconds]
[12:44:00] -!- dnns_ [dnns_!5ce0ae41@gateway/web/freenode/ip.92.224.174.65] has parted #leaflet
[12:55:13] -!- KimK has quit [Ping timeout: 240 seconds]
[13:00:49] -!- Lathe_newbie has quit [Ping timeout: 264 seconds]
[13:27:11] -!- Lathe_newbie| has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
[13:31:40] -!- jerryitt [jerryitt!uid17132@gateway/web/irccloud.com/x-kpoeiqwkcvdlnghk] has joined #leaflet
[13:55:13] -!- AR__ has quit [Ping timeout: 240 seconds]
[14:07:38] -!- shurshur has quit [Ping timeout: 240 seconds]
[14:30:08] -!- shurshur [shurshur!~chatzilla@broadband-178-140-135-205.nationalcablenetworks.ru] has joined #leaflet
[14:39:05] -!- sumpfralle has quit [Quit: Leaving.]
[14:44:25] -!- balestrino has quit [Ping timeout: 240 seconds]
[14:52:52] -!- ries has quit [Read error: Connection reset by peer]
[14:54:36] -!- Komzzpa [Komzzpa!~kom@78.25.121.134] has joined #leaflet
[14:55:17] -!- Connor has quit [Ping timeout: 252 seconds]
[15:17:42] -!- WalterN has quit [Ping timeout: 265 seconds]
[15:18:00] -!- Komzzpa has quit [Ping timeout: 252 seconds]
[15:40:19] -!- gonzo_ has quit [Read error: Connection reset by peer]
[15:48:13] -!- seltecc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 11.0/20120310193829]]
[15:55:34] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[15:59:22] -!- qingpei has quit [Quit: qingpei]
[16:00:25] -!- kwallace has quit [Ping timeout: 240 seconds]
[16:02:33] -!- mascape [mascape!~chatzilla@c-50-169-75-200.hsd1.ma.comcast.net] has joined #leaflet
[16:11:10] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[16:14:34] -!- NannyBoo9_ has quit [Quit: REALITY.SYS Corrupted: Re-boot universe? (Y/N/Q)]
[16:20:10] -!- qingpei has quit [Ping timeout: 252 seconds]
[16:20:11] qingpei_ is now known as qingpei
[16:24:15] -!- Deejay has quit [Quit: bye]
[16:57:32] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[16:59:34] -!- sysdba [sysdba!~sysdba@2.49.29.153] has joined #leaflet
[17:00:25] -!- NannyBoo9_ has quit [Ping timeout: 240 seconds]
[17:08:45] -!- sysdba_ [sysdba_!~sysdba@2.49.29.153] has joined #leaflet
[17:11:01] -!- theorbtwo has quit [Ping timeout: 264 seconds]
[17:12:33] -!- sysdba_ has quit [Client Quit]
[17:14:40] -!- PetefromTn_ has quit [Quit: ASCII a stupid question, get a stupid ANSI!]
[17:15:00] -!- NannyBoo9_ has quit [Quit: Few women admit their age. Few men act theirs.]
[17:15:12] -!- amiri_ [amiri_!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[17:18:47] -!- chillly [chillly!~chris@static-87-102-95-199.karoo.kcom.com] has joined #leaflet
[17:18:49] -!- amiri has quit [Ping timeout: 264 seconds]
[17:19:33] -!- amiri_ has quit [Read error: Operation timed out]
[17:19:38] -!- mascape has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140218140052]]
[17:20:11] -!- amiri [amiri!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[17:28:49] -!- sysdba__ [sysdba__!~sysdba@2.49.29.153] has joined #leaflet
[17:31:13] -!- Guest96075 has quit [Quit: Verlassend]
[17:34:49] -!- KimK has quit [Ping timeout: 240 seconds]
[17:35:30] -!- julianlam [julianlam!~julian@206.248.138.15] has joined #leaflet
[17:36:35] <julianlam> hm
[17:36:44] <julianlam> has anyone considered using a different forum software for Leaflet?
[17:39:15] -!- sysdba__ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
[17:40:56] -!- qingpei has quit [Quit: qingpei]
[17:43:29] -!- sysdba_ [sysdba_!~sysdba@2.49.29.153] has joined #leaflet
[17:43:59] -!- sysdba has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
[17:44:00] sysdba_ is now known as sysdba
[17:46:33] -!- sysdba has quit [Client Quit]
[17:46:46] -!- Komzzpa [Komzzpa!~kom@5.149.156.131] has joined #leaflet
[17:49:18] -!- KimK has quit [Ping timeout: 252 seconds]
[17:54:11] -!- GJdan [GJdan!~dan@154.5.205.24] has joined #leaflet
[17:59:43] -!- norbert has quit [Quit: Verlassend]
[18:05:08] -!- gonzo_nb has quit [Remote host closed the connection]
[18:05:13] -!- eFuchs_firefly has quit [Quit: ping timeout]
[18:15:27] -!- aggadaway has quit [Remote host closed the connection]
[18:30:00] -!- skorasaurus has quit [Ping timeout: 252 seconds]
[18:30:49] -!- balestrino has quit [Ping timeout: 240 seconds]
[18:37:43] -!- _balestrino has quit [Ping timeout: 252 seconds]
[18:55:36] -!- sysdba [sysdba!~sysdba@176.204.6.201] has joined #leaflet
[18:58:15] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[19:00:22] -!- sysdba has quit [Client Quit]
[19:05:53] -!- motioncontrol has quit [Quit: Sto andando via]
[19:06:27] -!- sirdancealo3 has quit [Ping timeout: 244 seconds]
[19:08:37] -!- Loetmichel has quit [Ping timeout: 264 seconds]
[19:22:24] <Tomashe> anyone knows why the hell the map isnt opening complete
[19:22:32] <Tomashe> its like positioned on theleft top side
[19:22:52] <Tomashe> while all the rest is kind grey area.. and if i keep scrolling the top left update and the rest isnt
[19:23:31] <ybon> Tomashe: you have initialized the map when its container wasn't fully loaded in DOM
[19:24:18] <Tomashe> ok
[19:24:28] <Tomashe> how do i know that the container is fully loaded
[19:24:34] <Tomashe> as much as i know the page was fully loaded
[19:25:07] <ybon> init your map on page load or put your script at the bottom of your page, basically
[19:25:20] <Tomashe> this is what i did
[19:25:24] <Tomashe> put it at the bottom
[19:25:37] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[19:25:45] <ybon> so another script is certainly doing something in the middle
[19:26:18] <Tomashe> ok what about that
[19:26:21] <Tomashe> $("body").on("load",function() {
[19:26:21] <Tomashe> InitMap();
[19:26:21] <Tomashe> });
[19:26:25] <Tomashe> is that ok
[19:26:42] <Tomashe> i will put that inside my ajax login .done {
[19:26:53] -!- skorasaurus [skorasaurus!~skors@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[19:27:13] <ybon> I don't use nor know jquery sorry
[19:28:40] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@c80-216-22-126.bredband.comhem.se] has joined #leaflet
[19:28:48] <Tomashe> ok
[19:30:49] -!- FreezingCold has quit [Ping timeout: 240 seconds]
[19:35:28] <chillly> Tomashe, the jQuery way is to use:
[19:35:31] <chillly> $(document).ready(init);
[19:35:43] <chillly> function init() { .....}
[19:35:55] -!- syyl_ws has quit [Quit: Verlassend]
[19:36:17] <chillly> this calls init when the whole document (page) is ready
[19:39:52] -!- ries has quit [Quit: ries]
[19:43:14] -!- anishshah101 [anishshah101!73f91219@gateway/web/freenode/ip.115.249.18.25] has joined #leaflet
[19:44:19] -!- thomaslindstr_m has quit [Quit: Leaving...]
[19:46:16] -!- skorasaurus has quit [Read error: Connection reset by peer]
[19:50:53] <anishshah101> hi
[19:51:06] <anishshah101> I wanted to use Leaflet for rubbersheeting maps
[19:51:53] <anishshah101> I am new to Leaflet.js so needed some help regarding the use of polygon class
[19:52:05] <chillly> what do you mean by rubbersheeting?
[19:53:17] <anishshah101> rubbersheeting means to stitch, so I have a set of hi-res aerial photos which I will place over the existing satellite images
[19:53:57] -!- Servos4ever has quit [Quit: ChatZilla 0.9.90.1 [SeaMonkey 2.24/20140203230751]]
[19:54:13] <anishshah101> when the scale of the image is same as the scale of the map behind it, I will stitch the new photo with the surrounding map
[19:54:17] <chillly> Ahh, very tricky.
[19:54:33] <anishshah101> yes it is a part of the Mapknitter.org project
[19:54:37] -!- skorasaurus [skorasaurus!~skors@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[19:54:56] <chillly> The polygon class draws vector polygons, not images. No real connection at all.
[19:55:34] <anishshah101> yes, I know that is why I wanted to know if there was a possibility to extend the polygon class so that it supports image fills as well
[19:56:00] <chillly> have you seen the mapwarper.net site. That allows maps to be reprojected - which is what you want to do with aerial images I think.
[19:56:21] <chillly> Map warper is very useful.
[19:57:09] -!- skorasaurus2 [skorasaurus2!~skors@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[19:58:08] <anishshah101> is mapwarper built on leaflet?
[19:59:38] <chillly> I think it uses openLayers to display the maps.
[20:00:13] -!- skorasaurus has quit [Ping timeout: 264 seconds]
[20:00:28] <chillly> The idea of extending the polygon class to show images doesn't seem a runner to me. Polygon is a vector, image is a bitmap - completely different.
[20:01:44] <anishshah101> the existing version of mapknitter also uses OL for doing this, but OL is heavy and complex so we wanted to switch to Leaflet
[20:04:28] <anishshah101> can the imageoverlay class be extended to support bounds which are in the shape of a 4-sided polygon
[20:04:37] <anishshah101> ?
[20:06:57] <chillly> dunno
[20:08:36] -!- skorasaurus2 has quit [Read error: Connection reset by peer]
[20:09:46] -!- skorasaurus2 [skorasaurus2!~skors@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[20:13:22] -!- sumpfralle1 has quit [Read error: Operation timed out]
[20:17:58] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[20:22:04] -!- micges has quit [Read error: Connection reset by peer]
[20:23:13] -!- trufa_ has quit [Ping timeout: 240 seconds]
[20:23:58] -!- trufa [trufa!~trufa@212-183-103-43.adsl.highway.telekom.at] has joined #leaflet
[20:24:15] -!- skorasaurus2 has quit [Remote host closed the connection]
[20:24:39] -!- skorasaurus2 [skorasaurus2!~skors@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[20:26:05] -!- sumpfralle has quit [Ping timeout: 265 seconds]
[20:27:18] -!- sumpfralle1 has quit [Ping timeout: 240 seconds]
[20:29:32] -!- skorasaurus2 has quit [Read error: Connection reset by peer]
[20:29:33] Cylly is now known as Loetmichel
[20:30:46] -!- skorasaurus2 [skorasaurus2!~skors@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[20:32:13] -!- anishshah101 has quit [Quit: Page closed]
[20:38:37] -!- KimK has quit [Ping timeout: 264 seconds]
[20:43:07] -!- sumpfralle1 has quit [Client Quit]
[20:45:49] -!- sumpfralle has quit [Ping timeout: 264 seconds]
[20:47:02] <Tomashe> hey ybon
[20:47:13] <Tomashe> wondering , im using layers to group markers
[20:47:25] <Tomashe> wondering if there is a way to remove a specific marker from a layer?
[20:47:41] -!- skorasaurus2 has quit [Read error: Connection reset by peer]
[20:50:37] -!- sumpfralle2 has quit [Ping timeout: 264 seconds]
[20:52:47] <ybon> Tomashe: yourlayer.removeLayer(yourmarker)
[20:54:13] <Tomashe> but hmm
[20:54:46] <Tomashe> but my marker dont have an id
[20:55:27] <Tomashe> var marker = new L.Marker([value.lat, value.lon], {icon: Icon2 }).bindPopup(popup_html);
[20:55:27] <Tomashe> markers_sup.addLayer(marker);markers_all.addLayer(marker);
[20:55:38] <Tomashe> this is how i implement it , and its inside a dloop
[20:56:23] <ybon> so you basically need to implement the remove method in the same loop
[20:56:38] <ybon> well, implement the method elsewhere but add some listener during your loop
[20:57:53] -!- WalterN has quit [Read error: Operation timed out]
[20:57:55] <Tomashe> hmm
[20:57:57] <Tomashe> ok
[20:58:15] <Tomashe> another question, im using phonegap . and its kinda SLOW how leaflet map loads tiles and movement
[20:58:21] <Tomashe> any idea how to speed things up?
[20:58:39] -!- motioncontrol has quit [Quit: Sto andando via]
[20:59:19] <ybon> nope, no phonegap either for me
[20:59:28] <Tomashe> ok
[20:59:29] <Tomashe> :)
[20:59:34] <Tomashe> thanks
[21:04:27] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@c80-216-22-126.bredband.comhem.se] has joined #leaflet
[21:27:42] -!- Groguard_ has quit [Quit: ZNC - http://znc.in]
[21:31:32] <Tomashe> ybon
[21:31:34] <Tomashe> are u still here?
[21:31:40] <ybon> sort of ;)
[21:31:47] <Tomashe> i created a layers , all , suppliers , users
[21:32:21] <Tomashe> for each i added his things and for all i just added everything in supplier , user, which makes a bit a duplication on my layers on initialization
[21:32:39] <Tomashe> any idea how to just create all layer without really add all markers few times
[21:33:58] <ybon> sorry, I don't get it, is the code visible somewhere? Or you can create a jsfiddle
[21:34:14] <Tomashe> its not
[21:34:17] <Tomashe> but i wil lad it wait
[21:39:14] <Tomashe> http://jsfiddle.net/ryq9Z/
[21:41:50] <Tomashe> im not sure its the right way to do it
[21:42:29] <ybon> let me check
[21:42:56] <ybon> ah, I understand now, "all" is a name of a layer
[21:43:28] <ybon> you don't really want a all layer, you want a button that shows all layers imho
[21:44:37] <ybon> and if you have only two layers, maybe you don't even need a "all"
[21:45:31] <Tomashe> i need
[21:45:33] <ybon> it's at max two clicks for switching from no layers to both layers shown, and as soon as you have one layer shown, it's one click to show all or hide all
[21:45:49] <Tomashe> yes but i want them all together
[21:46:49] <Tomashe> so how exactly do i do it the RIGHT way
[21:46:50] <Tomashe> :)
[21:47:10] -!- Groguard has quit [Quit: Nettalk6 - www.ntalk.de]
[21:47:10] Groguard_ is now known as Groguard
[21:48:52] <Tomashe> so ybon: how do i add that button to show all layers
[21:50:30] <ybon> map.addLayer(yourlayer)/map.removeLayer(yourlayer) is that you want to do at the end
[21:51:21] <Tomashe> hmm
[21:51:35] <Tomashe> and how do i actually add a new button to the layer control that will trigger that?
[21:52:11] <Tomashe> u know a stylish one
[21:54:22] <ybon> man, stylish is up to your app
[21:54:41] <Tomashe> i mean , how can i add a button to the layers control that looks the same
[21:56:05] <ybon> cleaner way is to implement your own control imho
[21:56:22] <ybon> you can extend L.Control.Layers and override onAdd method
[21:56:52] <Tomashe> hmm
[21:57:14] <Tomashe> so basicly create personal controlers and make it on each click "add / remove" layers ?
[21:58:25] <ybon> yes
[21:59:32] <Tomashe> what about preformances
[21:59:36] <Tomashe> faster or slower?
[22:00:13] <ybon> no impact on performance
[22:01:09] <Tomashe> ok
[22:01:12] <Tomashe> let me check then
[22:03:55] -!- skorasaurus2 [skorasaurus2!~skors@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[22:07:25] -!- pjm has quit [Ping timeout: 264 seconds]
[22:13:05] Patang is now known as nilsht
[22:17:44] -!- sumpfralle has quit [Ping timeout: 265 seconds]
[22:27:00] -!- bedah has quit [Quit: Ex-Chat]
[22:29:10] -!- patrickarlt [patrickarlt!~patrickar@c-50-139-85-147.hsd1.or.comcast.net] has joined #leaflet
[22:29:23] -!- chillly has quit [Quit: Leaving]
[22:31:55] <Tomashe> ybon: thank you very much my friend
[22:31:58] <Tomashe> its works like a charm!
[22:33:19] <ybon> :)
[22:33:25] -!- micges has quit [Quit: Leaving]
[22:38:41] <Tomashe> its even made my map fly like crazy
[22:51:34] -!- KimK has quit [Ping timeout: 265 seconds]
[22:51:53] -!- Groguard has quit [Ping timeout: 252 seconds]
[22:52:02] -!- sumpfralle has quit [Client Quit]
[22:59:28] -!- Groguard has quit [Quit: Leaving]
[23:03:21] <Tomashe> ure the man!
[23:03:23] <Tomashe> seriously
[23:04:42] -!- Groguard has quit [Client Quit]
[23:08:00] -!- tinkerer has quit [Quit: Leaving.]
[23:29:10] -!- seltecc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 11.0/20120310193829]]
[23:29:37] -!- skorasaurus2 has quit [Ping timeout: 240 seconds]
[23:29:58] -!- patrickarlt has quit [Quit: Leaving...]
[23:30:29] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[23:30:37] -!- sumpfralle1 has quit [Client Quit]
[23:32:18] -!- Groguard has quit [Quit: Leaving]
[23:39:43] -!- sumpfralle has quit [Quit: Leaving.]
[23:46:08] -!- Groguard has quit [Read error: Connection reset by peer]
[23:46:12] Groguard_ is now known as Groguard
[23:47:26] -!- Groguard has quit [Client Quit]
[23:50:12] -!- GuShH_ has quit [Ping timeout: 252 seconds]
[23:53:13] -!- rob_h has quit [Ping timeout: 240 seconds]