#leaflet | Logs for 2013-12-03

Back
[00:00:52] <patrickarlt> arkgis: ill take a look at this but im heading out for the next hour or 2
[00:01:47] <arkgis> patrickarlt: ok, thanks, appreciate it! i'll post updates if anything sticks :)
[00:03:05] -!- patrickarlt has quit [Remote host closed the connection]
[00:03:42] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[00:08:19] -!- jthornton has quit [Ping timeout: 272 seconds]
[00:08:20] -!- JT-Shop has quit [Ping timeout: 245 seconds]
[00:08:25] -!- patrickarlt has quit [Ping timeout: 272 seconds]
[00:15:56] <racicot> arkgis, there are two circles because the first is used for the dynamic circle that the user is "drawing" when using the circle tool via the UI... and the second is the actual circle added to the map when done
[00:16:26] -!- JT-Shop-2 has quit [Ping timeout: 264 seconds]
[00:16:39] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[00:17:54] <racicot> just remove the temp one with something like: https://gist.github.com/aaronr/982edb16d5fb91ed5ffe
[00:17:59] <arkgis> racicot: thanks. the code i posted is crazy and broken, but im actually getting two rendered circles on the map - which i guess is because two L.Draw.Circles() are called in Draw.Circle.js ? both render fine
[00:18:01] <racicot> after you are done
[00:18:18] <arkgis> ok why not. :) thanks a lot
[00:19:27] <racicot> again, drawing like this (programatically) is not well supported... so you have to kinda hack it in... and the creation of the first circle is required to create the second... then you have to remove the first.
[00:21:31] <arkgis> raricot: thanks again, the hack works perfectly. yeah, i realise it's not there yet, so just playing around. this settled it though, a perfectly acceptable solution after midnight!
[00:21:51] <racicot> nice
[00:27:45] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[00:29:28] <arkgis> raricot: would it work like that with all other layerTypes too? (like Polygon, line, point etc)
[00:31:26] <arkgis> i guess it should
[00:35:00] -!- jfire has quit [Quit: Leaving.]
[00:36:48] -!- skorasaurus [skorasaurus!~skors@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[00:36:54] -!- jfire [jfire!~Adium@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[00:38:24] -!- rob_h has quit [Ping timeout: 265 seconds]
[00:39:24] -!- cwmma [cwmma!~cwmma@c-98-229-58-62.hsd1.ma.comcast.net] has joined #leaflet
[00:40:11] -!- PetefromTn has quit [Remote host closed the connection]
[00:51:12] -!- jthornton has quit [Read error: Connection reset by peer]
[00:52:01] -!- lyzidiamond [lyzidiamond!~lyzi@c-24-21-101-216.hsd1.or.comcast.net] has joined #leaflet
[00:58:42] -!- thomaslindstr_m has quit [Quit: Leaving...]
[01:05:50] -!- The_Ball has quit [Ping timeout: 246 seconds]
[01:08:36] -!- atom1 has quit [Quit: Leaving]
[01:20:51] -!- cnnr [cnnr!~textual@fw.pinterest.com] has joined #leaflet
[01:21:37] -!- cnnr has quit [Client Quit]
[01:39:50] -!- cradek has quit [Quit: sigh, some reboots for updates]
[01:40:39] -!- cwmma has quit [Quit: cwmma]
[01:41:03] -!- KGB-linuxcnc has quit [Quit: KGB-linuxcnc]
[01:46:56] -!- andypugh has quit [Quit: andypugh]
[01:56:35] -!- cwmma [cwmma!~cwmma@c-98-229-58-62.hsd1.ma.comcast.net] has joined #leaflet
[01:56:47] -!- wboykinm has quit [Remote host closed the connection]
[01:58:18] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[02:11:00] -!- lyzidiamond has quit [Quit: lyzidiamond]
[02:11:43] -!- arkgis has quit [Ping timeout: 250 seconds]
[02:15:50] -!- jfire has quit [Ping timeout: 264 seconds]
[02:22:35] -!- asdfasd has quit [Ping timeout: 272 seconds]
[02:22:39] -!- c-bob has quit [Ping timeout: 260 seconds]
[02:27:00] -!- cwmma has quit [Quit: cwmma]
[02:33:12] -!- cradek has quit [Quit: Reconnecting]
[02:33:38] -!- patrickarlt [patrickarlt!~patrickar@c-50-139-85-147.hsd1.or.comcast.net] has joined #leaflet
[02:41:41] -!- jfire [jfire!~Adium@c-50-174-9-218.hsd1.ca.comcast.net] has joined #leaflet
[02:45:25] -!- MacGalempsy has quit [Ping timeout: 245 seconds]
[02:45:42] -!- patrickarlt has quit [Remote host closed the connection]
[03:10:37] -!- sumpfralle1 has quit [Remote host closed the connection]
[03:35:27] -!- Valen has quit [Quit: Leaving.]
[03:40:21] -!- jfire has quit [Quit: Leaving.]
[04:13:31] -!- Jymmm has quit [Remote host closed the connection]
[04:19:38] -!- Tecan has quit [Quit: Live Long And Phosphor!]
[04:25:15] -!- Tecan has quit [Changing host]
[04:29:18] -!- AR_ has quit [Ping timeout: 245 seconds]
[04:33:28] -!- geografa has quit [Quit: Computer has gone to sleep.]
[04:35:06] -!- FinboySlick has quit [Quit: Leaving.]
[04:35:18] -!- FreezingCold has quit [Quit: Out]
[04:44:22] -!- patrickarlt [patrickarlt!~patrickar@c-50-139-85-147.hsd1.or.comcast.net] has joined #leaflet
[04:48:17] -!- ve7it has quit [Remote host closed the connection]
[04:51:09] -!- racicot has quit [Excess Flood]
[04:52:04] -!- racicot [racicot!~racicot@li34-251.members.linode.com] has joined #leaflet
[04:55:00] -!- WalterN_bed has quit [Ping timeout: 245 seconds]
[05:18:35] -!- wboykinm has quit [Remote host closed the connection]
[05:19:01] -!- NickParker has quit [Ping timeout: 248 seconds]
[05:23:37] -!- NickParker|2 has quit [Ping timeout: 246 seconds]
[05:25:51] -!- patrickarlt has quit [Remote host closed the connection]
[05:26:28] -!- crank has quit [Ping timeout: 265 seconds]
[05:32:31] -!- Felix29 has quit []
[05:46:37] -!- Nekosan has quit [Quit: later folks...]
[05:49:56] -!- racicot has quit [Changing host]
[05:49:56] -!- racicot [racicot!~racicot@osgeo/member/racicot] has joined #leaflet
[06:02:55] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[06:06:07] -!- dgarr has quit [Ping timeout: 260 seconds]
[06:11:05] -!- FreezingCold has quit [Quit: Out]
[06:46:27] -!- glangaas has quit [Ping timeout: 250 seconds]
[06:58:36] -!- lyzidiamond [lyzidiamond!~lyzi@c-24-21-210-23.hsd1.or.comcast.net] has joined #leaflet
[07:21:28] -!- The_Ball has quit [Ping timeout: 264 seconds]
[07:44:18] -!- terabyte- has quit [Quit: terabyte-]
[07:47:00] -!- lyzidiamond has quit [Quit: lyzidiamond]
[07:55:27] -!- Komzpa [Komzpa!~kom@178.154.23.130] has joined #leaflet
[08:01:55] -!- GuShh_ has quit [Ping timeout: 260 seconds]
[08:02:16] -!- freeform has quit [Ping timeout: 264 seconds]
[08:27:14] -!- lyzidiamond [lyzidiamond!~lyzi@c-24-21-210-23.hsd1.or.comcast.net] has joined #leaflet
[08:39:25] c-bob| is now known as c-bob|afk
[08:41:50] -!- lyzidiamond has quit [Quit: lyzidiamond]
[08:41:55] -!- Acrob [Acrob!c1367896@gateway/web/cgi-irc/kiwiirc.com/ip.193.54.120.150] has joined #leaflet
[08:41:55] -!- odogono [odogono!~odogono@cpc14-king9-2-0-cust212.19-1.cable.virginm.net] has joined #leaflet
[08:41:58] <Acrob> Hi !
[08:42:20] <Acrob> I have a problem and I hope you can help me.
[08:43:54] <Acrob> In a map, I have different layer (containing overlay, tileLayer ...). I want to generate a new layer based on the previous one (with some image processing)
[08:44:06] <Acrob> For example
[08:45:28] <Acrob> I have an imageOverlay in layer 1 and a red line in layer 2. I want to have a new layer (imageOverlay) with all pixel from image and white pixel where there is the red line
[08:46:17] <Acrob> I didn't know how I can solve this problem because leaflet is not very suitable for this kind of operation.
[08:47:26] -!- xxoxx has quit [Ping timeout: 240 seconds]
[08:48:53] <Acrob> Is my problem understable ? Have you some idea to solve this ?
[08:52:05] -!- HK_ [HK_!4ec0fc79@gateway/web/freenode/ip.78.192.252.121] has joined #leaflet
[08:56:54] <Acrob> Is it possible to loop on pixel screen over the different layer ?
[09:01:11] -!- DennisL [DennisL!~OSRM@irasquid.ira.uni-karlsruhe.de] has joined #leaflet
[09:01:12] <Acrob> If it is possible, I could loop over pixels of the map (layer1, layer2 ...) and I could draw on a canvas the result for each pixel (and add the canvas as a layer)
[09:01:54] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@37-46-176-106.customers.ownit.se] has joined #leaflet
[09:03:09] <Acrob> no idea ? or I didn't explain well my problem ?
[09:05:38] -!- archivist_herron has quit [Ping timeout: 264 seconds]
[09:18:02] -!- Komzzpa [Komzzpa!~kom@185.6.25.94] has joined #leaflet
[09:19:34] <HK_> Hi, does someone know how to center the map on a popup when binding it ?
[09:19:57] -!- Komzpa has quit [Ping timeout: 272 seconds]
[09:21:55] -!- a1cypher1 has quit [Remote host closed the connection]
[09:27:13] -!- The_Ball has quit [Ping timeout: 245 seconds]
[09:28:31] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[09:49:43] -!- Komzzpa has quit [Ping timeout: 245 seconds]
[09:51:07] -!- zoni1983 has quit [Ping timeout: 260 seconds]
[10:00:35] -!- HK_ has quit [Ping timeout: 250 seconds]
[10:03:16] -!- Komzzpa [Komzzpa!~kom@178.154.4.121] has joined #leaflet
[10:09:40] -!- HK_ [HK_!4ec0fc79@gateway/web/freenode/ip.78.192.252.121] has joined #leaflet
[10:10:07] _DJ_ is now known as Deejay
[10:23:52] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[10:28:12] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[10:34:40] -!- archivist_herron has quit [Ping timeout: 264 seconds]
[10:38:04] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[10:38:32] -!- b_b has quit [Changing host]
[10:38:32] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[10:42:38] -!- tom_o_t has quit [Ping timeout: 246 seconds]
[10:48:05] -!- arekm has quit [Ping timeout: 248 seconds]
[10:52:28] -!- arekm has quit [Remote host closed the connection]
[10:55:44] -!- tom_o_t [tom_o_t!tom_o_t@drupal.org/user/125573/view] has joined #leaflet
[11:20:31] -!- FreezingCold has quit [Read error: Operation timed out]
[11:24:54] -!- Valen has quit [Quit: Leaving.]
[11:35:58] -!- xxoxx has quit [Ping timeout: 245 seconds]
[11:38:42] -!- skunkworks has quit [Remote host closed the connection]
[11:42:18] -!- paul0 has quit [Read error: Connection reset by peer]
[11:46:08] -!- paul0 [paul0!~paul0@177.16.203.28] has joined #leaflet
[11:49:31] -!- Komzzpa has quit [Ping timeout: 272 seconds]
[11:49:35] -!- xxoxx has quit [Read error: Connection reset by peer]
[11:56:23] -!- Lars_ [Lars_!5768ec02@gateway/web/freenode/ip.87.104.236.2] has joined #leaflet
[11:57:55] -!- HK_ has quit [Quit: Page closed]
[12:04:27] -!- chillly [chillly!~chris@adsl-178-78-91-198.karoo.kcom.com] has joined #leaflet
[12:12:25] <Lars_> After I create the Map - I change map div height - the lower part will not receive tiles ? http://jsfiddle.net/lmojo/75fCh/
[12:17:02] -!- cwmma [cwmma!~cwmma@50-199-248-46-static.hfc.comcastbusiness.net] has joined #leaflet
[12:18:34] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[12:22:27] -!- archivist_herron has quit [Ping timeout: 272 seconds]
[12:24:21] -!- crank has quit [Ping timeout: 272 seconds]
[12:24:41] <chillly> Lars_, I think you have to use map.invalidateSize() so the extra tiles are requested.
[12:28:41] <Lars_> chillly:Thx it worked http://jsfiddle.net/lmojo/75fCh/1/ - Must slow down to read through the documentation.... :-)
[12:31:33] -!- xxoxx has quit [Ping timeout: 252 seconds]
[12:33:56] -!- korobovkk has quit [Ping timeout: 245 seconds]
[12:35:08] -!- crank has quit [Ping timeout: 245 seconds]
[12:36:59] -!- chillly has quit [Remote host closed the connection]
[12:41:07] -!- crank has quit [Ping timeout: 246 seconds]
[12:45:49] -!- Komzzpa [Komzzpa!~kom@178.154.115.187] has joined #leaflet
[12:47:59] -!- FreezingCold has quit [Ping timeout: 260 seconds]
[12:49:38] -!- chillly [chillly!~chris@adsl-178-78-91-198.karoo.kcom.com] has joined #leaflet
[12:53:16] -!- Tecan has quit [Quit: Live Long And Phosphor!]
[13:01:02] -!- skunkworks has quit [Ping timeout: 240 seconds]
[13:02:16] -!- Lars_ [Lars_!5768ec02@gateway/web/freenode/ip.87.104.236.2] has parted #leaflet
[13:05:39] -!- Komzzpa has quit [Ping timeout: 252 seconds]
[13:13:00] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[13:20:00] -!- i_tarzan has quit [Ping timeout: 245 seconds]
[13:27:45] -!- syyl-- has quit [Ping timeout: 252 seconds]
[13:30:46] -!- ravenlock has quit [Ping timeout: 265 seconds]
[13:31:23] -!- Acrob has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
[13:33:21] -!- psha[work] [psha[work]!~psha@psha.org.ru] has joined #leaflet
[13:41:13] -!- tomyto [tomyto!c1367896@gateway/web/cgi-irc/kiwiirc.com/ip.193.54.120.150] has joined #leaflet
[13:41:16] <tomyto> hi
[13:41:50] <tomyto> I did : drawnItems.getLayers()
[13:41:59] <tomyto> and now I would like to know the type of the layer
[13:42:05] <tomyto> to use the appropriate function
[13:42:10] <tomyto> how could I do that ?
[13:42:56] <tomyto> do I need to do instanceof ?
[13:43:12] <b_b> instanceof is a way to do that yes
[13:43:24] <ybon> tomyto: https://github.com/yohanboniface/Leaflet.Storage/blob/master/src/js/leaflet.storage.js#L167 as an example
[13:43:54] <tomyto> ok. Why there is no a type variable for a layer to check this type ?
[13:43:56] <b_b> tou could use toGeoJSON too
[13:44:34] <b_b> -t+y
[13:44:37] <b_b> lo ybon :)
[13:44:42] <ybon> 'llo b_b :)
[13:45:11] <tomyto> e.layerType perfect !
[14:00:35] -!- Demiurge has quit [Read error: Connection reset by peer]
[14:02:27] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[14:07:40] -!- FreezingCold has quit [Ping timeout: 264 seconds]
[14:08:27] `Nerobro_ is now known as `Nerobro
[14:15:09] -!- kjoller [kjoller!~kjoller@131.165.177.65] has joined #leaflet
[14:21:13] -!- maximilian_h has quit [Ping timeout: 246 seconds]
[14:27:51] -!- tomyto has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
[14:28:38] -!- archivist_herron has quit [Ping timeout: 240 seconds]
[14:29:05] -!- patrickarlt [patrickarlt!~patrickar@c-50-139-85-147.hsd1.or.comcast.net] has joined #leaflet
[14:41:03] -!- tmcw_ [tmcw_!~tmcw@c-68-50-174-188.hsd1.dc.comcast.net] has joined #leaflet
[14:42:14] -!- xxoxx has quit [Read error: Connection timed out]
[14:43:33] -!- Demiurge_ [Demiurge_!~Demiurge@198.0.135.150] has joined #leaflet
[14:44:02] -!- Demiurge has quit [Ping timeout: 264 seconds]
[14:45:23] -!- MacGalempsy has quit [Read error: Connection reset by peer]
[14:48:14] -!- Demiurge_ has quit [Ping timeout: 264 seconds]
[14:48:20] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[14:48:25] -!- Demiurge has quit [Client Quit]
[14:49:36] -!- ravenlock has quit [Ping timeout: 252 seconds]
[14:50:14] -!- archivist_herron has quit [Ping timeout: 240 seconds]
[14:50:16] -!- zzolo [zzolo!~zzolo@c-75-72-166-46.hsd1.mn.comcast.net] has joined #leaflet
[14:58:08] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[14:58:24] -!- patrickarlt has quit [Remote host closed the connection]
[15:07:52] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[15:08:39] -!- Valen has quit [Quit: Leaving.]
[15:08:54] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[15:09:22] -!- b_b has quit [Changing host]
[15:09:22] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[15:36:38] -!- Komzzpa [Komzzpa!~kom@mm-71-245-57-86.leased.line.mgts.by] has joined #leaflet
[15:37:04] -!- arkgis [arkgis!54d786f8@gateway/web/freenode/ip.84.215.134.248] has joined #leaflet
[15:39:05] -!- thomaslindstr_m has quit [Quit: Leaving...]
[15:45:51] -!- kjoller has quit [Quit: Nettalk6 - www.ntalk.de]
[15:47:53] -!- MacGalempsy has quit [Read error: Connection reset by peer]
[15:50:15] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[15:52:39] -!- zzolo has quit [Quit: zzolo]
[15:53:19] -!- chillly has quit [Remote host closed the connection]
[15:56:05] -!- zzolo [zzolo!~zzolo@c-75-72-166-46.hsd1.mn.comcast.net] has joined #leaflet
[15:59:03] -!- sheppard has quit [Quit: Ex-Chat]
[16:00:28] krusty_ar is now known as lonely_girl15
[16:02:33] -!- tmcw_ has quit [Remote host closed the connection]
[16:05:32] <patrickarlt> arkgis: had a change to look at your code if your goal is to just draw some shapes on the map that can be edited then you can just do something like "circle.editing.enable()" and listen for circle.on("edit", callback) where "circle" is just an instance of http://leafletjs.com/reference.html#circle
[16:05:33] -!- archivist_herron has quit [Ping timeout: 245 seconds]
[16:06:28] <patrickarlt> you dont have to use the drawing tools to create shapes that you can edit later
[16:09:02] <arkgis> patrickarlt: oh really? that's actually great news, thanks a lot. i wasn't sure if editing was supported outside of L.Draw. this really simplifies things.
[16:09:34] <arkgis> especially considering i'm doing it for all shapes
[16:09:44] <patrickarlt> I should just do write some doc on how to use the drawing plugin without the toolbar. Had to do it for a project recently
[16:09:59] <arkgis> patrickarlt: i guess that would be amazing, yeah. :)
[16:10:15] <patrickarlt> we just enabled the editing tool when a user clicked on the shape worked out pretty well
[16:10:27] -!- sheppard [sheppard!~sheppard@75-146-187-1-Minnesota.hfc.comcastbusiness.net] has joined #leaflet
[16:12:42] <arkgis> ok cool. well, i love open source, saves us all time ;)
[16:12:49] -!- tmcw_ [tmcw_!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[16:12:51] -!- kwallace has quit [Ping timeout: 260 seconds]
[16:14:59] -!- odogono has quit [Read error: Connection reset by peer]
[16:15:37] -!- odogono [odogono!~odogono@cpc14-king9-2-0-cust212.19-1.cable.virginm.net] has joined #leaflet
[16:18:09] -!- MacGalempsy has quit [Remote host closed the connection]
[16:21:03] -!- kwallace has quit [Ping timeout: 246 seconds]
[16:25:39] -!- sumpfralle has quit [Quit: Leaving.]
[16:25:42] -!- sumpfralle2 has quit [Quit: Leaving.]
[16:29:44] -!- wboykinm has quit [Remote host closed the connection]
[16:32:31] -!- geografa [geografa!~textual@c-76-105-168-198.hsd1.or.comcast.net] has joined #leaflet
[16:34:36] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[16:35:26] -!- i_tarzan_ has quit [Ping timeout: 240 seconds]
[16:41:51] -!- Connor1 has quit [Read error: No route to host]
[16:44:33] -!- Komzzpa has quit [Ping timeout: 272 seconds]
[16:49:08] -!- tmcw_ has quit [Remote host closed the connection]
[16:49:45] -!- tmcw_ [tmcw_!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[16:49:56] -!- tmcw_ has quit [Read error: Connection reset by peer]
[16:50:25] -!- tmcw_ [tmcw_!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[16:51:35] -!- jlrodriguez has quit [Quit: Saliendo]
[16:57:35] -!- MattyMatt has quit [Ping timeout: 260 seconds]
[16:58:13] lonely_girl15 is now known as krusty_ar
[17:00:07] <arkgis> patrickarlt: although your solution works fine for getting editable layers, they are not inside the functionality of Leaflet.Draw, ie. the edit button/func on the LD toolbar is not connected with the manually inserted layers. would be nice to just add the layers to LD's stockpile
[17:00:38] -!- _rambo [_rambo!~chatzilla@163.Red-83-45-231.dynamicIP.rima-tde.net] has joined #leaflet
[17:02:55] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@37-46-176-106.customers.ownit.se] has joined #leaflet
[17:03:45] -!- Demiurge has quit [Remote host closed the connection]
[17:03:47] <patrickarlt> arkgis: take a look at the bottom of the example config
[17:03:48] <patrickarlt> https://github.com/Leaflet/Leaflet.draw#example-leafletdraw-config
[17:03:50] <arkgis> would adding layers to FeatureGroup work?
[17:04:10] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[17:04:16] <arkgis> yeah im looking at it :)
[17:04:21] <patrickarlt> yeah looks like you have to give the toolbar a featureGroup of layers you want to be editable.
[17:05:19] <arkgis> i'l try that. thanks a lot.
[17:08:53] -!- terabyte- has quit [Ping timeout: 248 seconds]
[17:09:28] -!- hm2-buildmaster has quit [Remote host closed the connection]
[17:09:31] -!- linuxcnc-build has quit [Remote host closed the connection]
[17:10:16] <arkgis> patrickarlt: works like a charm. thanks!
[17:10:51] <arkgis> don't even need layer.editing.enable()
[17:11:43] <patrickarlt> i guess im just not used to actually using the toolbar
[17:12:07] -!- donkey has quit [Ping timeout: 260 seconds]
[17:12:58] <arkgis> yeah... leaflet.js is really beautiful code :)
[17:13:45] -!- wboykinm has quit [Remote host closed the connection]
[17:19:54] -!- `Nerobro has quit [Remote host closed the connection]
[17:20:02] -!- jleh has quit [Ping timeout: 264 seconds]
[17:21:29] -!- chillly [chillly!~chris@adsl-178-78-91-198.karoo.kcom.com] has joined #leaflet
[17:24:22] -!- thomaslindstr_m has quit [Quit: Leaving...]
[17:25:21] -!- psha[work] has quit [Quit: Lost terminal]
[17:26:23] -!- jleh [jleh!~juusoleh@melkinpaasi.cs.helsinki.fi] has joined #leaflet
[17:29:34] -!- weazyo has quit [Quit: Connection closed for inactivity]
[17:33:01] -!- mackerski has quit [Quit: mackerski]
[17:36:10] -!- terabyte- has quit [Quit: terabyte-]
[17:53:32] -!- jfire [jfire!~Adium@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[17:57:35] -!- wboykinm [wboykinm!~wboykinm@2620:104:e001:9010:ab65:7570:475f:2de1] has joined #leaflet
[18:00:20] -!- tomkralidis [tomkralidis!~tkralidi@osgeo/member/tomkralidis] has joined #leaflet
[18:06:21] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[18:10:07] -!- krusty_ar has quit [Ping timeout: 246 seconds]
[18:11:52] -!- xxoxx has quit [Ping timeout: 264 seconds]
[18:24:35] -!- md-2 has quit [Remote host closed the connection]
[18:25:02] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[18:28:53] -!- sumpfralle1 has quit [Ping timeout: 248 seconds]
[18:29:09] -!- md-2 has quit [Ping timeout: 246 seconds]
[18:29:28] -!- mackerski [mackerski!~dermot@89.101.4.88] has joined #leaflet
[18:30:02] -!- mackerski has quit [Client Quit]
[18:32:16] -!- DennisL has quit [Ping timeout: 264 seconds]
[18:32:50] -!- Demiurge has quit [Read error: Connection reset by peer]
[18:35:59] <tomkralidis> hi, we've implemented map.fitWorld() for our forthcoming webapp, but we're looking for a leaflet-ish "zoom to globe" type icon. Anything like this exist?
[18:39:42] -!- William798 has quit [Quit: Connection closed for inactivity]
[18:40:18] -!- patrickarlt has quit [Remote host closed the connection]
[18:41:30] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[18:42:44] -!- almccon has quit [Quit: Leaving.]
[18:43:16] -!- almccon [almccon!~Adium@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[18:43:26] <b_b> plenty of globes are available here tomkralidis
[18:43:28] <b_b> http://thenounproject.com/noun/globe/#icon-No247
[18:45:47] -!- Loetmichel has quit [Disconnected by services]
[18:45:50] Cylly is now known as Loetmichel
[18:55:17] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[18:56:01] -!- FreezingCold has quit [Remote host closed the connection]
[18:56:34] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[18:59:22] <tomkralidis> thanks b_b
[18:59:43] -!- md-2 has quit [Ping timeout: 240 seconds]
[19:11:45] <Reventlov> How to represent a geographical circle with leaflet ?
[19:11:46] -!- syyl_ws has quit [Quit: Verlassend]
[19:14:12] -!- Gabriel_56 has quit [Remote host closed the connection]
[19:15:00] <patrickarlt> Reventlov: its in the API Reference http://leafletjs.com/reference.html#circle
[19:15:11] <Reventlov> patrickarlt: it's not a geographic circle.
[19:17:22] <patrickarlt> its not a true geographic circle but unless your working with state/province size circles the difference between a mercator circle and real geodesic circle will be minimal
[19:17:56] <Reventlov> and i'm not.
[19:17:59] <Reventlov> Hence the question.
[19:18:44] <Reventlov> (or, i am working with state/province/country size circles)
[19:18:51] <b_b> i've seen something about that Reventlov
[19:18:53] <b_b> let me search
[19:19:12] <patrickarlt> https://github.com/Leaflet/Leaflet/issues/1463
[19:19:35] <patrickarlt> got closed as a plugin canidate
[19:20:05] <b_b> http://dbsgeo.com/arc.js/
[19:20:36] <Reventlov> then saying that the radius is in meter is bullshit
[19:20:48] <Reventlov> and misleading. Imo.
[19:21:22] <b_b> nice
[19:21:29] <patrickarlt> leaflet is designed as a tool for web developers first handling projections is not something 90+% of developers want to/need to handle
[19:21:30] <b_b> u're welcome :)
[19:21:57] <Reventlov> b_b: ty :)
[19:22:06] <Reventlov> patrickarlt: well, this is still bullshit and misleading.
[19:22:11] -!- kostajh [kostajh!~kostajh@cpe-075-177-181-190.nc.res.rr.com] has joined #leaflet
[19:22:12] <tmcw_> Reventlov: units in mercator are 'mercator meters'
[19:22:27] <Reventlov> tmcw_: I think it should be written somewhere, then.
[19:22:43] <tmcw_> then fork & change
[19:22:56] <Reventlov> fork ?
[19:23:01] <Reventlov> sure.
[19:23:02] <patrickarlt> Reventlov: im not disagreeing with you i know its not entirely accurate but its really good enough for most use cases I would love to see a geodesic circle plugin through
[19:23:26] <Reventlov> I'm just saying: it's bullshit to say it's meter. If you say it's mercator meters, it's cool
[19:23:47] <kostajh> is anyone using Leaflet Ajax (https://github.com/calvinmetcalf/leaflet-ajax)? when using `geojsonLayer.addUrl(/path/to/my.geojson)`, where `my.geojson` contains Polyline data, I'm not quite sure how I can go about adding styles for Polylines as described here (https://www.mapbox.com/mapbox.js/example/v1.0.0/polyline/)
[19:23:52] <patrickarlt> adn then we get 100+ people in this chat asking us what the hell a mercator meter is
[19:23:57] <Reventlov> but don't say it is meter. The fact that there is no func for drawing true geographic circle is not really a "big" problem
[19:24:12] <Reventlov> pretending the circle's radius is in meter is.
[19:24:29] <tmcw_> man, chill.
[19:24:36] <Reventlov> ?
[19:24:46] <Reventlov> I'm not angry. Why should I chill ?
[19:25:07] <Reventlov> patrickarlt: and they will learn something. Like I did. Is that a problem ?
[19:25:13] <tmcw_> it's hard to tell on the internet that someone's not angry when they start saying 'bullshit' a lot
[19:25:18] <Reventlov> Or is this chat not here for answering peoples
[19:25:21] -!- aaronpk [aaronpk!~aaronpk@c-24-22-31-54.hsd1.or.comcast.net] has joined #leaflet
[19:25:24] <Reventlov> tmcw_: oh, sorry: it's totally misleading
[19:25:26] -!- jerrysv [jerrysv!~jerrysv@198.102.43.49] has joined #leaflet
[19:25:27] <Reventlov> and misinformation
[19:25:30] <Reventlov> better ? :)
[19:25:37] <tmcw_> google for geodesic circles, or implement it.
[19:25:48] <Reventlov> just fix the documentation
[19:26:10] <Reventlov> that's what I'm asking: use the term mercator meters, don't use the term "meter" alone, without a background.
[19:26:19] <tmcw_> Reventlov: https://github.com/Leaflet/Leaflet/blob/gh-pages/reference.html
[19:26:21] <tmcw_> click 'Edit'
[19:26:27] <Reventlov> ok, let's go :)
[19:26:58] <Reventlov> You are editing a file in a project you do not have write access to. :)
[19:27:14] <Reventlov> then, someone will have to accept it.
[19:27:35] <jerrysv> pull request :)
[19:36:35] -!- patrickarlt has quit [Remote host closed the connection]
[19:42:51] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@c80-216-4-133.bredband.comhem.se] has joined #leaflet
[19:56:01] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[19:57:30] -!- zzolo has quit [Quit: zzolo]
[20:00:36] -!- md-2 has quit [Ping timeout: 245 seconds]
[20:02:14] -!- GuShH has quit [Ping timeout: 240 seconds]
[20:04:02] -!- Deejay has quit [Disconnected by services]
[20:04:03] Deejay_ is now known as Deejay
[20:04:33] Deejay is now known as Guest91570
[20:05:09] Guest91570 is now known as Deejay_
[20:05:25] Deejay_ is now known as Dee_jay
[20:11:38] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[20:13:31] -!- krusty_ar_ [krusty_ar_!~quassel@host101.190-231-73.telecom.net.ar] has joined #leaflet
[20:14:22] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[20:14:50] -!- patrickarlt has quit [Remote host closed the connection]
[20:16:21] -!- wboykinm has quit [Remote host closed the connection]
[20:17:24] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[20:19:17] -!- FreezingCold has quit [Ping timeout: 248 seconds]
[20:21:22] -!- freeform has quit [Read error: Connection reset by peer]
[20:22:39] -!- wboykinm [wboykinm!~wboykinm@132.198.95.255] has joined #leaflet
[20:23:30] -!- patrickarlt has quit [Remote host closed the connection]
[20:26:13] -!- Dee_jay has quit [Changing host]
[20:27:26] -!- geografa has quit [Quit: Computer has gone to sleep.]
[20:28:46] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[20:35:31] -!- voxadam has quit [Quit: quit]
[20:36:01] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[20:44:31] -!- vladimirek has quit [Remote host closed the connection]
[20:48:37] -!- patrickarlt has quit [Read error: Connection reset by peer]
[20:48:53] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[20:49:01] -!- wboykinm has quit [Remote host closed the connection]
[20:51:07] -!- mrsun has quit [Disconnected by services]
[20:51:57] Dee_jay is now known as Deejay
[20:53:25] -!- patrickarlt has quit [Ping timeout: 248 seconds]
[20:54:02] -!- jfire has quit [Quit: Leaving.]
[20:55:00] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[20:56:46] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[21:01:25] -!- md-2 has quit [Ping timeout: 248 seconds]
[21:07:04] -!- cwmma has quit [Quit: cwmma]
[21:08:04] -!- skunkworks_ has quit [Read error: Connection reset by peer]
[21:11:41] -!- voxadam has quit [Read error: Connection reset by peer]
[21:13:06] -!- geografa [geografa!~textual@75-92-173-83.war.clearwire-wmx.net] has joined #leaflet
[21:13:25] -!- odogono has quit [Quit: odogono]
[21:14:39] -!- zzolo has quit [Quit: zzolo]
[21:17:39] -!- freeform has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
[21:20:22] -!- ler_hydra has quit [Remote host closed the connection]
[21:23:56] <arkgis> how can i add another icon to Leaflet.Draw toolbar? I want to add a text-editing tool.
[21:24:35] -!- jfire [jfire!~Adium@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[21:25:18] -!- Aero-Tec has quit [Quit: Leaving]
[21:26:15] -!- almccon has quit [Ping timeout: 245 seconds]
[21:26:37] -!- wboykinm [wboykinm!~wboykinm@sbhsa53.ma.burl.vt.sover.net] has joined #leaflet
[21:26:56] -!- almccon [almccon!~Adium@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[21:44:41] <arkgis> how can i add another icon to Leaflet.Draw toolbar? I want to add a text-editing tool.
[21:46:15] -!- hashfail has quit [Ping timeout: 245 seconds]
[21:47:52] -!- jst_ has quit [Remote host closed the connection]
[21:49:00] -!- toner has quit [Ping timeout: 246 seconds]
[21:55:07] -!- PCW has quit [Remote host closed the connection]
[21:57:32] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[22:02:20] -!- md-2 has quit [Ping timeout: 260 seconds]
[22:06:08] -!- tomkralidis has quit [Quit: leaving]
[22:06:24] -!- FinboySlick has quit [Quit: Leaving.]
[22:07:07] -!- MattyMatt has quit [Ping timeout: 260 seconds]
[22:08:59] -!- Deejay has quit [Quit: bye]
[22:12:34] -!- wboykinm has quit [Remote host closed the connection]
[22:14:05] -!- Komzzpa [Komzzpa!~kom@178.154.122.90] has joined #leaflet
[22:17:11] -!- slide [slide!~slide@unaffiliated/slide] has parted #leaflet
[22:31:22] -!- mozmck has quit [Read error: Connection reset by peer]
[22:34:34] -!- motioncontrol has quit [Quit: Sto andando via]
[22:34:36] -!- terabyte- has quit [Quit: terabyte-]
[22:36:17] -!- norbert has quit [Quit: Verlassend]
[22:38:23] -!- kostajh has quit [Ping timeout: 246 seconds]
[22:40:53] -!- chillly has quit [Quit: Leaving]
[22:53:57] -!- _rambo has quit [Ping timeout: 248 seconds]
[22:55:20] -!- White-- [White--!5b00d5b8@gateway/web/freenode/ip.91.0.213.184] has joined #leaflet
[22:55:50] -!- The_Ball has quit [Ping timeout: 240 seconds]
[22:56:18] <White--> Is there a very easy event to register on which is fired whenever the map is finished "changing". Be it drag, zoom and so on. It is imporant that the map "stands still" and all tiles are loaded
[23:02:42] -!- micges has quit [Quit: Leaving]
[23:03:01] -!- afiber__ has quit [Quit: Konversation terminated!]
[23:04:59] -!- |1li [|1li!~|1li@108-201-65-149.lightspeed.ftwotx.sbcglobal.net] has joined #leaflet
[23:05:17] `Nerobro is now known as `NeroDEAD
[23:06:45] -!- terabyte- has quit [Quit: terabyte-]
[23:10:12] -!- zorg_ has quit [Ping timeout: 246 seconds]
[23:11:59] -!- patricka_ [patricka_!~patrickar@198.102.43.49] has joined #leaflet
[23:14:10] -!- patrickarlt has quit [Ping timeout: 245 seconds]
[23:32:43] -!- tmcw_ has quit [Remote host closed the connection]
[23:36:47] -!- tmcw_ [tmcw_!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[23:37:38] -!- jasen_ has quit [Quit: Page closed]
[23:40:01] -!- arkgis has quit [Ping timeout: 250 seconds]
[23:45:01] <tmcw_> White--: http://leafletjs.com/reference.html#map-viewreset
[23:48:22] -!- tmcw_ has quit [Remote host closed the connection]