#leaflet | Logs for 2013-08-13

Back
[00:06:18] -!- mhaberler has quit [Quit: mhaberler]
[00:06:55] -!- Jesika [Jesika!~Jesika@201.210.157.4] has joined #leaflet
[00:08:27] -!- andypugh has quit [Quit: andypugh]
[00:11:04] -!- Jesika has quit [Quit: Leaving.]
[00:11:20] -!- Jesika [Jesika!~Jesika@201.210.157.4] has joined #leaflet
[00:13:19] -!- pjm_ has quit [Ping timeout: 260 seconds]
[00:15:05] -!- stsydow has quit [Quit: Leaving]
[00:15:25] -!- joe9 has quit [Remote host closed the connection]
[00:17:05] -!- toastydeath has quit [Ping timeout: 245 seconds]
[00:18:23] -!- Jesika has quit [Ping timeout: 240 seconds]
[00:26:43] -!- Nick001-Shop has quit [Remote host closed the connection]
[00:40:15] -!- jfire1 has quit [Quit: Leaving.]
[00:43:56] -!- tmcw [tmcw!~tmcw@c-68-50-174-188.hsd1.dc.comcast.net] has joined #leaflet
[00:48:47] -!- tmcw has quit [Ping timeout: 260 seconds]
[00:51:19] -!- vienno has quit [Quit: Nettalk6 - www.ntalk.de]
[01:22:14] -!- c-bob| has quit [Ping timeout: 240 seconds]
[01:42:32] -!- tmcw [tmcw!~tmcw@c-68-50-174-188.hsd1.dc.comcast.net] has joined #leaflet
[01:45:53] -!- wertyuud has quit [Remote host closed the connection]
[01:47:12] -!- BJfreeman has quit [Quit: had a good time]
[01:56:15] -!- SpeicusX has quit [Ping timeout: 240 seconds]
[02:08:13] -!- jthornton has quit [Read error: Connection reset by peer]
[02:12:50] -!- FinboySlick has quit [Quit: Leaving.]
[02:42:58] -!- tmcw has quit [Remote host closed the connection]
[02:58:38] -!- SpeicusX has quit [Ping timeout: 240 seconds]
[02:58:46] -!- Loetmichel has quit [Ping timeout: 248 seconds]
[03:31:03] -!- sumpfralle has quit [Ping timeout: 276 seconds]
[03:41:05] -!- filadome has quit [Ping timeout: 256 seconds]
[03:43:25] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[03:47:37] -!- KimK has quit [Quit: Leaving]
[03:59:47] -!- Valen has quit [Quit: Leaving.]
[04:01:02] -!- nwmcsween has quit [Ping timeout: 240 seconds]
[04:03:45] -!- AR_ has quit [Ping timeout: 256 seconds]
[04:06:44] NickATX is now known as Xfriend
[04:28:00] -!- jfire has quit [Quit: Leaving.]
[04:36:38] -!- SpeicusX has quit [Ping timeout: 240 seconds]
[04:40:20] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[04:44:53] -!- zzolo has quit [Ping timeout: 248 seconds]
[04:52:57] -!- AR_ has quit [Ping timeout: 276 seconds]
[05:01:34] -!- Fox_Muldr has quit [Ping timeout: 246 seconds]
[05:18:21] -!- Xfriend has quit [Remote host closed the connection]
[05:21:50] -!- Tecan has quit [Ping timeout: 264 seconds]
[05:23:57] -!- Tecan has quit [Changing host]
[05:40:16] -!- foo87572 has quit [Quit: Page closed]
[05:52:38] -!- Thetawaves_ has quit [Quit: This computer has gone to sleep]
[06:03:42] -!- kwallace2 has quit [Read error: Connection reset by peer]
[06:13:31] -!- nwmcsween2 has quit [Ping timeout: 256 seconds]
[06:18:31] -!- ve7it has quit [Remote host closed the connection]
[06:26:39] -!- adb has quit [Ping timeout: 260 seconds]
[06:31:34] -!- Kup [Kup!~pkupietz@91-67-208-67-dynip.superkabel.de] has joined #leaflet
[06:35:11] -!- odogono [odogono!~odogono@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[06:50:36] -!- archivist_herron has quit [Ping timeout: 276 seconds]
[06:56:53] -!- stsydow [stsydow!~stsydow@dslb-188-102-130-008.pools.arcor-ip.net] has joined #leaflet
[07:01:41] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[07:01:41] -!- b_b has quit [Changing host]
[07:01:41] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[07:05:46] -!- Kup1 [Kup1!~pk@91-67-208-67-dynip.superkabel.de] has joined #leaflet
[07:06:31] -!- dhoovie has quit [Ping timeout: 246 seconds]
[07:06:53] -!- Kup has quit [Quit: Leaving.]
[07:23:44] -!- hendrik_ has quit [Client Quit]
[07:36:30] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@37-46-176-106.customers.ownit.se] has joined #leaflet
[07:44:19] -!- jlrodriguez [jlrodriguez!~jlrodrigu@35.180.220.87.dynamic.jazztel.es] has joined #leaflet
[08:02:32] -!- md-2 [md-2!~md-2@host81-152-133-162.range81-152.btcentralplus.com] has joined #leaflet
[08:16:19] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[08:45:55] -!- CaptHindsight has quit [Ping timeout: 246 seconds]
[09:06:13] -!- dhoovie has quit [Ping timeout: 246 seconds]
[09:10:01] -!- vladimirek has quit [Remote host closed the connection]
[09:11:52] -!- seb_kuzminsky has quit [Ping timeout: 264 seconds]
[09:12:06] -!- linuxcnc-build has quit [Ping timeout: 264 seconds]
[09:12:14] -!- hm2-buildmaster has quit [Ping timeout: 264 seconds]
[09:33:24] -!- stsydow has quit [Remote host closed the connection]
[09:54:02] -!- mhaberler has quit [Quit: mhaberler]
[09:59:29] -!- dhoovie|2 has quit [Read error: Connection reset by peer]
[10:05:15] -!- stsydow [stsydow!~stsydow@kbs-220.kbs.tu-berlin.de] has joined #leaflet
[10:18:23] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[10:22:04] Cylly is now known as Loetmichel
[10:29:06] -!- skunkworks has quit [Remote host closed the connection]
[10:35:36] -!- putnik_ [putnik_!~putnik@putnik.ws] has joined #leaflet
[10:35:36] -!- putnik_ has quit [Changing host]
[10:35:36] -!- putnik_ [putnik_!~putnik@wikimedia/putnik] has joined #leaflet
[10:35:44] -!- scooter_ [scooter_!~scooter@shell.socogeo.com] has joined #leaflet
[10:40:33] -!- seb_kuzm1nsky has quit [*.net *.split]
[10:40:33] -!- mackerski has quit [*.net *.split]
[10:40:33] -!- c-bob|| has quit [*.net *.split]
[10:40:33] -!- pjm has quit [*.net *.split]
[10:40:33] -!- scooter has quit [*.net *.split]
[10:40:34] -!- morfic has quit [*.net *.split]
[10:40:34] -!- i_tarzan has quit [*.net *.split]
[10:40:34] -!- jef79m has quit [*.net *.split]
[10:40:34] -!- asheppard has quit [*.net *.split]
[10:40:34] -!- Spida has quit [*.net *.split]
[10:40:34] -!- Getty has quit [*.net *.split]
[10:40:35] -!- putnik has quit [*.net *.split]
[10:40:35] jef79m_ is now known as jef79m
[10:46:32] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[10:46:47] -!- Valen has quit [Quit: Leaving.]
[10:46:54] -!- asheppard [asheppard!~sheppard@75-146-187-1-Minnesota.hfc.comcastbusiness.net] has joined #leaflet
[10:47:41] -!- c-bob|| has quit [Write error: Connection reset by peer]
[10:58:45] -!- AR_ has quit [Ping timeout: 248 seconds]
[11:04:38] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[11:04:46] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[11:04:48] -!- md2 [md2!~md-2@92.40.249.246.threembb.co.uk] has joined #leaflet
[11:05:12] md2 is now known as Guest14205
[11:05:40] -!- b_b has quit [Changing host]
[11:05:40] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[11:08:03] -!- md-2 has quit [Ping timeout: 260 seconds]
[11:08:45] -!- md-2 [md-2!~md-2@97e68641.skybroadband.com] has joined #leaflet
[11:11:02] -!- Guest14205 has quit [Ping timeout: 256 seconds]
[11:15:46] -!- Tecan has quit [Quit: Live Long And Phosphor!]
[11:40:16] -!- md-2 has quit [Remote host closed the connection]
[11:48:23] -!- md-2 [md-2!~md-2@97e68641.skybroadband.com] has joined #leaflet
[11:54:36] -!- mr_new has quit [Read error: Connection reset by peer]
[11:57:07] -!- mhaberler has quit [Quit: mhaberler]
[12:16:12] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[12:24:26] -!- jay__ [jay__!cf609386@gateway/web/freenode/ip.207.96.147.134] has joined #leaflet
[12:24:53] <jay__> hi everybody
[12:25:17] <jay__> there is something wrong with my code
[12:26:00] <jay__> i use fitBounds function to zoom automaticely to several points
[12:26:05] <jay__> here is my code
[12:26:54] -!- Brandonian [Brandonian!~bmorrison@c-76-21-214-91.hsd1.dc.comcast.net] has joined #leaflet
[12:27:18] <jay__> http://pastebin.com/YMKzZX5c
[12:27:48] <jay__> when i call the function for 1 point
[12:27:58] <jay__> it centered directly to it
[12:28:31] <jay__> but when i have severals poins , the zoom is on the last point called by the function....
[12:29:11] <jay__> how can i zoom automaticely to see all the points of my layerGroup?
[12:29:36] <jay__> featureGroup *
[12:33:05] <jay__> any ideas?
[12:40:46] -!- Brandonian has quit [Quit: Brandonian]
[12:44:11] <zod> jay__: If you have a FeatureGroup there's a getBounds() function.
[12:47:29] <jay__> i used this function
[12:48:01] <jay__> but i can't see all the points of my featureGroup at the same time,thats my problem
[12:48:04] <jay__> http://pastebin.com/YMKzZX5c
[13:01:15] <b_b> jay__ you should not pout markerLayer.addTo(map); in your function
[13:01:20] <b_b> but after it
[13:01:23] <b_b> or before
[13:06:57] <jay__> oki i will try it
[13:06:59] <jay__> thanx
[13:40:30] -!- Brandonian [Brandonian!~bmorrison@50-203-43-130-static.hfc.comcastbusiness.net] has joined #leaflet
[13:41:35] -!- mk0 has quit [Quit: Leaving]
[13:46:53] -!- flippyhead [flippyhead!~peterbrow@c-66-235-0-81.sea.wa.customer.broadstripe.net] has joined #leaflet
[13:53:47] -!- mhaberler has quit [Quit: mhaberler]
[13:54:35] -!- mr_new has quit [Ping timeout: 245 seconds]
[13:58:04] <jay__> thanx b_b it seems to work =)
[13:58:13] <b_b> great, you're welcome
[13:59:29] <flippyhead> Hello. I'm having trouble getting using a simple flat image with CRS.Simple. I've got my code here: https://gist.github.com/flippyhead/f34ae600ef8fbf8d654e
[13:59:46] <flippyhead> For some reason no images are ever requested
[14:00:41] <b_b> maybe you can find usefull info in source of this map flippyhead
[14:00:43] <b_b> http://www.madmeg.org/delizie/#2/0.4/0.5
[14:00:49] <b_b> made by a friend
[14:01:02] <b_b> it seems to be what you try to do ;)
[14:01:28] -!- tmcw [tmcw!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[14:02:16] <flippyhead> I see, OK I'll take a look.
[14:02:42] <flippyhead> tmcw: good morning. I threw together a breaking code sample after we talked: https://gist.github.com/flippyhead/f34ae600ef8fbf8d654e
[14:02:49] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[14:05:16] <tmcw> flippyhead: simplify your example. try it without the setBounds calls. observe that it works for zoom levels less than 17. observe the leaflet documentation, in which layers have a default maxZoom of 18.
[14:07:47] -!- Valen has quit [Quit: Leaving.]
[14:08:15] <flippyhead> tcmw: aha! Looks like I needed to specify min/max zooms on the tile layer as well as the map
[14:15:03] -!- PetefromTn has quit [Remote host closed the connection]
[14:18:50] -!- nwmcsween has quit [Ping timeout: 264 seconds]
[14:26:22] -!- pingufan has quit [Quit: Konversation terminated!]
[14:55:56] -!- tmcw_ [tmcw_!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[14:56:00] -!- tmcw has quit [Ping timeout: 256 seconds]
[15:03:22] -!- nwmcsween has quit [Ping timeout: 256 seconds]
[15:06:21] -!- skorasaurus [skorasaurus!~blahblahb@76.205.120.18] has joined #leaflet
[15:16:27] -!- skorasaurus has quit [Quit: left the building.]
[15:27:33] -!- skorasaurus [skorasaurus!~will@76.205.120.18] has joined #leaflet
[15:28:50] scooter_ is now known as scooter
[15:31:18] -!- syyl has quit [Ping timeout: 264 seconds]
[15:31:21] -!- syyl_ws has quit [Ping timeout: 264 seconds]
[15:42:15] knownasilya12 is now known as knownasilya
[15:44:31] -!- aksr has quit [Ping timeout: 268 seconds]
[15:47:19] -!- bedah has quit [Remote host closed the connection]
[16:00:25] -!- Kup1 has quit [Quit: Leaving.]
[16:05:55] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[16:07:23] -!- Tom_itx has quit [Ping timeout: 240 seconds]
[16:07:45] -!- zlog has quit [Read error: Connection reset by peer]
[16:12:53] -!- WalterN has quit [Read error: Operation timed out]
[16:17:16] -!- zzolo has quit [Quit: zzolo]
[16:18:59] -!- thomaslindstr_m has quit [Remote host closed the connection]
[16:22:45] -!- ahofer has quit [Ping timeout: 268 seconds]
[16:29:10] steve_stallings is now known as steves_logging
[16:33:21] -!- wboykinm [wboykinm!~quassel@132.198.159.236] has joined #leaflet
[16:58:08] -!- psha[work] has quit [Quit: Lost terminal]
[17:02:50] -!- mackerski has quit [Quit: mackerski]
[17:13:03] -!- mhaberler has quit [Quit: mhaberler]
[17:16:27] -!- md-2 has quit [Remote host closed the connection]
[17:16:28] -!- chillly [chillly!~chris@adsl-178-78-91-198.karoo.kcom.com] has joined #leaflet
[17:22:02] -!- knownasilya2 [knownasilya2!~knownasil@50-199-248-46-static.hfc.comcastbusiness.net] has joined #leaflet
[17:23:26] -!- knownasilya has quit [Ping timeout: 240 seconds]
[17:27:52] -!- ktchk has quit [Ping timeout: 256 seconds]
[17:28:12] -!- zzolo [zzolo!~zzolo@64.122.82.106] has joined #leaflet
[17:39:20] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@c80-216-4-133.bredband.comhem.se] has joined #leaflet
[17:42:42] -!- flippyhead has quit [Read error: Connection reset by peer]
[17:44:37] -!- Darth [Darth!ad0bde19@gateway/web/freenode/ip.173.11.222.25] has joined #leaflet
[17:50:22] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[18:02:33] -!- ktchk has quit [Ping timeout: 264 seconds]
[18:04:27] -!- WalterN has quit [Excess Flood]
[18:11:53] -!- `Nerobro has quit [Ping timeout: 240 seconds]
[18:12:04] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[18:30:04] -!- ktchk has quit [Read error: Connection reset by peer]
[18:34:37] -!- stsydow has quit [Ping timeout: 246 seconds]
[18:37:45] -!- syyl_ws_ has quit [Quit: Verlassend]
[19:00:27] -!- stsydow [stsydow!~stsydow@dslb-188-102-130-008.pools.arcor-ip.net] has joined #leaflet
[19:00:45] -!- sumpfralle has quit [Ping timeout: 264 seconds]
[19:08:45] -!- sumpfralle1 has quit [Ping timeout: 245 seconds]
[19:10:22] -!- skorasaurus has quit [Quit: Elvis has left the building.]
[19:24:34] -!- skorasaurus [skorasaurus!~will@76.205.120.18] has joined #leaflet
[19:27:03] -!- skorasaurus3 [skorasaurus3!~blahblahb@76.205.120.18] has joined #leaflet
[19:32:30] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[19:35:31] -!- codeoff__ [codeoff__!~codeoffic@rrcs-50-75-172-223.nys.biz.rr.com] has joined #leaflet
[19:37:18] <codeoff__> is there a common reason why layers groups added to a layer control would not initially be selected when a map is displayed?
[19:37:54] <codeoff__> if i click their checkboxes in the control to toggle them on they work as expected.
[19:57:48] -!- skorasaurus3 has quit [Quit: left the building.]
[20:00:41] -!- skunkworks has quit [Quit: Leaving]
[20:02:44] -!- skorasaurus has quit [Quit: Elvis has left the building.]
[20:03:42] -!- AndrewLv has quit [Ping timeout: 256 seconds]
[20:07:19] -!- AndrewLv has quit [Remote host closed the connection]
[20:15:51] -!- zzolo has quit [Quit: zzolo]
[20:33:58] -!- codeoff__ has quit [Remote host closed the connection]
[20:48:59] -!- jay__ has quit [Quit: Page closed]
[20:49:26] -!- odogono has quit [Quit: odogono]
[20:51:12] -!- moonlite [moonlite!~mattiasb@c-f7c9e253.217-7-64736c12.cust.bredbandsbolaget.se] has joined #leaflet
[20:51:34] -!- moonlite has quit [Client Quit]
[20:54:18] -!- sumpfralle has quit [Ping timeout: 276 seconds]
[20:56:52] -!- FinboySlick has quit [Quit: Leaving.]
[21:00:20] -!- DJ9DJ has quit [Quit: bye]
[21:01:40] -!- ctbenergy has quit [Ping timeout: 245 seconds]
[21:04:35] -!- ewaldweinhandl has quit [Ping timeout: 245 seconds]
[21:04:51] -!- chillly has quit [Quit: Leaving]
[21:13:23] -!- flippyhead [flippyhead!~peterbrow@c-66-235-0-81.sea.wa.customer.broadstripe.net] has joined #leaflet
[21:14:44] <flippyhead> I'm mapping a flat image with CRS.Simple. I need to store shapes in a database. Does it make more sense to store the latlong or the pixel based points?
[21:15:12] <thomaslindstr_m> are you going to zoom?
[21:17:24] <flippyhead> thomaslindstr_m: yes, typically 3 levels only
[21:18:20] <thomaslindstr_m> and the points are originally pixels or latlong?
[21:19:13] <flippyhead> well, I'm loading a flat image. Using Leaflet.draw to create some shapes, then storing those shapes in the DB to be redrawn later
[21:19:32] <thomaslindstr_m> i'd go with the latlong, it feels better
[21:20:13] <flippyhead> I'm not clear on how points would need to be converted but it seems like I'd have to do that all over vs. just dealing with latlong directly
[21:20:15] <thomaslindstr_m> pixels feel non future proof
[21:20:31] <flippyhead> hmm, I see
[21:20:49] <thomaslindstr_m> with latlong you are at least closer to vector
[21:21:10] -!- linux2622 has quit [Quit: Leaving]
[21:21:11] <thomaslindstr_m> and i didn't think point to latlong was that hard in leaflet?
[21:21:21] <thomaslindstr_m> i mean, you can track mouse clicks and their latlong
[21:21:58] <flippyhead> right and I won't ever need to correlate these points to any real image. I'll only ever be inside the leaflet world
[21:22:05] <flippyhead> great! thanks.
[21:22:08] <thomaslindstr_m> no problem
[21:35:51] _Getty is now known as Getty
[21:36:40] -!- kwallace has quit [Ping timeout: 245 seconds]
[21:36:40] -!- travis_ [travis_!8174ad23@gateway/web/freenode/ip.129.116.173.35] has joined #leaflet
[21:36:45] -!- AR_ has quit [Ping timeout: 264 seconds]
[21:44:53] -!- Brandonian has quit [Quit: Brandonian]
[21:54:53] -!- skorasaurus [skorasaurus!~will@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[21:58:04] -!- gambakufu has quit [Ping timeout: 264 seconds]
[22:11:39] -!- thomaslindstr_m has quit [Read error: Connection reset by peer]
[22:11:47] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@c80-216-4-133.bredband.comhem.se] has joined #leaflet
[22:12:26] -!- thomasli_ [thomasli_!~thomaslin@c80-216-4-133.bredband.comhem.se] has joined #leaflet
[22:12:26] -!- thomaslindstr_m has quit [Read error: Connection reset by peer]
[22:21:45] -!- `Nerobro_ has quit [Ping timeout: 264 seconds]
[22:24:15] thomasli_ is now known as thomaslindstr_m
[22:30:31] -!- maximilian_h has quit [Read error: No route to host]
[22:33:11] -!- tmcw_ has quit [Remote host closed the connection]
[22:33:26] -!- stsydow has quit [Quit: Leaving]
[23:03:47] -!- scooter has quit [Quit: leaving]
[23:05:47] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[23:06:03] -!- travis_ has quit [Ping timeout: 250 seconds]
[23:11:28] -!- toner has quit [Ping timeout: 246 seconds]
[23:19:18] -!- noahg [noahg!~noah@dsl254-024-133.sea1.dsl.speakeasy.net] has joined #leaflet
[23:33:11] -!- thomaslindstr_m has quit [Remote host closed the connection]
[23:51:30] -!- shure has quit [Ping timeout: 264 seconds]
[23:53:56] -!- flippyhead has quit [Quit: flippyhead]
[23:58:16] -!- paideia has quit [Quit: Leaving]