#leaflet | Logs for 2013-01-07

Back
[00:04:37] -!- logger[mah] has quit [Remote host closed the connection]
[00:10:25] -!- RifRaf has quit [Remote host closed the connection]
[00:25:25] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[00:44:42] -!- bedah2 has quit [Quit: bye]
[00:58:43] -!- ybon has quit [Quit: WeeChat 0.3.8]
[01:02:20] -!- theorbtwo has quit [Remote host closed the connection]
[01:13:17] -!- toastydeath has quit [Ping timeout: 272 seconds]
[01:18:21] -!- rob_h has quit [Ping timeout: 272 seconds]
[01:29:48] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[01:35:48] -!- TekniQue has quit [Ping timeout: 276 seconds]
[01:38:04] -!- chopper79 has quit [Read error: Connection reset by peer]
[01:40:21] -!- yuvipanda_ has quit [Quit: yuvipanda_]
[01:41:19] -!- gmagno has quit [Quit: Enough small talk...]
[01:45:25] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[01:59:52] -!- plushy has quit [Quit: Leaving.]
[02:08:27] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[02:18:09] -!- zzolo has quit [Quit: zzolo]
[02:18:14] -!- yuvipanda_ has quit [Ping timeout: 246 seconds]
[02:47:04] -!- andypugh has quit [Quit: andypugh]
[02:59:27] -!- RifRaf has quit [Remote host closed the connection]
[03:12:39] -!- sumpfralle1 has quit [Ping timeout: 276 seconds]
[03:45:15] -!- r00t4rd3d has quit [Ping timeout: 265 seconds]
[03:46:08] -!- archivist_herron has quit [Ping timeout: 255 seconds]
[03:56:34] -!- asdfasd has quit [Ping timeout: 276 seconds]
[03:58:53] -!- RifRaf has quit [Remote host closed the connection]
[03:58:54] -!- gambakufu has quit [Ping timeout: 264 seconds]
[04:01:25] -!- Keknom has quit [Quit: Leaving.]
[04:06:51] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[04:15:19] -!- zzolo has quit [Quit: zzolo]
[04:18:16] -!- mk0 has quit [Quit: Leaving]
[04:20:15] -!- Youdaman [Youdaman!~Youdaman@ppp121-75.static.internode.on.net] has joined #leaflet
[04:32:43] -!- Gene45 has quit []
[04:33:06] -!- skunkworks2 has quit [Ping timeout: 264 seconds]
[04:45:58] -!- Tom_L has quit [Ping timeout: 276 seconds]
[05:14:11] -!- RifRaf has quit [Ping timeout: 265 seconds]
[05:23:30] -!- archivist_herron has quit [Ping timeout: 264 seconds]
[05:55:17] -!- asdfasd has quit [Read error: Connection reset by peer]
[06:15:14] -!- FinboySlick has quit [Quit: Leaving.]
[06:16:40] -!- tjb1 has quit [Quit: tjb1]
[06:24:05] -!- archivist_herron has quit [Ping timeout: 255 seconds]
[06:39:00] -!- RifRaf has quit []
[06:45:51] -!- halo_cast has quit [Ping timeout: 276 seconds]
[06:46:05] -!- mhaberler has quit [Ping timeout: 252 seconds]
[07:03:11] -!- kwallace has quit [Read error: No route to host]
[07:04:57] -!- RifRaf has quit [Remote host closed the connection]
[07:07:40] -!- dimas has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
[07:19:49] -!- chopper79 has quit [Quit: Leaving.]
[07:31:55] -!- mhaberler has quit [Quit: mhaberler]
[07:45:46] Cylly is now known as Loetmichel
[07:54:48] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[08:01:09] -!- Simon5 [Simon5!~Simon@85.201.62.78] has joined #leaflet
[08:06:17] -!- racycle has quit [Quit: racycle]
[08:14:31] -!- AR_ has quit [Ping timeout: 256 seconds]
[08:17:56] -!- halo_cast has quit [Ping timeout: 255 seconds]
[08:23:10] -!- Tom_itx has quit [Ping timeout: 260 seconds]
[08:46:44] -!- emel has quit [Excess Flood]
[08:47:05] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[08:55:55] -!- Simon5 [Simon5!~Simon@85.201.62.78] has parted #leaflet
[09:09:43] -!- adb has quit [Ping timeout: 260 seconds]
[09:18:43] -!- mackerski [mackerski!~dermot@87.198.252.242] has joined #leaflet
[09:23:32] -!- RifRaf has quit [Remote host closed the connection]
[09:27:24] -!- plushy has quit [Quit: Leaving.]
[09:28:09] -!- ybon [ybon!~ybon@80.214.9.14] has joined #leaflet
[09:51:16] theos is now known as Guest74980
[09:55:22] -!- Guest74980 has quit [Ping timeout: 276 seconds]
[09:55:36] -!- RifRaf has quit [Remote host closed the connection]
[10:11:48] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[10:19:10] -!- RyanS has quit [Ping timeout: 265 seconds]
[10:21:36] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[10:25:40] -!- TekniQue has quit [Changing host]
[10:31:35] -!- yuvipanda_ has quit [Ping timeout: 252 seconds]
[10:32:37] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[10:43:17] -!- vladimirek has quit [Ping timeout: 272 seconds]
[10:55:57] -!- vladimirek has quit [Read error: Connection reset by peer]
[11:00:26] <plushy> does leaflet has function for calculating bearing?
[11:00:43] <plushy> there is one to calculate distance between two points but I don't see bearing
[11:10:02] <plushy> okay, found one
[11:20:45] -!- RifRaf has quit [Remote host closed the connection]
[11:23:51] -!- plushy has quit [Quit: Leaving.]
[11:30:55] -!- zlog has quit [Ping timeout: 276 seconds]
[11:31:00] -!- Tom_itx has quit [Ping timeout: 260 seconds]
[11:32:37] -!- RifRaf has quit []
[11:35:13] -!- yuvipanda_ has quit [Ping timeout: 272 seconds]
[11:55:03] -!- theos has quit [Quit: cya]
[12:00:12] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[12:04:54] -!- paideia has quit [Quit: Leaving]
[12:06:40] -!- phantoxeD has quit [Ping timeout: 276 seconds]
[12:22:19] -!- mhaberler has quit [Quit: mhaberler]
[12:23:42] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[12:34:45] -!- automata_ has quit [Read error: Connection reset by peer]
[12:36:34] -!- dhoovie has quit [Read error: Connection reset by peer]
[12:44:02] -!- yuvipanda_ has quit [Remote host closed the connection]
[12:44:49] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[12:45:56] -!- skunkworks has quit [Remote host closed the connection]
[12:55:38] -!- yuvipanda_ has quit [Quit: yuvipanda_]
[13:05:34] -!- theorbtwo has quit [Remote host closed the connection]
[13:16:49] -!- Tom_itx has quit [Client Quit]
[13:22:23] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[13:33:01] -!- mikegg has quit [Ping timeout: 272 seconds]
[13:46:30] -!- cncbasher has quit [Remote host closed the connection]
[13:48:21] -!- mikegg has quit [Ping timeout: 276 seconds]
[13:49:27] -!- theorbtwo has quit [Remote host closed the connection]
[14:00:49] -!- Youdaman has quit []
[14:17:33] -!- tjb1 has quit [Quit: tjb1]
[14:26:36] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[14:27:19] -!- chopper79 has quit [Quit: Leaving.]
[14:41:44] -!- dway has quit [Quit: dway]
[14:47:22] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[14:48:41] -!- PJ__ [PJ__!88a718de@gateway/web/freenode/ip.136.167.24.222] has joined #leaflet
[14:49:46] -!- shurshur has quit [Remote host closed the connection]
[14:52:24] <PJ__> Do anyone of you know how to get hold of the map Object after its been created already. I create the map object in one function and want to access the map object in another function without declaring it globally. I can easily get the dom div where the map goes but then it does not have any of the leaflet map methods as its just a refernce to the div. Any ideas?
[14:53:31] <ybon> Leaflet doesn't handle this
[14:53:51] <ybon> so you have to use your own system
[14:54:09] <ybon> or just use a global var
[14:54:17] <ybon> (or I'm missing something ;) )
[14:54:27] <PJ__> Ok sounds like using map in a global scope might be the simplest solution
[14:54:29] <PJ__> Thanks
[14:55:56] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[15:01:28] -!- psyhitus [psyhitus!~psyhitus@212-34-120-3.domolink.elcom.ru] has joined #leaflet
[15:03:32] -!- maximilian_h has quit [Ping timeout: 248 seconds]
[15:06:36] -!- shurshur [shurshur!~chatzilla@79.165.217.36] has joined #leaflet
[15:13:57] -!- maximilian_h has quit [Quit: Leaving.]
[15:14:44] -!- AR_ has quit [Ping timeout: 248 seconds]
[15:15:26] -!- AndChat|513876 has quit [Client Quit]
[15:34:29] -!- PJ__ has quit [Quit: Page closed]
[15:38:29] -!- Poincare has quit [Quit: changing servers]
[15:41:56] -!- AndChat|244209 has quit [Ping timeout: 248 seconds]
[15:45:04] -!- Brandonian [Brandonian!~bmorrison@c-71-229-70-68.hsd1.in.comcast.net] has joined #leaflet
[15:50:26] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[15:59:18] -!- JT-Shop has quit [Read error: Connection timed out]
[16:26:55] -!- vladimirek has quit [Remote host closed the connection]
[16:45:10] -!- herron has quit [Read error: Operation timed out]
[16:47:50] -!- jieter [jieter!~jieter@a82-95-189-212.adsl.xs4all.nl] has joined #leaflet
[16:50:54] abetusk is now known as Guest68635
[16:50:55] -!- Guest68635 has quit [Killed (morgan.freenode.net (Nickname regained by services))]
[16:56:10] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[17:05:01] -!- herron has quit [Ping timeout: 276 seconds]
[17:21:35] -!- mhaberler has quit [Ping timeout: 260 seconds]
[17:25:54] -!- ybon1 [ybon1!~ybon@80.214.9.14] has joined #leaflet
[17:26:00] -!- ybon has quit [Read error: Connection reset by peer]
[17:40:54] -!- Dolence has quit [Ping timeout: 264 seconds]
[17:41:37] -!- Simooon has quit [Remote host closed the connection]
[17:56:08] -!- mackerski has quit [Quit: mackerski]
[18:00:14] -!- TekniQue has quit [Ping timeout: 255 seconds]
[18:01:02] -!- TekniQue has quit [Changing host]
[18:06:26] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[18:12:15] -!- halo_cast has quit [Ping timeout: 240 seconds]
[19:02:57] -!- tjb1 has quit [Ping timeout: 245 seconds]
[19:02:58] tjb1_ is now known as tjb1
[19:04:27] -!- cradek has quit [Ping timeout: 252 seconds]
[19:04:38] -!- dway has quit [Quit: dway]
[19:04:43] -!- KGB-linuxcnc has quit [Ping timeout: 260 seconds]
[19:09:01] -!- automata_ has quit [Ping timeout: 256 seconds]
[19:17:05] -!- cradek has quit [Changing host]
[19:28:15] -!- toastyde1th has quit [Ping timeout: 240 seconds]
[19:30:44] -!- toastydeath has quit [Ping timeout: 248 seconds]
[19:32:20] -!- toastyde2th has quit [Ping timeout: 248 seconds]
[19:34:39] -!- acdha [acdha!~acdha@140.147.178.47] has joined #leaflet
[19:40:17] -!- toastydeath has quit [Read error: Connection reset by peer]
[19:51:22] -!- hdokes has quit [Read error: Connection reset by peer]
[19:53:55] -!- halo_cast has quit [Ping timeout: 252 seconds]
[20:12:48] -!- DJ9DJ has quit [Quit: bye]
[20:18:44] -!- TekniQue has quit [Ping timeout: 248 seconds]
[20:37:31] -!- Holgi has quit [Quit: Bye]
[20:39:12] -!- tjb1 has quit [Ping timeout: 245 seconds]
[20:39:12] tjb1_ is now known as tjb1
[20:54:03] -!- tjb1 has quit [Quit: tjb1]
[21:28:54] -!- i_tarzan has quit [Ping timeout: 264 seconds]
[21:28:57] -!- Dolence has quit []
[21:30:15] -!- joru [joru!~joru@31.44.230.51] has joined #leaflet
[21:30:36] -!- acdha has quit [Quit: Leaving...]
[21:31:01] -!- acdha [acdha!~acdha@140.147.178.47] has joined #leaflet
[21:32:08] ybon1 is now known as ybon
[21:32:10] -!- Loetmichel has quit [Ping timeout: 252 seconds]
[21:35:29] -!- RifRaf has quit [Remote host closed the connection]
[21:39:59] -!- FinboySlick has quit [Quit: Leaving.]
[21:45:06] -!- vladimirek has quit [Remote host closed the connection]
[21:49:11] -!- mas1956 [mas1956!4c18a182@gateway/web/freenode/ip.76.24.161.130] has joined #leaflet
[21:50:03] <mas1956> is there some kind of a "Back to Original Extent " button in the works?
[21:50:56] <ybon> I don't think there is out of the box
[21:51:52] Cylly is now known as Loetmichel
[21:53:54] -!- KGB-linuxcnc has quit [Ping timeout: 276 seconds]
[21:55:39] -!- cradek has quit [Ping timeout: 265 seconds]
[21:56:35] -!- mhaberler has quit [Quit: mhaberler]
[21:59:42] -!- cradek has quit [Changing host]
[21:59:55] -!- syyl_ws has quit [Quit: Verlassend]
[22:12:27] <mas1956> bummer, I've been avoiding making buttons due my lack of experience. It's the CSS that get to me.
[22:12:56] <ybon> making custom controls in Leaflet is really easy
[22:14:06] <mas1956> i've looked at some examples and they seem a bit lengthy
[22:15:39] -!- skunkworks has quit [Read error: Connection reset by peer]
[22:17:23] <mas1956> I looked at this http://leaflet.cloudmade.com/reference.html#icontrol. Is there a way to get a button out of this
[22:18:39] <ybon> here you have a simple example: https://github.com/yohanboniface/Leaflet.Storage/blob/master/src/js/leaflet.storage.controls.js#L322
[22:19:58] -!- jieter has quit [Remote host closed the connection]
[22:21:10] <mas1956> I tried playing with that for awhile and I'm cluseless how to use it. Sorry, but my skills are lacking. Plus I'm not looking for someone to do it for me either.
[22:24:28] <mas1956> when I paste the entire loace control in my code it throws an error L.Storage is undefined
[22:25:41] <mas1956> I'm using leaflet.js version 0.5
[22:25:59] <ybon> yes, it's just an example ;)
[22:26:19] <ybon> L.Storage.xxx => L.nameofyourcontrol
[22:31:59] <mas1956> it doesnt seem to like L.Storage
[22:32:44] -!- Alf__ has quit [Ping timeout: 246 seconds]
[22:34:43] <ybon> yes, remove L.Storage
[22:34:48] <ybon> and use only L. instead
[22:35:05] <ybon> L.Storage is may plugin, so of course your install doesn't know about it
[22:35:09] <ybon> my*
[22:41:30] -!- holst has quit [Ping timeout: 264 seconds]
[22:43:56] -!- syyl has quit [Quit: Leaving]
[22:44:01] <mas1956> these two lines don't seem to be creating a button var className = 'leaflet-control-button-zoomfull', container = L.DomUtil.create('button', className);
[22:47:38] <ybon> yeah, sorry, you have to adapt some things
[22:47:46] <ybon> the className must be a valid one
[22:47:56] <ybon> which will be responsable to add the icon
[22:48:06] <ybon> you can use a leaflet one for test
[22:48:12] <ybon> leaflet-control-layers for example
[22:54:18] <mas1956> hey no problem, your controls are nice and exactly what I want. I'll learn the hard way, I'm used to it
[22:54:44] <mas1956> should I copy your .storage css?
[22:55:07] <ybon> it will be a little bit too big for a control, but it's unlicenced ;)
[22:55:33] <ybon> btw, you have a look on what they look like here: http://umap.fluv.io/map/AnnaPurna/parcours-geocaching-8-janvier-2013/#12/48.3777/-3.3972
[22:58:52] <mas1956> am I even close? http://pastebin.com/9e0fuqGy
[23:00:40] <ybon> sounds like
[23:01:01] -!- joru has quit [Remote host closed the connection]
[23:14:08] -!- Brandonian has quit [Quit: Brandonian]
[23:17:36] -!- zzolo has quit [Quit: zzolo]
[23:17:41] -!- psyhitus has quit [Ping timeout: 248 seconds]
[23:18:51] -!- Guest67445 has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121129165506]]
[23:19:31] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[23:19:56] uwe__ is now known as uwe_
[23:21:43] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[23:22:57] -!- acdha has quit [Quit: Leaving...]