#leaflet | Logs for 2013-02-11

Back
[00:13:25] -!- rob_h has quit [Ping timeout: 264 seconds]
[00:15:23] -!- gambakufu has quit [Ping timeout: 252 seconds]
[00:24:25] -!- Nick001-Shop has quit [Remote host closed the connection]
[00:24:36] -!- L33TG33KG34R has quit [Ping timeout: 252 seconds]
[00:28:14] -!- mhaberler has quit [Quit: mhaberler]
[00:34:28] -!- lsu has quit [Quit: Ex-Chat]
[00:36:26] -!- Sendoushi has quit [Remote host closed the connection]
[00:41:36] -!- asdfasd has quit [Ping timeout: 264 seconds]
[00:53:31] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[00:55:45] -!- Keknom has quit [Quit: Leaving.]
[01:14:53] -!- toudi_ has quit [Quit: Wychodzi]
[01:18:12] -!- maximilian_h has quit [Client Quit]
[01:22:15] -!- r00t4rd3d has quit [Quit: Leaving]
[01:35:34] -!- plushy has quit [Quit: Leaving.]
[01:46:44] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[01:49:34] -!- Valen has quit [Quit: Leaving.]
[01:57:43] -!- gmag has quit [Quit: Enough small talk...]
[02:07:41] -!- Wildhoney has quit []
[02:12:32] -!- adb has quit [Ping timeout: 252 seconds]
[02:16:11] -!- ve7it has quit [Remote host closed the connection]
[03:31:01] -!- tandoori has quit [Ping timeout: 248 seconds]
[03:37:24] -!- sumpfralle has quit [Ping timeout: 264 seconds]
[04:02:56] -!- Keknom has quit [Quit: Leaving.]
[04:11:35] -!- FinboySlick has quit [Remote host closed the connection]
[04:21:48] -!- Valen has quit [Quit: Leaving.]
[04:44:51] toastyde2th is now known as toastydeath
[04:45:43] -!- Dupe has quit [Quit: Leaving]
[04:59:14] -!- dgarr has quit [Quit: Leaving.]
[05:00:04] -!- tjb1 has quit [Remote host closed the connection]
[05:00:19] -!- tayy [tayy!~tayy@cm131.eta146.maxonline.com.sg] has joined #leaflet
[05:00:23] -!- tayy has quit [Remote host closed the connection]
[05:03:28] -!- joe9 has quit [Quit: leaving]
[06:02:10] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[06:39:56] -!- zzolo has quit [Quit: zzolo]
[06:47:39] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[06:58:36] -!- zzolo has quit [Quit: zzolo]
[07:14:54] -!- pingufan has quit [Read error: Operation timed out]
[07:33:03] -!- pingufan has quit [Quit: Konversation terminated!]
[07:51:10] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[08:26:24] -!- rwam [rwam!~Adium@mx.kochan.de] has joined #leaflet
[08:38:04] -!- tjb1 has quit [Quit: tjb1]
[08:53:40] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[08:57:28] -!- racycle has quit [Quit: racycle]
[09:03:33] -!- mhaberler has quit [Quit: mhaberler]
[09:07:15] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[09:08:37] -!- Dupe has quit [Read error: Connection reset by peer]
[09:08:58] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[09:10:46] -!- Adventsparky [Adventsparky!~kvirc@dw.hccl.ie] has joined #leaflet
[09:23:55] -!- Adventsparky has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
[09:24:14] -!- Loetmichel has quit [Ping timeout: 256 seconds]
[09:27:02] Cylly is now known as Loetmichel
[09:30:14] -!- ybon [ybon!~ybon@nor75-19-82-244-48-171.fbx.proxad.net] has joined #leaflet
[09:46:37] -!- Wildhoney [Wildhoney!Wildhoney@cpc1-stap3-0-0-cust930.12-2.cable.virginmedia.com] has joined #leaflet
[10:06:29] -!- emel has quit [Excess Flood]
[10:06:51] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[10:13:54] -!- pikeaero has quit [Read error: Connection reset by peer]
[10:48:05] -!- plushy has quit [Quit: Leaving.]
[10:51:25] -!- mattions [mattions!~mattions@128.232.130.245] has joined #leaflet
[10:55:12] -!- L84Supper has quit [Quit: <puff of smoke>]
[11:14:30] -!- peroht [peroht!~peroht@31.44.230.51] has joined #leaflet
[11:38:44] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[11:46:35] -!- Sendoushi has quit [Remote host closed the connection]
[11:47:52] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:54:02] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[12:15:05] -!- Santolina [Santolina!4d1b3045@gateway/web/freenode/ip.77.27.48.69] has joined #leaflet
[12:22:36] -!- tjb1 has quit [Client Quit]
[12:25:30] -!- pikeaero has quit [Remote host closed the connection]
[12:49:56] -!- skunkworks has quit [Remote host closed the connection]
[12:53:46] -!- peroht has quit [Remote host closed the connection]
[12:55:15] -!- plushy has quit [Quit: Leaving.]
[13:02:00] -!- odogono has quit [Read error: Connection reset by peer]
[13:02:10] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[13:15:20] -!- James628 has quit [Quit: Page closed]
[13:23:32] -!- karavanjoW [karavanjoW!~karavanjo@178.124.148.114] has joined #leaflet
[13:27:47] -!- ravenlock has quit [Ping timeout: 246 seconds]
[13:30:03] -!- Santolina has quit [Ping timeout: 245 seconds]
[13:32:42] -!- psha[work] has quit [Quit: Lost terminal]
[13:37:10] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[13:50:22] -!- plushy has quit [Quit: Leaving.]
[13:56:50] -!- mattions has quit [Ping timeout: 246 seconds]
[14:02:36] -!- rwam has quit [Quit: Leaving.]
[14:03:06] -!- skorasaurus [skorasaurus!~blahblahb@65.185.64.11] has joined #leaflet
[14:21:33] -!- holgi_ has quit [Quit: ChatZilla 0.9.90 [Firefox 18.0.2/20130201233328]]
[14:21:51] -!- mk0 has quit [Quit: Leaving]
[14:22:08] -!- Pitu has quit [Ping timeout: 245 seconds]
[14:22:31] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[14:37:51] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[14:45:35] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[15:05:49] -!- cherry_l1n [cherry_l1n!~danst@91.223.133.53] has joined #leaflet
[15:07:06] -!- Poincare has quit [Ping timeout: 276 seconds]
[15:07:06] -!- cherry_lin has quit [Ping timeout: 276 seconds]
[15:07:07] -!- zlog has quit [Ping timeout: 276 seconds]
[15:07:07] -!- toastydeath has quit [Ping timeout: 276 seconds]
[15:07:07] -!- jst_ has quit [Ping timeout: 276 seconds]
[15:07:07] -!- archivist_herron has quit [Ping timeout: 276 seconds]
[15:12:44] _Poincare is now known as Poincare
[15:29:23] -!- plushy has quit [Quit: Leaving.]
[15:55:26] -!- ybon has quit [Quit: WeeChat 0.3.8]
[16:00:02] -!- kwallace has quit [Ping timeout: 256 seconds]
[16:06:02] -!- tandoori has quit [Changing host]
[16:12:01] -!- zzolo has quit [Quit: zzolo]
[16:20:20] -!- adb has quit [Ping timeout: 246 seconds]
[16:21:38] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[16:22:42] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust202.5-4.cable.virginmedia.com] has joined #leaflet
[16:24:16] -!- vladimirek has quit [Remote host closed the connection]
[16:30:15] -!- phantoneD has quit [Ping timeout: 260 seconds]
[16:34:31] -!- smsfail [smsfail!~smsfail@204.154.43.244] has joined #leaflet
[16:36:23] -!- ybon [ybon!~ybon@80.215.20.16] has joined #leaflet
[16:36:26] -!- mattswe has quit [Ping timeout: 246 seconds]
[16:37:50] -!- tanepiper has quit [Ping timeout: 246 seconds]
[16:38:11] -!- toastyde1th has quit [Ping timeout: 246 seconds]
[16:40:07] -!- tanepiper [tanepiper!tanepiper@2a01:7e00::f03c:91ff:feae:cde] has joined #leaflet
[16:42:07] -!- tjb1 has quit [Read error: Connection reset by peer]
[16:42:48] -!- Brandonian [Brandonian!~bmorrison@63.252.12.47] has joined #leaflet
[16:46:28] -!- wildbilldonovan [wildbilldonovan!~anonymous@outside.tpwd.state.tx.us] has joined #leaflet
[16:56:00] -!- zzolo [zzolo!~zzolo@mail.minnpost.com] has joined #leaflet
[17:29:18] -!- vladimirek has quit [Remote host closed the connection]
[17:42:41] -!- ybon has quit [Ping timeout: 255 seconds]
[17:44:36] -!- ybon [ybon!~ybon@80.215.52.89] has joined #leaflet
[17:45:02] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[17:50:17] -!- V0idExp has quit [Ping timeout: 252 seconds]
[17:51:48] -!- sumpfralle has quit [Ping timeout: 264 seconds]
[18:00:50] -!- Holgi has quit [Disconnected by services]
[18:09:21] -!- sumpfralle1 has quit [Ping timeout: 276 seconds]
[18:23:11] -!- Loetmichel has quit [Ping timeout: 255 seconds]
[18:26:43] -!- vladimirek has quit [Quit: Leaving]
[18:27:15] Cylly is now known as Loetmichel
[18:36:20] -!- kwallace has quit [Ping timeout: 240 seconds]
[18:36:33] -!- mattswe [mattswe!uid4809@gateway/web/irccloud.com/x-zahnhmbwwnurkabn] has joined #leaflet
[18:41:23] -!- odogono has quit [Read error: Connection reset by peer]
[18:41:34] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[18:42:11] -!- mrsun has quit [Quit: Leaving]
[18:45:06] -!- AndChat|244209 has quit [Ping timeout: 276 seconds]
[18:55:00] -!- Thetawaves_ has quit [Quit: Leaving]
[19:16:14] -!- James628 has quit [Quit: Page closed]
[19:22:31] -!- Wildhoney has quit [Ping timeout: 245 seconds]
[19:29:31] -!- AFarnsworth [AFarnsworth!171904ca@gateway/web/freenode/ip.23.25.4.202] has joined #leaflet
[19:29:44] <AFarnsworth> Hey all
[19:31:23] <phillipadsmith> I'm missing something here: How can the zoom control be removed from a map? I'm looking at removeControl and control.removeFrom ...
[19:32:30] <ybon> phillipadsmith: you can pass zoomControl: false in the map options, at init
[19:32:47] <phillipadsmith> ybon: many thanks… will give that a quick try
[19:33:18] -!- Holgi has quit [Client Quit]
[19:33:19] -!- kmiyashiro [kmiyashiro!~KellyM@65-123-15-198.dia.static.qwest.net] has joined #leaflet
[19:35:08] <phillipadsmith> ybon: perfect, thanks… one more question for you! :)
[19:35:15] <phillipadsmith> I'm creating an "info window" (a div) with L.control() and then using L.DomUtil.create() to create the <div> and add it to the map. However, if I double-click on the "info window," the map zooms. My UI expectations are that the div would be "above" the map and prevent any interaction. I've played around with z-indexes to no avail. Any pointers here?
[19:36:10] tjb1_ is now known as tjb1
[19:36:10] <ybon> events propagate to parents, so you need to stop this propagation
[19:36:19] <ybon> L.DomEvent.stop(event) can do the trick
[19:36:44] * phillipadsmith gives that a try
[19:37:53] <phillipadsmith> ybon: possibly related… in that info window there is a form with a simple text input (for an address to be entered). I'm using 'autofocus' on the form element to start the user out with the cursor in the input. However, if they blur the input, it's impossible to re-focus the input. Same issue?
[19:39:29] <ybon> phillipadsmith: yeah, use L.DomEvent.disableClickPropagation(yourcontainer)
[19:43:23] -!- AFarnsworth has quit [Ping timeout: 245 seconds]
[19:43:48] -!- Pitu has quit [Ping timeout: 245 seconds]
[19:46:26] <phillipadsmith> ybon: no luck… where specifically should I be using that (sorry, still getting my head around the ins and outs of leaflet here).
[19:47:22] -!- AFarnsworth [AFarnsworth!171904ca@gateway/web/freenode/ip.23.25.4.202] has joined #leaflet
[19:47:56] <AFarnsworth> Can someone help me with a problem? I cant get to seem to get the map to fully load properly, it only shows a tiny square in the top right corner when it loads. http://jsfiddle.net/sRwJN/
[19:49:15] <AFarnsworth> the geojson.js is in the css field
[19:49:20] -!- Pitu has quit [Client Quit]
[19:51:23] <ybon> phillipadsmith: in your control
[19:51:25] -!- sirdancealot1 has quit [Read error: Operation timed out]
[19:51:36] <phillipadsmith> AFarnsworth: where's the map supposed to be?
[19:52:21] <AFarnsworth> the favorites tab, their is a content container with id="map"
[19:54:34] <phillipadsmith> AFarnsworth: what line number?
[19:55:43] <AFarnsworth> phillipadsmith line 180
[19:57:21] -!- syyl_ws has quit [Quit: Verlassend]
[19:58:07] <phillipadsmith> AFarnsworth: You sure? I'm not seeing any container with an id of "map"
[19:58:55] <AFarnsworth> Sorry was line 305, was looking at my TextWrangler
[20:06:05] -!- ravenlock has quit [Ping timeout: 246 seconds]
[20:08:50] <phillipadsmith> AFarnsworth: where are you calling leaflet.js?
[20:09:11] <AFarnsworth> line 315
[20:09:16] <phillipadsmith> AFarnsworth: oh, I see it, but is that running here in JSfiddle?
[20:09:28] <phillipadsmith> Like, how are you able to reference it locally like that?
[20:09:47] <AFarnsworth> I have the .js file locally within an iOS app
[20:10:06] <phillipadsmith> Right, but _in_ jsfiddle, how is it loading that .js file?
[20:10:54] <phillipadsmith> i.e., I'm not sure how to help debug if you're running everything locally
[20:11:17] <AFarnsworth> I have the leaflet.js and leaflet.css uploaded in jsfiddle
[20:11:19] <phillipadsmith> the only things that jumped out at me were A) you've got some JavaScript in the CSS pane, and B) there's no height defined for #map
[20:11:57] <phillipadsmith> AFarnsworth: ah, okay, wasn't clear on that
[20:14:06] <AFarnsworth> on my iOS device i get this issue http://postimage.org/image/r0e49wgt5/
[20:14:25] <AFarnsworth> The map only loads the top right image and never the whole pane
[20:17:56] <phillipadsmith> Ah, okay, I'm not getting *anything* so I think there's something not running right (for me) in the fiddle
[20:18:05] <phillipadsmith> Thus a bit hard to troubleshoot
[20:19:10] <AFarnsworth> Hmm let me try and fiddle with it (no pun intended) and get the map to load at least
[20:24:43] -!- g4ll13n_map [g4ll13n_map!~g4ll13n_@ax113-h01-31-34-107-186.dsl.sta.abo.bbox.fr] has joined #leaflet
[20:27:48] -!- Mr_Wolfs has quit [Ping timeout: 264 seconds]
[20:29:20] -!- JT-Shop has quit [Read error: No route to host]
[20:33:37] <phillipadsmith> ybon: okay, so I've got that working, no issue there… however, it doesn't solve the issue of the form input['text'] loosing focus when the user drags the map (and making it impossible to get the focus back)
[20:34:43] <phillipadsmith> Any idea why that would be happening? There are plain ol' links in that info window that are accessible/clickable, but the input just seems to be inaccessible after interacting with the map.
[20:34:51] <phillipadsmith> Not a show-stopper, but just plain weird
[20:35:43] <ybon> humm
[20:36:53] <ybon> the focus lost while dragging the map sounds normal
[20:37:13] <ybon> but disabling the click propagation should make possible to refocus it
[20:38:04] <ybon> here you have a working example: https://github.com/yohanboniface/Leaflet.Storage/blob/master/src/js/leaflet.storage.controls.js#L384
[20:38:13] <ybon> maybe it can help
[20:47:04] <phillipadsmith> ybon: many thanks… looking
[20:52:01] -!- g4ll13n_map has quit [Quit: Leaving]
[20:52:07] -!- V0idExp has quit [Quit: Leaving.]
[20:57:15] -!- odogono has quit [Quit: odogono]
[20:59:50] -!- sumpfralle1 has quit [Read error: No route to host]
[21:00:40] -!- sumpfralle has quit [Ping timeout: 276 seconds]
[21:21:08] <AFarnsworth> phillipadsmith: so it looks like the problem is that the map only shows up if i run the example from jsfiddle on my iOS device or android device but the map wont even show up on jsfiddle
[21:25:00] <phillipadsmith> AFarnsworth: hmmm… what's different between the two?
[21:25:25] <AFarnsworth> Nothing at all besides the environment
[21:27:25] -!- micges has quit [Quit: Leaving]
[21:30:01] -!- norbert has quit [Quit: Verlassend]
[21:37:21] -!- psha has quit [Quit: leaving]
[21:42:38] -!- mhaberler has quit [Ping timeout: 255 seconds]
[21:52:08] -!- syyl has quit [Quit: Leaving]
[21:53:11] -!- l2 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
[21:55:21] -!- frallzor has quit []
[21:56:22] -!- Tom_L has quit []
[21:56:46] -!- DJ9DJ has quit [Quit: bye]
[22:00:46] -!- FinboySlick has quit [Quit: Leaving.]
[22:01:05] -!- skunkworks has quit [Ping timeout: 255 seconds]
[22:04:48] -!- Sendoushi has quit [Read error: Connection reset by peer]
[22:08:06] -!- Nick001 has quit [Ping timeout: 252 seconds]
[22:08:10] -!- MarkusBec has quit [Ping timeout: 260 seconds]
[22:08:40] -!- andypugh has quit [Quit: andypugh]
[22:10:39] -!- skunkworks_ has quit [Read error: Connection reset by peer]
[22:13:23] -!- Sonic-NZ [Sonic-NZ!~Sonic-NZ@li281-4.members.linode.com] has joined #leaflet
[22:14:02] <Sonic-NZ> Hi from New Zealand, I have a question about leaflet, hoping someone can help me
[22:14:33] <Sonic-NZ> I have a map that is sized nicely on screen, and prints in A4 nicely too
[22:14:58] <Sonic-NZ> But some of my users want to print the map in A3 (after manipulating it to get the view they want)
[22:16:11] <Sonic-NZ> Is there a way that I can maintain the on-screen view, but print a much larger version of the same map
[22:16:39] <Sonic-NZ> ?
[22:17:14] <Sonic-NZ> My current solution is to resize the map on screen, but that just looks silly
[22:23:48] toudi_ is now known as micges
[22:32:21] -!- micges has quit [Quit: Leaving]
[22:33:58] -!- Tom_L has quit []
[22:34:30] toudi_ is now known as micges
[22:36:30] -!- wildbilldonovan has quit [Quit: EOT]
[22:37:58] -!- Wildhoney [Wildhoney!Wildhoney@cpc1-stap3-0-0-cust930.12-2.cable.virginmedia.com] has joined #leaflet
[22:43:50] -!- Nick001-Shop has quit [Ping timeout: 255 seconds]
[22:44:03] Nick001-Shop_ is now known as Nick001-Shop
[22:59:35] -!- AFarnsworth has quit [Quit: Page closed]
[23:14:34] -!- sumpfralle has quit [Read error: Operation timed out]
[23:15:20] -!- skorasaurus has quit [Quit: left the building.]
[23:15:38] -!- Brandonian has quit [Quit: Brandonian]
[23:17:26] -!- sumpfralle1 has quit [Ping timeout: 248 seconds]
[23:19:23] -!- mhaberler has quit [Quit: mhaberler]
[23:26:23] -!- ravenlock has quit [Ping timeout: 245 seconds]
[23:27:02] -!- sirdancealot1 has quit [Ping timeout: 255 seconds]
[23:28:47] -!- Wildhoney [Wildhoney!Wildhoney@cpc1-stap3-0-0-cust930.12-2.cable.virginmedia.com] has parted #leaflet
[23:28:48] -!- Wildhoney [Wildhoney!Wildhoney@cpc1-stap3-0-0-cust930.12-2.cable.virginmedia.com] has joined #leaflet
[23:35:53] -!- racycle has quit [Quit: racycle]
[23:36:38] -!- andypugh has quit [Quit: andypugh]
[23:40:57] -!- micges has quit [Quit: Wychodzi]
[23:49:22] toudi_ is now known as micges
[23:49:43] -!- sumpfralle2 has quit [Ping timeout: 245 seconds]
[23:51:33] -!- sumpfralle has quit [Read error: Operation timed out]
[23:51:33] -!- zzolo has quit [Quit: zzolo]
[23:52:39] -!- smsfail has quit [Remote host closed the connection]