#leaflet | Logs for 2014-01-21

Back
[00:03:33] -!- uw has quit [Quit: Leaving]
[00:03:53] -!- rob_h has quit [Ping timeout: 252 seconds]
[00:07:15] -!- PCW has quit [Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310]]
[00:16:32] -!- linuxcnc-build has quit [Ping timeout: 252 seconds]
[00:35:33] -!- arvidkahl [arvidkahl!~arvidkahl@brln-4db9c11b.pool.mediaWays.net] has joined #leaflet
[00:40:12] -!- lyzidiamond has quit [Quit: lyzidiamond]
[00:41:38] -!- krusty_ar has quit [Read error: Connection reset by peer]
[00:46:38] -!- thomaslindstr_m has quit [Quit: Leaving...]
[00:48:23] -!- lyzidiamond [lyzidiamond!~lyzidiamo@70-36-227-121.dsl.dynamic.sonic.net] has joined #leaflet
[00:56:43] -!- skorasaurus [skorasaurus!~skors@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[01:01:22] -!- Nick001 has quit []
[01:10:12] -!- lyzidiamond has quit [Quit: lyzidiamond]
[01:10:56] -!- basiclaser has quit [Excess Flood]
[01:11:13] -!- lyzidiamond [lyzidiamond!~lyzidiamo@70-36-227-121.dsl.dynamic.sonic.net] has joined #leaflet
[01:12:06] -!- basiclaser [basiclaser!Elite7488@gateway/shell/elitebnc/x-iqsckvwresfxigoo] has joined #leaflet
[01:19:56] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[01:32:50] -!- lyzidiamond has quit [Quit: lyzidiamond]
[01:33:21] -!- tugge has quit [Ping timeout: 252 seconds]
[01:38:48] -!- lyzidiamond [lyzidiamond!~lyzidiamo@70-36-227-121.dsl.dynamic.sonic.net] has joined #leaflet
[01:40:19] -!- micges has quit [Quit: Leaving]
[01:42:46] -!- Tom_itx has quit [Ping timeout: 265 seconds]
[01:43:21] -!- zlog has quit [Ping timeout: 272 seconds]
[01:44:37] -!- atom1 has quit [Ping timeout: 272 seconds]
[01:59:59] -!- Komzzpa [Komzzpa!~kom@5.149.156.131] has joined #leaflet
[02:00:27] -!- Komzpa has quit [Read error: No route to host]
[02:05:51] -!- tchaddad has quit [Remote host closed the connection]
[02:13:45] -!- WalterN has quit [Ping timeout: 272 seconds]
[02:19:01] -!- Tecan has quit [Ping timeout: 265 seconds]
[02:21:32] c-bob| is now known as c-bob|afk
[02:21:37] -!- c-bob has quit [Ping timeout: 246 seconds]
[02:24:05] -!- asdfasd has quit [Ping timeout: 248 seconds]
[02:27:49] -!- asdfasd1 has quit [Ping timeout: 248 seconds]
[02:32:11] -!- garfong has quit [Quit: Leaving]
[02:36:00] -!- terabyte- has quit [Client Quit]
[02:56:11] -!- sumpfralle has quit [Ping timeout: 272 seconds]
[02:58:53] default_ is now known as Nostoc
[03:02:14] -!- FreezingCold has quit [Ping timeout: 246 seconds]
[03:10:10] -!- FinboySlick has quit [Quit: Leaving.]
[03:11:26] -!- paideia has quit [Ping timeout: 252 seconds]
[03:15:56] -!- tchaddad [tchaddad!~tchaddad@67-5-219-19.ptld.qwest.net] has joined #leaflet
[03:16:03] -!- AR__ has quit [Ping timeout: 265 seconds]
[03:20:08] -!- wboykinm has quit [Remote host closed the connection]
[03:31:32] -!- jbr has quit [Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310]]
[03:39:48] -!- PetefromTn has quit [Remote host closed the connection]
[03:41:26] -!- garfong has quit [Read error: Connection reset by peer]
[03:58:39] -!- racicot has quit [Changing host]
[03:58:39] -!- racicot [racicot!~racicot@osgeo/member/racicot] has joined #leaflet
[03:59:47] -!- linuxonapotato has quit [Ping timeout: 272 seconds]
[03:59:52] -!- Nostoc has quit [Quit: Ex-Chat]
[04:05:34] -!- paideia has quit [Ping timeout: 246 seconds]
[04:13:48] -!- atom1 has quit [Quit: Leaving]
[04:16:15] -!- kwallace2 has quit [Ping timeout: 272 seconds]
[04:36:30] -!- dgarr has quit [Quit: Leaving.]
[04:51:18] -!- lyzidiamond has quit [Quit: lyzidiamond]
[04:55:33] -!- gimps has quit [Ping timeout: 248 seconds]
[05:08:11] -!- paideia has quit [Ping timeout: 265 seconds]
[05:12:21] -!- someone972 has quit [Ping timeout: 272 seconds]
[05:23:29] -!- Spida has quit [Ping timeout: 272 seconds]
[05:28:37] -!- crank has quit [Ping timeout: 248 seconds]
[05:43:29] -!- ve7it has quit [Remote host closed the connection]
[05:55:50] -!- tchaddad has quit [Remote host closed the connection]
[06:01:01] -!- ries has quit [Quit: ries]
[06:02:07] -!- Fox_Muldr has quit [Ping timeout: 246 seconds]
[06:33:13] -!- GJdan has quit [Quit: WeeChat 0.4.2]
[06:35:17] -!- tjtr33 has quit [Quit: Leaving]
[06:39:09] -!- crank has quit [Ping timeout: 252 seconds]
[06:53:52] -!- someone972 has quit [Read error: Operation timed out]
[06:56:05] -!- The_Ball has quit [Ping timeout: 248 seconds]
[07:02:07] -!- crank has quit [Remote host closed the connection]
[07:15:15] -!- Komzzpa has quit [Remote host closed the connection]
[07:18:02] -!- Komzpa [Komzpa!~kom@5.149.156.131] has joined #leaflet
[07:18:08] -!- archivist_herron has quit [Read error: Operation timed out]
[07:22:26] -!- kermit-the-frog [kermit-the-frog!~egg01@80.150.16.194] has joined #leaflet
[07:22:33] <kermit-the-frog> Hi
[07:23:00] <kermit-the-frog> Is there a way to smooth refresh the visible tiles?
[07:25:09] <kermit-the-frog> I'm using the Leaflet.functionaltilelayer plugin, the url the function generates depends from some other parameters, so when these parameters change, I've to reload the tiles
[07:26:14] <kermit-the-frog> If I call redraw on the layer, all tiles are deleted before refreshing
[07:26:49] <kermit-the-frog> I'd prefer that the tiles stay in place as long as the new one hasn't been downloaded
[07:37:11] -!- Tecan has quit [Ping timeout: 260 seconds]
[07:48:34] -!- lyzidiamond [lyzidiamond!~lyzidiamo@c-98-248-13-91.hsd1.ca.comcast.net] has joined #leaflet
[08:05:45] -!- mle [mle!~mle@mir31-1-82-224-13-158.fbx.proxad.net] has joined #leaflet
[08:16:01] -!- Lathe_newbie has quit [Ping timeout: 272 seconds]
[08:19:31] -!- mle has quit [Read error: Operation timed out]
[08:35:15] -!- mle [mle!~mle@mir31-1-82-224-13-158.fbx.proxad.net] has joined #leaflet
[09:00:13] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@37-46-176-106.customers.ownit.se] has joined #leaflet
[09:00:18] -!- md-2 [md-2!~md-2@host86-176-239-133.range86-176.btcentralplus.com] has joined #leaflet
[09:03:50] -!- basiclaser has quit [Excess Flood]
[09:04:03] -!- JT-Shop has quit [Read error: Connection reset by peer]
[09:04:34] -!- odogono [odogono!~odogono@cpc14-king9-2-0-cust212.19-1.cable.virginm.net] has joined #leaflet
[09:05:06] -!- basiclaser [basiclaser!Elite7488@gateway/shell/elitebnc/x-zhhcxsvfquqayniy] has joined #leaflet
[09:06:33] -!- jnaour [jnaour!~quassel@nerim.tailab.eu] has joined #leaflet
[09:08:12] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[09:26:08] -!- mas9ga [mas9ga!bca8cab8@gateway/web/freenode/ip.188.168.202.184] has joined #leaflet
[09:29:51] <mas9ga> hello, can anybody help me? i have two layers: one with map and second with markers. user can put marker on this map i try to use map option - worldCopyJump. but it is work bad on 1,2,3 zooms
[09:42:07] -!- maximilian_h has quit [Ping timeout: 252 seconds]
[09:47:11] -!- mas9ga has quit [Quit: Page closed]
[09:59:51] -!- lyzidiamond has quit [Quit: lyzidiamond]
[10:03:00] -!- jthornton has quit [Read error: Connection reset by peer]
[10:07:03] -!- syyl has quit [Ping timeout: 252 seconds]
[10:31:11] -!- kludge` has quit [Ping timeout: 272 seconds]
[10:36:12] -!- kludge` [kludge`!~comet@unaffiliated/espiral] has joined #leaflet
[10:47:39] -!- chillly [chillly!~chris@static-87-102-95-199.karoo.kcom.com] has joined #leaflet
[10:52:12] -!- jepler has quit [Ping timeout: 260 seconds]
[11:07:55] -!- FreezingCold has quit [Ping timeout: 272 seconds]
[11:09:01] -!- skorasaurus has quit [Ping timeout: 252 seconds]
[11:12:00] -!- skunkworks has quit [Remote host closed the connection]
[11:12:31] -!- arvidkahl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[11:13:53] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[11:14:22] -!- b_b has quit [Changing host]
[11:14:22] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[11:28:05] -!- Lathe_newbie has quit [Ping timeout: 248 seconds]
[11:31:38] -!- jepler has quit [Ping timeout: 252 seconds]
[12:02:16] -!- balestrino has quit [Ping timeout: 246 seconds]
[12:15:00] -!- cwmma [cwmma!~cwmma@50-199-248-46-static.hfc.comcastbusiness.net] has joined #leaflet
[12:31:25] -!- Valen has quit [Quit: Leaving.]
[12:39:55] -!- thomaslindstr_m has quit [Remote host closed the connection]
[12:40:31] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@37-46-176-106.customers.ownit.se] has joined #leaflet
[12:41:49] -!- sumpfralle has quit [Ping timeout: 246 seconds]
[12:42:48] -!- FreezingCold has quit [Ping timeout: 260 seconds]
[12:47:40] -!- Komzpa has quit [Read error: No route to host]
[12:48:49] -!- Komzpa [Komzpa!~kom@5.149.156.131] has joined #leaflet
[12:55:10] -!- thomaslindstr_m has quit [Remote host closed the connection]
[12:56:15] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@37-46-176-106.customers.ownit.se] has joined #leaflet
[12:56:15] -!- krusty_ar [krusty_ar!~quassel@201-212-126-67.prima.net.ar] has joined #leaflet
[13:01:54] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[13:05:17] -!- wboykinm has quit [Remote host closed the connection]
[13:08:06] -!- psha[work] [psha[work]!~psha@psha.org.ru] has joined #leaflet
[13:19:17] -!- arvidkahl [arvidkahl!~arvidkahl@brln-4db943ce.pool.mediaWays.net] has joined #leaflet
[13:21:18] -!- kermit-the-frog [kermit-the-frog!~egg01@80.150.16.194] has parted #leaflet
[13:22:53] -!- psha[work] has quit [Quit: Lost terminal]
[13:25:41] -!- anonimasu has quit [Read error: Connection reset by peer]
[13:26:32] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[13:27:13] -!- c-bob|afk has quit [Read error: Connection reset by peer]
[13:27:20] c-bob is now known as c-bob|afk
[13:28:45] -!- wboykinm has quit [Remote host closed the connection]
[13:28:59] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[13:31:25] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[13:32:06] -!- wboykinm has quit [Remote host closed the connection]
[13:33:53] -!- garfong has quit [Read error: Connection reset by peer]
[13:44:53] -!- spatialbrew [spatialbrew!~spatialbr@108-208-169-180.lightspeed.moblal.sbcglobal.net] has joined #leaflet
[13:45:01] -!- arvidkahl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[13:52:11] -!- FreezingCold has quit [Ping timeout: 252 seconds]
[13:57:49] -!- skorasaurus [skorasaurus!~skors@adsl-75-10-136-135.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[14:04:14] -!- md-2 has quit [Remote host closed the connection]
[14:04:40] -!- md-2 [md-2!~md-2@host86-176-239-133.range86-176.btcentralplus.com] has joined #leaflet
[14:08:14] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[14:09:41] -!- md-2 has quit [Ping timeout: 272 seconds]
[14:10:37] -!- md-2 [md-2!~md-2@host86-176-239-133.range86-176.btcentralplus.com] has joined #leaflet
[14:12:59] -!- arvidkahl [arvidkahl!~arvidkahl@brln-4db943ce.pool.mediaWays.net] has joined #leaflet
[14:13:54] -!- chillly has quit [Quit: Leaving]
[14:18:16] -!- _rambo [_rambo!~chatzilla@22.Red-83-50-88.dynamicIP.rima-tde.net] has joined #leaflet
[14:18:46] -!- sumpfralle1 has quit [Ping timeout: 246 seconds]
[14:19:04] `NeroWORK is now known as `Nerobro
[14:35:16] -!- garfong has quit [Quit: Leaving]
[14:51:35] -!- FreezingCold has quit [Ping timeout: 252 seconds]
[14:56:57] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[15:02:48] -!- PetefromTn has quit [Remote host closed the connection]
[15:06:03] -!- mozmck has quit [Read error: Connection reset by peer]
[15:17:44] -!- Pro777 [Pro777!~Pro777@c-71-63-155-110.hsd1.mn.comcast.net] has joined #leaflet
[15:32:07] -!- odogono has quit [Read error: Connection reset by peer]
[15:33:26] -!- odogono [odogono!~odogono@cpc14-king9-2-0-cust212.19-1.cable.virginm.net] has joined #leaflet
[15:44:39] -!- arvidkahl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[15:53:03] -!- zzolo has quit [Quit: zzolo]
[15:55:14] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[15:58:32] -!- kwallace has quit [Read error: No route to host]
[15:58:38] -!- krusty_ar has quit [Remote host closed the connection]
[16:04:18] -!- garfong has quit [Quit: Leaving]
[16:12:51] -!- odogono has quit [Ping timeout: 260 seconds]
[16:16:24] -!- mle has quit [Read error: Operation timed out]
[16:18:50] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[16:26:11] -!- FreezingCold has quit [Ping timeout: 252 seconds]
[16:48:12] -!- chillly [chillly!~chris@static-87-102-95-199.karoo.kcom.com] has joined #leaflet
[16:50:40] -!- Lathe_newbie has quit [Ping timeout: 246 seconds]
[16:52:00] -!- zzolo has quit [Quit: zzolo]
[16:58:30] -!- Demiurge has quit [Remote host closed the connection]
[16:59:38] -!- DaViruz has quit [Ping timeout: 264 seconds]
[17:07:28] -!- cwmma_ [cwmma_!~cwmma@50-199-248-46-static.hfc.comcastbusiness.net] has joined #leaflet
[17:07:38] -!- almccon1 [almccon1!~Adium@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[17:08:44] -!- lyzidiamond [lyzidiamond!~lyzidiamo@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[17:09:10] -!- zlog has quit [Ping timeout: 260 seconds]
[17:09:20] -!- almccon has quit [Ping timeout: 260 seconds]
[17:12:03] -!- cwmma has quit [Ping timeout: 258 seconds]
[17:12:04] cwmma_ is now known as cwmma
[17:12:53] -!- Veticus has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[17:14:45] -!- thomaslindstr_m has quit [Quit: Leaving...]
[17:16:37] -!- Lathe_newbie| has quit [Ping timeout: 272 seconds]
[17:22:52] -!- GJdan [GJdan!~dan@154.5.205.24] has joined #leaflet
[17:27:42] -!- terabyte- has quit [Quit: terabyte-]
[17:35:52] -!- almccon1 has quit [Read error: Connection reset by peer]
[17:35:57] -!- almccon [almccon!~Adium@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[17:36:05] -!- Tecan has quit [Ping timeout: 248 seconds]
[17:40:26] -!- FreezingCold has quit [Ping timeout: 264 seconds]
[17:40:41] -!- almccon has quit [Ping timeout: 272 seconds]
[17:41:03] -!- sumpfralle has quit [Read error: Operation timed out]
[17:41:19] -!- almccon [almccon!~Adium@h-67-102-227-186.snfc.ca.megapath.net] has joined #leaflet
[17:42:57] -!- almccon has quit [Read error: Connection reset by peer]
[17:43:07] -!- almccon [almccon!~Adium@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[18:02:36] -!- md-2 has quit [Quit: Leaving...]
[18:03:30] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[18:11:29] -!- _rambo has quit [Remote host closed the connection]
[18:17:00] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@c80-216-22-126.bredband.comhem.se] has joined #leaflet
[18:20:20] -!- sumpfralle has quit [Read error: Operation timed out]
[18:21:02] -!- cpresser has quit [Quit: Lost terminal]
[18:23:34] -!- Tecan has quit [Quit: Live Long And Phosphor!]
[18:26:28] -!- basiclaser has quit [Excess Flood]
[18:27:36] -!- basiclaser [basiclaser!Elite7488@gateway/shell/elitebnc/x-lkriwinidrbbucxx] has joined #leaflet
[18:30:38] -!- Pro777 has quit [Quit: Pro777]
[18:34:19] -!- Komzpa has quit [Remote host closed the connection]
[18:34:39] -!- Komzpa [Komzpa!~kom@5.149.156.131] has joined #leaflet
[18:38:57] -!- Jeebiss__ has quit [Ping timeout: 272 seconds]
[18:44:58] -!- skunkworks has quit [Quit: Leaving]
[18:45:36] -!- Tecan has quit [Changing host]
[18:50:22] -!- GuShH_ has quit [Ping timeout: 246 seconds]
[18:52:57] -!- krusty_ar [krusty_ar!~quassel@201-212-126-67.prima.net.ar] has joined #leaflet
[19:12:47] -!- lyzidiamond has quit [Quit: lyzidiamond]
[19:13:47] -!- lyzidiamond [lyzidiamond!~lyzidiamo@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[19:17:33] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[19:26:35] -!- DaViruz has quit [Ping timeout: 252 seconds]
[19:33:23] -!- Komzpa has quit [Remote host closed the connection]
[19:33:55] -!- Komzpa [Komzpa!~kom@5.149.156.131] has joined #leaflet
[19:40:06] -!- Lathe_newbie has quit [Ping timeout: 265 seconds]
[19:41:32] -!- zzolo [zzolo!~zzolo@c-75-72-166-46.hsd1.mn.comcast.net] has joined #leaflet
[20:02:10] -!- wboykinm has quit [Remote host closed the connection]
[20:08:59] -!- skorasaurus has quit [Ping timeout: 260 seconds]
[20:12:48] -!- skorasaurus [skorasaurus!~skors@adsl-75-10-136-135.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[20:22:33] -!- terabyte- has quit [Quit: terabyte-]
[20:36:26] -!- lyzidiamond has quit [Quit: lyzidiamond]
[20:37:35] -!- lyzidiamond [lyzidiamond!~lyzidiamo@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[20:41:43] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[20:43:24] -!- Veticus has quit [Quit: Nooooooo...]
[20:51:14] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[21:01:55] -!- garfong has quit [Read error: Connection reset by peer]
[21:19:02] -!- PetefromTn has quit [Remote host closed the connection]
[21:20:07] -!- mozmck has quit [Read error: Connection reset by peer]
[21:27:17] -!- motioncontrol has quit [Quit: Sto andando via]
[21:28:48] -!- jdummy [jdummy!1827b705@gateway/web/freenode/ip.24.39.183.5] has joined #leaflet
[21:37:21] -!- cwmma has quit [Quit: cwmma]
[21:40:17] -!- jbr [jbr!~chatzilla@c-75-69-133-233.hsd1.nh.comcast.net] has joined #leaflet
[21:41:02] <jdummy> Is it possible to obtain access to the properties of a geoJson "Feature" that's a multipolygon? I have a click handler that works fine for polygons, but not multipolygons.
[21:46:46] <jbr> most likely.. it might require reading the code to find where.
[21:48:01] -!- Loetmichel has quit [Disconnected by services]
[21:48:05] <jdummy> Thanks jbr. Problem is, the 'click' event for a geojson object provides the layer with the event data... but the layer object is different for a polygon than a multipolygon
[21:48:07] Cylly is now known as Loetmichel
[21:48:44] <jdummy> The multipolygon layer does not include the features for the clicked polygon
[21:49:47] <jbr> hmm.
[21:50:14] <jbr> got a live page somewhere? curious to see what the data looks like
[21:50:44] -!- wboykinm has quit [Remote host closed the connection]
[21:53:12] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[21:53:45] -!- jdummy has quit [Ping timeout: 272 seconds]
[21:54:12] -!- wboykinm has quit [Remote host closed the connection]
[21:54:32] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[21:58:11] -!- wboykinm has quit [Remote host closed the connection]
[21:59:32] -!- ekolojik has quit [Quit: Konversation terminated!]
[22:00:05] -!- sulky has quit [Ping timeout: 246 seconds]
[22:01:49] <jbr> sorry I couldn't actually help..
[22:01:53] <jbr> oh. heh he's gone
[22:04:20] -!- jdummy [jdummy!1827b705@gateway/web/freenode/ip.24.39.183.5] has joined #leaflet
[22:04:36] -!- FinboySlick has quit [Quit: Leaving.]
[22:06:32] -!- archivist_herron has quit [Read error: Operation timed out]
[22:10:56] -!- Deejay has quit [Quit: bye]
[22:12:11] <chillly> jdummy, you can access the properties of any geojson feature. have you checked your geojson through geojsonlint.com?
[22:13:14] <jdummy> Hi chillly... thanks. I was setting up a reduced test case. I can access the properties of the polygon, but not the multipolygon.
[22:13:27] <jdummy> The geojson is actually a sample file from mapbox.com... us-states
[22:13:44] <chillly> I'd still check it :-)
[22:14:28] <chillly> if you run it through the lint checker it will show the properties as a popup on the multipolygon
[22:14:53] <chillly> I've used multiline OK, but never needed a multipolygon
[22:16:50] <jdummy> HMMmmmMMMmm.... GeoJSONLint.com is doing exactly what I need to do... showing the properties on click
[22:17:06] -!- terabyte- has quit [Quit: terabyte-]
[22:18:13] <jdummy> Aha... they're using "onEachFeature"... but I didn't want to do that :(
[22:18:31] <jdummy> Does that imply an event listener per polygon?
[22:19:08] -!- Lathe_newbie has quit [Ping timeout: 260 seconds]
[22:20:06] <chillly> onEachFeature triggers as the gj is loaded. As each feature is encountered the event is triggered for you to use that feature. I use it to set up event handlers for each feature. It's quick and works well
[22:20:16] <chillly> do you have a lot of MPs?
[22:20:41] <jdummy> Yeah, that's an iterator... but I'd really prefer delegation, which I thought I was getting by calling L.geoJson(myGeoJson).addTo(myMap).on('click', handler);
[22:21:08] <chillly> Run with what's on offer :)
[22:21:15] <chillly> It works
[22:21:37] <jdummy> I don't know how many multipolygons my users will have... probably not a lot... it just feels dirty :)
[22:22:34] <chillly> I lost that feeling a LONG time ago. As soon as you use code libraries you are in the hands of the authors.
[22:27:16] -!- einar_ has quit [Quit: Ex-Chat]
[22:28:41] <jdummy> Looks like event delegation is already on the list: https://groups.google.com/forum/#!msg/leaflet-js/_WJquNpdmH0/3BvOzR92XbIJ
[22:29:09] <jdummy> You win chillly :) I shall use onEachFeature
[22:32:36] -!- FreezingCold has quit [Read error: Operation timed out]
[22:33:18] <chillly> :)
[22:36:20] -!- chillly has quit [Quit: Leaving]
[22:36:49] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[22:39:21] <lyzidiamond> Hello #leaflet! I assume many of you are using Leaflet with geojson files. Which technique do you use for including geojson? Do you copy-paste into your javascript? do you add a variable definition to your geojson file?
[22:42:35] -!- cwmma [cwmma!~cwmma@c-98-229-58-62.hsd1.ma.comcast.net] has joined #leaflet
[22:44:15] <skorasaurus> lyzidiamond: good question that I've been wondering about :) I have to head out now but would be appreciated to see answers (gis.stackexchange can be another place to ask too :)
[22:44:53] -!- Demiurge has quit [Quit: Demiurge]
[22:47:18] -!- skorasaurus2 [skorasaurus2!~skors@adsl-75-10-136-135.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[22:47:45] <lyzidiamond> I promise it's not a plug for the jquery technique!
[22:48:19] -!- skorasaurus2 has quit [Client Quit]
[22:48:50] -!- skorasaurus has quit [Ping timeout: 264 seconds]
[22:49:17] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[22:49:56] -!- zeeshan has quit [Read error: Connection reset by peer]
[22:51:10] -!- Demiurge has quit [Client Quit]
[22:54:27] -!- wboykinm has quit [Remote host closed the connection]
[22:55:38] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[22:58:31] -!- jdummy has quit [Quit: Page closed]
[23:19:01] -!- Demiurge has quit [Read error: Connection reset by peer]
[23:20:45] -!- CaptHindsight has quit [Read error: Operation timed out]
[23:20:57] MrHindsight is now known as CaptHindsight
[23:21:59] -!- cwmma has quit [Quit: cwmma]
[23:23:31] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[23:23:49] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[23:29:11] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[23:33:22] <GJdan> lyzidiamond: I rarely work with an actual json file. I usually pull my values from a database, or parse it from shapefiles or kml etc into json text, which I can pass along to the js and pass through JSON.parse()
[23:33:30] <GJdan> at least that's one sort of dirty way of doing it
[23:35:26] -!- cwmma [cwmma!~cwmma@c-98-229-58-62.hsd1.ma.comcast.net] has joined #leaflet
[23:35:57] <lyzidiamond> GJdan: interesting! Can you send me an example of that?
[23:36:23] -!- printallthething has quit [Quit: Leaving]
[23:38:10] <GJdan> lyzidiamond: which part?
[23:39:44] <lyzidiamond> passing the json to js and passing through json.parse()
[23:39:51] <lyzidiamond> ^ GJdan
[23:43:12] <GJdan> passing the json to js differs greatly depending on what serverside code you're using, but ultimately it all means adding a script tag somewhere (probably in the html header) that attaches the value to the global scope.
[23:46:40] -!- cwmma has quit [Quit: cwmma]
[23:47:09] <GJdan> I'll make a dpastes with some brief examples of how that's done
[23:50:29] -!- zzolo has quit [Quit: zzolo]
[23:50:30] <GJdan> https://dpaste.de/X581
[23:50:50] <GJdan> dunno if that's helpful, it's terribly over simplified
[23:52:53] <GJdan> I'm usually stuck in drupal, so someone might make a node and upload a shapefile with it then there's some big long complicated code using ogr2ogr from gdal to parse it into a csv and get geojson from it which is put in an array and stuck in drupal_add_js to expose it to my js file
[23:58:02] -!- cwmma [cwmma!~cwmma@c-98-229-58-62.hsd1.ma.comcast.net] has joined #leaflet
[23:58:11] <GJdan> if you're using solely html/js and not using some other language on the server wide I suppose your options are to copy/paste like you said, or alter the json file into a js file that assigns it to some window.variable for you and attach it with <script src="path/to/jsfile.js" type="text/javascript
[23:58:21] <GJdan> >
[23:58:56] <GJdan> which is silly I suppose