#leaflet | Logs for 2012-12-28

Back
[00:03:52] -!- logger[mah] has quit [Remote host closed the connection]
[00:07:19] -!- bedah has quit [Quit: bye]
[00:09:21] -!- micges has quit [Ping timeout: 265 seconds]
[00:12:25] -!- Nick001-Shop has quit [Remote host closed the connection]
[00:17:18] -!- tlab has quit [Quit: Leaving]
[00:25:08] -!- ybon has quit [Quit: WeeChat 0.3.8]
[00:27:07] -!- ve7it has quit [Remote host closed the connection]
[00:40:29] -!- timwis [timwis!443f72de@gateway/web/freenode/ip.68.63.114.222] has joined #leaflet
[00:40:57] <timwis> Hey guys, is it possible to create a new map on an element that hasn't been rendered to the DOM yet?
[00:41:27] <timwis> ie. new L.Map($("<div/>")) or, in my case, I'm using backbone, and I'd like to use L.Map(this.el)
[00:41:51] <timwis> What I'm getting when I try that is the map is there, but the tiles are all messed up, some missing. I think it's because it doesn't know the size of the element
[00:43:22] <timwis> wait, I think I figured it out
[00:43:23] <timwis> the answer is no
[00:43:30] <timwis> But I found a work-around for my situation
[00:43:39] <timwis> You append this.el before calling .render()
[00:43:49] <timwis> Thanks, timwis
[00:48:55] -!- mhaberler has quit [Quit: mhaberler]
[00:55:52] -!- joru has quit [Remote host closed the connection]
[01:05:08] -!- micges_ has quit [Quit: Leaving]
[01:15:16] -!- asdfasd has quit [Ping timeout: 250 seconds]
[01:16:11] -!- timwis has quit [Quit: Page closed]
[01:34:55] -!- kb8wmc has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121129170341]]
[01:48:46] -!- rob_h has quit [Ping timeout: 245 seconds]
[02:09:39] -!- Aero-Tec has quit [Read error: Connection reset by peer]
[02:22:14] -!- p0g0 has quit [Quit: x]
[02:45:48] -!- _bwg_ has quit [Ping timeout: 264 seconds]
[03:38:41] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[04:02:45] -!- dr00bie has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121129165506]]
[04:29:52] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[05:07:31] -!- tjb1 has quit [Ping timeout: 245 seconds]
[05:17:14] -!- theos has quit [Disconnected by services]
[05:58:11] -!- td [td!7dece094@gateway/web/freenode/ip.125.236.224.148] has joined #leaflet
[05:59:15] -!- td [td!7dece094@gateway/web/freenode/ip.125.236.224.148] has parted #leaflet
[06:25:23] -!- Youdaman [Youdaman!~Youdaman@ppp121-75.static.internode.on.net] has joined #leaflet
[06:43:14] -!- tjb1 has quit [Quit: tjb1]
[06:45:11] -!- tjb1 has quit [Client Quit]
[06:56:47] -!- automata_ has quit [Ping timeout: 260 seconds]
[06:57:11] -!- awallin_ has quit [Read error: Operation timed out]
[07:04:43] -!- kwallace has quit [Ping timeout: 260 seconds]
[07:34:12] -!- ybon [ybon!~ybon@nor75-19-82-244-48-171.fbx.proxad.net] has joined #leaflet
[08:19:35] -!- yuvipanda [yuvipanda!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[08:25:28] -!- yuvipanda has quit [Quit: yuvipanda]
[08:32:45] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[08:41:31] -!- racycle has quit [Quit: racycle]
[08:58:20] -!- Holger has quit [Quit: Bye]
[09:27:31] -!- Holger has quit [Ping timeout: 260 seconds]
[10:16:47] -!- yuvipanda [yuvipanda!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[10:44:56] -!- tronwizard has quit [Ping timeout: 252 seconds]
[10:57:08] -!- maximilian_h has quit [Client Quit]
[11:38:20] -!- psyhitus [psyhitus!~psyhitus@46.229.136.249] has joined #leaflet
[11:39:41] -!- opticdelusion has quit [Read error: Operation timed out]
[11:59:16] -!- cncbasher has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
[12:13:04] -!- Holger has quit [Quit: Bye]
[12:15:11] -!- cncbasher has quit [Remote host closed the connection]
[12:34:08] -!- cncbasher has quit [Remote host closed the connection]
[12:46:07] -!- cncbasher has quit [Remote host closed the connection]
[12:53:23] -!- cncbasher has quit [Remote host closed the connection]
[13:04:22] -!- yuvipanda has quit [Quit: yuvipanda]
[13:06:01] -!- cncbasher has quit [Remote host closed the connection]
[13:07:03] -!- yuvipanda [yuvipanda!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[13:19:57] -!- cncbasher has quit [Remote host closed the connection]
[13:29:52] -!- cncbasher has quit [Remote host closed the connection]
[13:32:00] -!- yuvipanda has quit [Quit: yuvipanda]
[13:35:24] -!- adb has quit [Ping timeout: 250 seconds]
[13:49:07] -!- karavanjoW_ has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
[14:02:23] -!- psha[work] has quit [Quit: Lost terminal]
[14:06:18] -!- vladimirek has quit [Read error: Connection reset by peer]
[14:08:38] -!- RedG [RedG!59cfd8d0@gateway/web/freenode/ip.89.207.216.208] has joined #leaflet
[14:09:34] -!- RedG has quit [Client Quit]
[14:48:38] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[15:04:16] -!- automata_ has quit [Ping timeout: 252 seconds]
[15:04:40] -!- automata__ has quit [Ping timeout: 250 seconds]
[15:07:34] -!- mhaberler has quit [Quit: mhaberler]
[15:16:43] -!- abetusk has quit [Quit: Leaving]
[15:16:53] -!- logger[mah] has quit [Ping timeout: 252 seconds]
[15:47:05] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[15:49:08] -!- theos has quit [Ping timeout: 248 seconds]
[16:02:27] -!- kmiyashiro has quit [Quit: kmiyashiro]
[16:17:05] -!- acdha [acdha!~acdha@66-44-113-126.c3-0.grg-ubr1.lnh-grg.md.cable.rcn.com] has joined #leaflet
[16:35:37] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 17.0.1/20121129170341]]
[16:58:19] <plushy> can I use leaflet to display an image?
[16:59:32] <ybon> plushy: yes
[16:59:52] <ybon> you can try L.ImageOverlay
[17:09:49] <plushy> ybon: I meant like, normal image. How to deal with projection and limit area one can move to
[17:11:49] <acdha> plushy: do you mean a large image which you've cut into tiles?
[17:13:07] <plushy> I want to display an image and be able to get a position clicked on it and easily add markers and polylines to it
[17:13:40] <acdha> If so, there's an open issue for the ability to limit when Leaflet requests tiles - https://github.com/CloudMade/Leaflet/pull/401 - but you might simply be able to restrict the world boundaries as needed
[17:14:10] <plushy> I have an image taken that was azimuth, tilt and angles aviable and I want to display position of point I click on the image on another instance of map and the other way around
[17:14:31] <plushy> *has
[17:17:50] <plushy> So I thought it will be easier to use leaflet to do that
[17:23:00] <ybon> plushy: you may use L.CRS.Simple also, to help working with coordinates
[17:23:56] <ybon> for restricting the view, you have to deal with the maxBounds options of L.Map
[17:28:06] -!- dimas has quit [Ping timeout: 250 seconds]
[17:28:49] <plushy> thanks, I'll try those out
[17:38:59] -!- soooga has quit [Quit: Leaving]
[17:46:07] <acdha> plushy: you might find http://acdha.github.com/leaflet-dzi-experiment/ and http://github.com/acdha/leaflet-dzi-experiment/ of interest - it sounds like your problem is easier than mine, however, as I was dealing with an image which has no relation to an actual map
[17:55:01] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[18:00:20] -!- adb has quit [Ping timeout: 248 seconds]
[18:06:24] -!- benkay [benkay!47c1cc93@gateway/web/freenode/ip.71.193.204.147] has joined #leaflet
[18:12:50] -!- benkay has quit [Quit: Page closed]
[18:21:09] -!- bradsimantel [bradsimantel!~simantel@128.223.223.65] has joined #leaflet
[18:24:17] -!- bradsimantel has quit [Read error: Connection reset by peer]
[18:24:37] -!- bradsimantel [bradsimantel!~simantel@128.223.223.65] has joined #leaflet
[18:29:02] <plushy> acdha: thanks
[18:29:05] -!- bradsimantel_ [bradsimantel_!~simantel@128.223.223.65] has joined #leaflet
[18:29:13] -!- bradsimantel has quit [Read error: Connection reset by peer]
[18:29:14] bradsimantel_ is now known as bradsimantel
[18:29:25] tetsus is now known as tetsu
[18:30:02] <plushy> though my image's relation to map doesn't really make it any easier I think
[18:38:45] -!- scottman [scottman!~scott@host-184-167-137-29.cdc-ut.client.bresnan.net] has joined #leaflet
[18:40:18] <scottman> i need a geojson wizard, im trying to do the basic example but my coordinates are not being picked up but when i do the example it seems to work :S i can check my coordinates on another system and they are correct
[18:40:41] <scottman> *doing the example with the default coordinates left in place
[18:41:55] <scottman> http://www.tidyloo.com/mobile_test/ is the url and if you view the src at the bottom is the geojson hard coded in
[18:43:11] -!- cncbasher has quit [Remote host closed the connection]
[18:50:50] -!- bpuk has quit []
[18:56:38] -!- kmiyashiro [kmiyashiro!~KellyM@65-123-15-198.dia.static.qwest.net] has joined #leaflet
[18:57:08] -!- bradsimantel has quit [Quit: bradsimantel]
[19:08:03] -!- kmiyashiro_ [kmiyashiro_!~KellyM@65-123-15-198.dia.static.qwest.net] has joined #leaflet
[19:08:54] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 17.0.1/20121129170341]]
[19:10:44] -!- kmiyashiro has quit [Ping timeout: 248 seconds]
[19:10:45] kmiyashiro_ is now known as kmiyashiro
[19:15:19] -!- sumpfralle has quit [Ping timeout: 265 seconds]
[19:16:16] -!- sumpfralle has quit [Read error: Connection reset by peer]
[19:16:19] -!- yuvipanda [yuvipanda!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[19:18:24] -!- cncbasher has quit [Remote host closed the connection]
[19:21:12] -!- psha has quit [Quit: Lost terminal]
[19:34:04] -!- timwis [timwis!aa73f816@gateway/web/freenode/ip.170.115.248.22] has joined #leaflet
[19:34:37] <timwis> Hey guys, I'm trying to detect when the center changes on my leaflet map. GMaps has an event "centerchanged" -- for leaflet I'm using "moveend" - it seems to work, but sometimes on iOS it doesn't get triggered when I move the map
[19:35:00] <timwis> Is there a better event to use for detecting center changed? Is the iOS issue a known issue? Google doesn't seem to know anything about it
[19:37:33] -!- acdha has quit [Quit: Computer has gone to sleep.]
[20:04:37] -!- BenceKovi111117 has quit [Ping timeout: 265 seconds]
[20:08:33] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[20:11:52] -!- yuvipanda has quit [Ping timeout: 265 seconds]
[20:11:52] yuvipanda_ is now known as yuvipanda
[20:12:17] -!- FinboySlick has quit [Quit: Leaving.]
[20:19:23] -!- tlab has quit [Quit: Leaving]
[20:23:51] -!- jpk [jpk!~jpk@unaffiliated/vorondil] has joined #leaflet
[20:24:41] -!- acdha [acdha!~acdha@66-44-113-126.c3-0.grg-ubr1.lnh-grg.md.cable.rcn.com] has joined #leaflet
[20:35:15] -!- scottman has quit [Quit: Konversation terminated!]
[20:37:35] -!- acdha has quit [Quit: Computer has gone to sleep.]
[20:41:56] -!- yuvipanda has quit [Quit: yuvipanda]
[21:01:18] -!- skunkworks has quit [Ping timeout: 250 seconds]
[21:02:18] -!- acdha [acdha!~acdha@66-44-113-126.c3-0.grg-ubr1.lnh-grg.md.cable.rcn.com] has joined #leaflet
[21:04:17] -!- acdha has quit [Client Quit]
[21:10:21] -!- phantoxeD has quit [Ping timeout: 252 seconds]
[21:20:12] -!- timwis has quit [Quit: Page closed]
[21:27:35] -!- BenceKovi111118 has quit [Ping timeout: 260 seconds]
[21:28:58] -!- Loetmichel has quit [Disconnected by services]
[21:28:59] Cylly is now known as Loetmichel
[21:29:00] -!- bedah has quit [Quit: bye]
[21:34:11] -!- skunkworks has quit [Ping timeout: 245 seconds]
[21:40:49] -!- vladimirek has quit [Remote host closed the connection]
[21:58:12] -!- BenceKovi111118 has quit [Quit: Nettalk6 - www.ntalk.de]
[22:06:24] -!- kwallace has quit [Ping timeout: 260 seconds]
[22:13:59] -!- JBFromOZ has quit [Remote host closed the connection]
[22:17:38] -!- maximilian_h has quit [Client Quit]
[22:29:29] -!- kmiyashiro_ [kmiyashiro_!~KellyM@65-123-15-198.dia.static.qwest.net] has joined #leaflet
[22:32:20] -!- kmiyashiro has quit [Ping timeout: 248 seconds]
[22:32:20] kmiyashiro_ is now known as kmiyashiro
[22:38:05] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[22:46:17] -!- sumpfralle has quit [Quit: Leaving.]
[23:05:28] -!- theorbtwo has quit [Read error: Connection reset by peer]
[23:12:10] -!- jpk has quit [Ping timeout: 250 seconds]
[23:12:36] -!- theorbtwo has quit [Ping timeout: 250 seconds]
[23:16:40] theorb_ is now known as theorbtwo
[23:23:18] -!- DJ9DJ has quit [Quit: bye]
[23:30:38] -!- jthornton has quit [Ping timeout: 255 seconds]
[23:30:48] -!- JT-Shop has quit [Ping timeout: 250 seconds]
[23:30:57] -!- logger[mah] has quit [Ping timeout: 251 seconds]
[23:53:24] -!- ink has quit [Remote host closed the connection]
[23:57:41] -!- kmiyashiro has quit [Ping timeout: 248 seconds]