#leaflet | Logs for 2012-08-17

Back
[00:05:59] -!- ForABetterWorld [ForABetterWorld!~Twiner@c-75-68-114-141.hsd1.nh.comcast.net] has joined #leaflet
[00:06:13] -!- ForABetterWorld [ForABetterWorld!~Twiner@c-75-68-114-141.hsd1.nh.comcast.net] has parted #leaflet
[00:10:50] -!- ed_ has quit [Ping timeout: 245 seconds]
[00:12:59] -!- gmagno has quit [Ping timeout: 260 seconds]
[00:16:17] -!- rob_h has quit [Ping timeout: 244 seconds]
[00:17:45] -!- Brandonian has quit [Quit: Brandonian]
[00:21:09] -!- toner has quit [Ping timeout: 260 seconds]
[00:28:30] -!- karavanjoW_ [karavanjoW_!~karavanjo@178.124.148.114] has joined #leaflet
[00:30:45] -!- broofa has quit [Quit: Computer has gone to sleep.]
[00:31:42] -!- karavanjoW has quit [Ping timeout: 245 seconds]
[00:31:42] -!- mal`` has quit [Ping timeout: 245 seconds]
[00:33:29] -!- syyl_ has quit [Quit: Leaving]
[00:36:33] -!- Newtonianb has quit []
[00:39:18] -!- ssi has quit [Ping timeout: 245 seconds]
[00:39:18] -!- toner has quit [Ping timeout: 245 seconds]
[00:40:38] -!- tjb1 has quit [Quit: tjb1]
[00:42:32] -!- xeen has quit [Ping timeout: 245 seconds]
[00:42:39] -!- xeen [xeen!xeen@shell.noname-ev.de] has joined #leaflet
[00:43:54] -!- cmorley has quit [Quit: Leaving.]
[01:00:19] -!- tjb1 has quit [Quit: tjb1]
[01:08:55] -!- fatpandas has quit [Quit: leaving]
[01:11:12] -!- mas_ has quit [Quit: Page closed]
[01:16:14] -!- fatpandas has quit [Client Quit]
[01:25:38] -!- LeelooMinai has quit [Quit: Ex-Chat]
[01:42:13] -!- JT-Shop has quit [Ping timeout: 248 seconds]
[01:42:22] -!- jthornton has quit [Ping timeout: 252 seconds]
[02:04:24] -!- CIA-121 has quit [Ping timeout: 260 seconds]
[02:08:38] -!- steves_logging has quit [Ping timeout: 246 seconds]
[02:11:33] -!- PCW has quit [Remote host closed the connection]
[02:15:29] -!- sumpfralle1 has quit [Ping timeout: 272 seconds]
[02:18:07] -!- FinboySlick has quit [Remote host closed the connection]
[02:28:43] -!- fatpandas has quit [Quit: leaving]
[02:51:45] -!- jp__ has quit [Quit: Ex-Chat]
[03:05:47] -!- broofa [broofa!~broofa@67.204.154.143] has joined #leaflet
[03:08:09] -!- Joel-re [Joel-re!~jr@115.69.254.216] has joined #leaflet
[03:32:22] -!- jthornton has quit [Read error: Connection reset by peer]
[03:32:23] -!- JT-Shop has quit [Read error: Connection reset by peer]
[03:56:27] -!- Joel-re has quit [Ping timeout: 240 seconds]
[04:05:21] -!- gmagno has quit [Remote host closed the connection]
[04:15:33] -!- Joel-re [Joel-re!~jr@115.69.250.88] has joined #leaflet
[04:16:50] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[04:18:13] -!- FinboySlick has quit [Quit: Leaving.]
[04:21:53] -!- Valen has quit [Quit: Leaving.]
[04:29:05] -!- Joel-re has quit [Ping timeout: 252 seconds]
[04:30:55] -!- Joel-re [Joel-re!~jr@223.183.121.118] has joined #leaflet
[04:35:20] -!- cmorley has quit [Ping timeout: 268 seconds]
[04:43:03] -!- Keknom has quit [Client Quit]
[05:03:21] -!- Fox_Muldr has quit [Ping timeout: 265 seconds]
[05:10:07] -!- Joel-re has quit [Ping timeout: 265 seconds]
[05:12:55] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[05:40:35] -!- _ink has quit [Ping timeout: 252 seconds]
[05:57:46] -!- emel has quit [Excess Flood]
[05:58:07] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[06:02:58] -!- factor has quit [Read error: Connection reset by peer]
[06:10:37] -!- Keknom has quit [Quit: Leaving.]
[06:24:53] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[06:26:14] -!- factor has quit [Read error: Connection reset by peer]
[06:53:18] -!- jpk has quit [Ping timeout: 252 seconds]
[07:19:45] -!- rdunklau has quit [Remote host closed the connection]
[08:06:51] -!- Pablo__ has quit [Ping timeout: 268 seconds]
[08:14:38] -!- cradek has quit [Ping timeout: 245 seconds]
[08:15:16] -!- factor has quit [Ping timeout: 245 seconds]
[08:25:02] -!- toastydeath has quit [Read error: No route to host]
[08:37:30] -!- Pablo__ [Pablo__!~ews@c-67-164-16-24.hsd1.ca.comcast.net] has joined #leaflet
[08:49:56] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[09:07:17] -!- ed_ [ed_!568b259f@gateway/web/freenode/ip.86.139.37.159] has joined #leaflet
[09:26:56] -!- dhoovie has quit [Ping timeout: 252 seconds]
[09:48:35] -!- toastydeath has quit [Ping timeout: 256 seconds]
[10:08:34] -!- the_wench has quit [Ping timeout: 246 seconds]
[10:10:19] -!- archivist has quit [Ping timeout: 260 seconds]
[10:27:51] jthornton_ is now known as jthornton
[10:37:28] -!- mk0 has quit [Ping timeout: 246 seconds]
[10:47:52] -!- oterral [oterral!~oterral@ns-lsn-fw.geomatic.ch] has joined #leaflet
[10:49:11] -!- Adventsparky has quit [Ping timeout: 246 seconds]
[10:49:35] -!- Adventsparky [Adventsparky!~kvirc@dw.hccl.ie] has joined #leaflet
[10:58:17] -!- emel has quit [Excess Flood]
[10:58:37] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[11:01:11] -!- morfic has quit [Read error: Connection reset by peer]
[11:06:51] -!- jthornton has quit [Quit: Ex-Chat]
[11:31:51] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[11:36:17] <ed_> it's quiet in here... too quiet... :)
[11:36:56] <Adventsparky> Suspiciousness
[11:37:59] <ed_> I was wondering if anyone might be able to show me an example map using OS opendata
[11:38:30] <ed_> I'm just getting started with leaflet of a major app and don't want to make any major mistakes / burn bridges.
[11:59:31] -!- DJ9DJ has quit [Quit: reboot]
[12:05:07] -!- skunkworks__ has quit [Remote host closed the connection]
[12:15:36] -!- oterral has quit [Ping timeout: 252 seconds]
[12:20:07] <psha[work]> ed_: looks like that you need to add WMS layer with appropriate url
[12:25:42] -!- ofzach [ofzach!~molmol@mail1.nu-offsite-hosting.org.uk] has joined #leaflet
[12:36:47] -!- ofzach has quit [Quit: ofzach]
[12:39:47] -!- karavanjoW_ has quit [Ping timeout: 240 seconds]
[12:42:23] -!- karavanjoW [karavanjoW!~karavanjo@178.124.148.114] has joined #leaflet
[12:46:09] -!- oterral [oterral!~oterral@ns-lsn-fw.geomatic.ch] has joined #leaflet
[13:00:12] <ed_> psha[work]: thanks
[13:00:35] <ed_> psha[work]: any other tips to make working with leaflet smoother?
[13:00:44] <ed_> eg using mpastraction or antyhing like that?
[13:05:09] -!- Brandonian [Brandonian!~bmorrison@c-76-23-71-207.hsd1.in.comcast.net] has joined #leaflet
[13:05:26] <b_b> smoother ?
[13:05:49] * b_b ticked by "mapstraction" ;)
[13:06:34] <b_b> i was using mapstraction before ed_ and now i've been working with leaflet i will surely not go back to mapstraction
[13:07:23] <b_b> i'm not saying mapstraction is bad, but it's limited by the fact it has to do only the things that can be done with all the apis it handles
[13:07:40] <ed_> b_b: good feedback :) am I right in thinking that it sit's above / behind leafleft, enabling you to swap from leaflet to google to biing to .. etc
[13:07:49] <ed_> gotcha yes..
[13:08:08] <b_b> the gis plugin i developp for spip was using mapstraction before
[13:08:22] <b_b> i've switched it to leaflet months ago
[13:08:30] <b_b> and i'm very pleased with that :)
[13:08:37] <ed_> so do most people use OSM as the baselayer when using leaflet?
[13:08:43] <b_b> nope
[13:08:51] <b_b> look there for a demo
[13:09:00] <b_b> http://labo.eliaz.fr/spip.php?page=carte
[13:09:10] <b_b> you can still use google tiles with plugins
[13:09:13] <b_b> bing too
[13:09:42] <ed_> it breaks their terms though I think doesn't it?
[13:09:46] <psha[work]> no
[13:09:47] <b_b> but there are more nice tiles availables without needing to insert google scripts in your page ;)
[13:09:51] <psha[work]> bing and yandex layers are legal
[13:09:57] <psha[work]> google seem to be legal
[13:10:00] <b_b> google ones too
[13:10:15] <b_b> but you have to insert the gmap script in your page to use their tiles
[13:10:16] <psha[work]> i've not got reply from google yet :(
[13:10:18] <ed_> oh I was looking at http://stackoverflow.com/questions/11069082/how-to-use-google-maps-api-in-leaflet-cloudmade
[13:10:20] <b_b> crapy thing
[13:10:48] <b_b> look there ed_ => https://github.com/shramov/leaflet-plugins
[13:11:57] <ed_> nice!
[13:12:00] <ed_> great demo too
[13:12:37] <b_b> just a simple map to show to spip users how many tiles are availables in the plugin
[13:12:40] <ed_> wow this shouldn't take long at all
[13:22:02] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[13:22:47] -!- Tom_itx has quit [Ping timeout: 240 seconds]
[13:24:45] -!- zlog has quit [Ping timeout: 244 seconds]
[13:30:55] -!- ed_ has quit [Quit: Page closed]
[13:40:28] -!- Santolina [Santolina!5123713a@gateway/web/freenode/ip.81.35.113.58] has joined #leaflet
[13:47:38] -!- odogono_ [odogono_!~mohiam@cpc20-king10-2-0-cust228.19-1.cable.virginmedia.com] has joined #leaflet
[13:48:37] -!- odogono has quit [Ping timeout: 252 seconds]
[13:51:18] -!- odogono [odogono!~mohiam@cpc20-king10-2-0-cust228.19-1.cable.virginmedia.com] has joined #leaflet
[13:51:30] -!- Santolina has quit [Quit: Page closed]
[13:51:39] -!- oterral [oterral!~oterral@ns-lsn-fw.geomatic.ch] has parted #leaflet
[13:51:55] -!- odogono_ has quit [Ping timeout: 252 seconds]
[13:56:49] -!- servos4ever has quit [*.net *.split]
[13:56:49] -!- Pablo__ has quit [*.net *.split]
[13:56:50] -!- psha[work] has quit [*.net *.split]
[13:56:50] -!- _ink has quit [*.net *.split]
[13:56:50] -!- mattswe has quit [*.net *.split]
[13:56:50] -!- Patang has quit [*.net *.split]
[13:56:50] -!- grummund has quit [*.net *.split]
[13:56:50] -!- Kent_ has quit [*.net *.split]
[13:56:50] -!- hm2-buildmaster has quit [*.net *.split]
[13:56:51] -!- cherry_lin has quit [*.net *.split]
[13:57:26] -!- Pablo__ [Pablo__!~ews@c-67-164-16-24.hsd1.ca.comcast.net] has joined #leaflet
[13:57:26] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[13:57:26] -!- cherry_lin [cherry_lin!~danst@static.148.60.47.78.clients.your-server.de] has joined #leaflet
[14:01:34] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 13.0/20120601201853]]
[14:04:42] -!- mattswe [mattswe!u4809@gateway/web/irccloud.com/x-nzgaiznwywdfneti] has joined #leaflet
[14:07:33] -!- timholum has quit [Read error: Connection reset by peer]
[14:12:56] JT-Shop-2 is now known as JT-Shop
[14:26:01] -!- ipad [ipad!~ipad@58.Red-81-35-113.dynamicIP.rima-tde.net] has joined #leaflet
[14:26:34] -!- odogono_ [odogono_!~mohiam@cpc20-king10-2-0-cust228.19-1.cable.virginmedia.com] has joined #leaflet
[14:27:15] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 14.0.1/20120713225625]]
[14:27:29] -!- odogono has quit [Ping timeout: 252 seconds]
[14:27:29] odogono_ is now known as odogono
[14:33:16] <ipad> Hi. Yesterday I was asking about the possibility of using leaflet KML plugin and load KML files without using ajax. I am using a mobile irc client and so I get disconnected frequently but I can check channel logs later. So if anyone has ideas (psha?) please tell me
[14:34:30] ipad is now known as Santolina
[14:35:31] <psha[work]> _addKML takes xml object as first parameter
[14:35:46] <psha[work]> dig into jquery or some other libraries for alternative ways of loading xml
[14:37:49] -!- micges has quit [Ping timeout: 268 seconds]
[14:42:49] -!- broofa has quit [Ping timeout: 240 seconds]
[14:47:10] -!- Nick001 has quit []
[14:51:44] cradek_ is now known as cradek
[14:52:05] -!- cradek has quit [Changing host]
[14:54:09] -!- factor has quit [Ping timeout: 240 seconds]
[14:59:08] -!- Santolina has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
[15:04:16] -!- psha[work] has quit [Quit: Lost terminal]
[15:20:04] -!- Adventsparky has quit [Ping timeout: 246 seconds]
[15:20:32] -!- Adventsparky [Adventsparky!~kvirc@dw.hccl.ie] has joined #leaflet
[15:28:29] -!- syyl has quit [Ping timeout: 240 seconds]
[15:31:41] -!- broofa [broofa!~broofa@208-100-130-92.bendbroadband.com] has joined #leaflet
[15:52:00] -!- b_b [b_b!ejabberd@81.18.178.14] has parted #leaflet
[15:55:22] -!- JT-Shop has quit [Quit: Leaving]
[15:59:53] -!- JT-Shop has quit [Read error: Connection reset by peer]
[16:05:49] -!- jthornton has quit [Read error: Connection reset by peer]
[16:14:09] -!- jthornton has quit [Read error: Connection reset by peer]
[16:16:14] -!- micges_ has quit [Quit: Leaving]
[16:16:48] -!- toastyde1th has quit [Ping timeout: 244 seconds]
[16:17:38] jthornton_ is now known as jthornton
[16:21:55] -!- jthornton has quit [Read error: Connection reset by peer]
[16:24:30] -!- wsjr has quit [Read error: Connection reset by peer]
[17:00:44] -!- morfic has quit [Read error: Connection reset by peer]
[17:05:42] -!- karavanjo [karavanjo!~karavanjo@213.184.242.183] has joined #leaflet
[17:10:19] -!- archivist has quit [Ping timeout: 260 seconds]
[17:10:19] -!- the_wench has quit [Ping timeout: 246 seconds]
[17:16:54] -!- erasmo has quit [Quit: Leaving]
[17:16:57] -!- erasmo81 has quit [Quit: Leaving]
[17:29:28] -!- fatpandas has quit [Ping timeout: 252 seconds]
[17:47:39] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 14.0.1/20120713225625]]
[17:48:04] -!- jthornton has quit [Read error: Connection reset by peer]
[17:49:41] -!- timholum has quit [Ping timeout: 248 seconds]
[18:03:33] -!- jthornton has quit [Read error: Connection reset by peer]
[18:04:59] -!- joe9 has quit [Quit: leaving]
[18:05:53] -!- wboykinm has quit [Remote host closed the connection]
[18:15:01] -!- jthornton has quit [Read error: Connection reset by peer]
[18:17:31] -!- BenceKovi11118 has quit [Ping timeout: 245 seconds]
[18:25:00] -!- syyl_ws has quit [Quit: Verlassend]
[18:28:42] -!- factor has quit [Read error: Connection reset by peer]
[18:52:05] -!- Santolina [Santolina!~Santolina@58.Red-81-35-113.dynamicIP.rima-tde.net] has joined #leaflet
[18:55:19] -!- BenceKovi11118 has quit [Ping timeout: 260 seconds]
[19:02:25] -!- Santolina has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
[19:15:29] <broofa> Is there a simple way to display cross hair in the center of a map? I've tried several approaches, but none of them work particularly well.
[19:16:31] <broofa> 1. use absolutely positioned divs. (*meh* because you have to use JS to futz with size/position to get them to stay centered as map resizes)
[19:17:13] <broofa> 2. use an image, also absolutely positioned. Same *meh*s as above, plus image tends to prevent mouse/gesture events from getting to map
[19:18:08] <broofa> 3. Use L.Marker. *meh* because you have to futz around with a bunch of events (move, zoom, moveend, zoomend) to keep the marker centered.
[19:34:08] -!- zzolo has quit [Quit: zzolo]
[19:47:01] -!- Loetmichel has quit [Ping timeout: 248 seconds]
[19:49:51] -!- zzolo [zzolo!~zzolo@63.231.245.97] has joined #leaflet
[19:51:40] -!- Cylly2 has quit []
[19:57:22] -!- jthornton has quit [Quit: Ex-Chat]
[19:57:37] -!- broofa has quit [Quit: Computer has gone to sleep.]
[19:59:56] -!- toastydeath has quit [Ping timeout: 265 seconds]
[20:04:53] -!- bpuk has quit []
[20:05:01] -!- broofa [broofa!~broofa@97-115-88-139.ptld.qwest.net] has joined #leaflet
[20:11:58] -!- the_wench has quit [Ping timeout: 246 seconds]
[20:14:03] -!- archivist has quit [Ping timeout: 272 seconds]
[20:15:40] -!- JT-Shop has quit [Read error: Connection reset by peer]
[20:18:50] -!- mhaberler has quit [Ping timeout: 268 seconds]
[20:18:50] mhaberler_ is now known as mhaberler
[20:23:53] -!- fatpandas has quit [Ping timeout: 245 seconds]
[20:39:49] -!- fatpandas has quit [Remote host closed the connection]
[20:41:17] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[20:58:45] -!- bedah has quit [Quit: gn8]
[21:00:30] -!- asdfasd has quit []
[21:02:07] -!- vladimirek has quit [Ping timeout: 240 seconds]
[21:03:54] -!- Jordan__ [Jordan__!6321b631@gateway/web/freenode/ip.99.33.182.49] has joined #leaflet
[21:04:05] <Jordan__> hello
[21:06:31] <Jordan__> I was hoping someone could help me with a zoomReverse and zoomOffset issue I am having
[21:07:03] -!- psha has quit [Quit: Lost terminal]
[21:09:53] <br14> whats up
[21:10:07] -!- DJ9DJ has quit [Quit: bye]
[21:10:13] <Jordan__> hey
[21:10:23] <Jordan__> well I have an existing tile set that I need to use on the map
[21:10:32] <Jordan__> and the zoom levels are in reverse
[21:11:00] <Jordan__> and our zoom level 0 is equivalent to zoom level 9
[21:11:16] <Jordan__> so I set the zoomOffset to -9
[21:11:25] <Jordan__> and the zoomReverse to true on my tile layers
[21:11:51] <Jordan__> which works fine for loading up my most zoomed in level (0)
[21:12:27] <Jordan__> I've also set the minZoom to 9 and maxZoom to 12 since there are only 4 zoom levels
[21:13:14] <Jordan__> the problem is I can't zoom out, I can zoom in which then changes the zoom level from 9 to 10
[21:13:21] <Jordan__> but I want to zoom out and have it change from 9 to 10
[21:14:11] <Jordan__> from looking at the source code the zoom offset is only taken into account with requesting urls
[21:14:29] <Jordan__> and perhaps does not work properly when used with zoomReverse
[21:15:03] <Jordan__> I'd like to be wrong about that
[21:16:50] -!- broofa has quit [Quit: Computer has gone to sleep.]
[21:19:39] -!- broofa [broofa!~broofa@208-100-130-92.bendbroadband.com] has joined #leaflet
[21:23:37] -!- FinboySlick has quit [Quit: Leaving.]
[21:37:23] -!- zzolo has quit [Quit: zzolo]
[21:39:07] -!- skunkworks has quit [Read error: Connection reset by peer]
[21:41:53] <Jordan__> any words of wisdom br14?
[21:44:38] -!- Santolina [Santolina!~Santolina@58.Red-81-35-113.dynamicIP.rima-tde.net] has joined #leaflet
[21:46:27] -!- BenceKovi11119 has quit [Ping timeout: 240 seconds]
[21:52:36] -!- toastyde1th has quit [Ping timeout: 244 seconds]
[21:56:26] -!- Santolina has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
[21:57:01] -!- toastydeath has quit [Ping timeout: 252 seconds]
[21:57:06] -!- micges has quit [Quit: Leaving]
[22:06:39] -!- BenceKovi11119 has quit [Quit: Nettalk6 - www.ntalk.de]
[22:19:20] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[22:26:29] -!- jpk [jpk!~jpk@unaffiliated/vorondil] has joined #leaflet
[22:37:47] -!- vladimirek has quit [Remote host closed the connection]
[22:38:51] -!- mhaberler has quit [Quit: mhaberler]
[22:39:18] -!- Brandonian has quit [Quit: Brandonian]
[22:53:59] -!- Guthur has quit [Remote host closed the connection]
[23:06:28] -!- syyl_ has quit [Read error: Connection reset by peer]
[23:07:34] -!- Adventsparky has quit [Remote host closed the connection]
[23:25:09] -!- rob_h has quit [Ping timeout: 256 seconds]
[23:42:09] -!- toastyde1th has quit [Ping timeout: 240 seconds]
[23:49:51] -!- broofa has quit [Quit: Computer has gone to sleep.]
[23:59:11] -!- asdfasd has quit [Ping timeout: 244 seconds]