#leaflet | Logs for 2012-11-18

Back
[00:02:55] -!- bedah has quit [Quit: gn8]
[00:02:55] -!- logger[mah] has quit [Remote host closed the connection]
[00:03:19] -!- mhaberler has quit [Quit: mhaberler]
[00:09:20] -!- kwallace1 has quit [Ping timeout: 255 seconds]
[00:13:36] -!- ybon has quit [Quit: WeeChat 0.3.8]
[00:40:08] -!- adb has quit [Ping timeout: 265 seconds]
[01:08:32] -!- r00t4rd3d has quit [Quit: Leaving]
[01:13:06] -!- Gabriel__ has quit [Quit: Ex-Chat]
[01:15:54] -!- asdfasd has quit [Ping timeout: 240 seconds]
[01:27:49] -!- rob_h has quit [Ping timeout: 248 seconds]
[01:44:11] -!- bartek has quit [Quit: leaving]
[02:00:02] -!- Flipp has quit [Ping timeout: 245 seconds]
[02:03:08] -!- gmagno has quit [Quit: Enough small talk...]
[02:04:11] -!- IrrerIvan has quit [Remote host closed the connection]
[02:09:27] -!- skunkworks has quit [Ping timeout: 268 seconds]
[02:12:38] -!- L84Supper has quit [Ping timeout: 245 seconds]
[02:22:08] -!- karlg [karlg!47c61b1a@gateway/web/freenode/ip.71.198.27.26] has joined #leaflet
[02:22:35] -!- Simooon has quit [Remote host closed the connection]
[02:23:12] -!- karlg [karlg!47c61b1a@gateway/web/freenode/ip.71.198.27.26] has parted #leaflet
[03:04:07] -!- TheLarch has quit [Changing host]
[03:05:44] -!- L84Supper has quit [Ping timeout: 246 seconds]
[03:06:11] -!- TheLarch has quit [Client Quit]
[03:42:50] -!- andypugh has quit [Quit: andypugh]
[04:18:18] -!- c60 has quit [Quit: Lost terminal]
[04:19:35] -!- Loetmichel has quit [Ping timeout: 246 seconds]
[04:56:57] -!- Keknom has quit [Read error: Connection reset by peer]
[05:05:15] -!- hdokes|werkin has quit [Ping timeout: 276 seconds]
[05:10:31] -!- clayton_ has quit [Client Quit]
[05:11:22] -!- Tecan has quit [Changing host]
[05:11:49] -!- Tecan has quit [Remote host closed the connection]
[05:13:19] -!- Tecan has quit [Changing host]
[05:56:07] -!- KGB-linuxcnc has quit [Ping timeout: 272 seconds]
[05:56:23] -!- cradek has quit [Ping timeout: 260 seconds]
[06:05:06] -!- factor has quit [Read error: Connection reset by peer]
[06:05:50] -!- psha has quit [Quit: Lost terminal]
[06:08:07] -!- Keknom has quit [Quit: Leaving.]
[06:08:18] -!- jpk has quit [Ping timeout: 276 seconds]
[06:13:23] -!- tjb1 has quit [Read error: Connection reset by peer]
[06:25:35] -!- tjb1 has quit [Ping timeout: 246 seconds]
[07:18:58] -!- crib has quit [Remote host closed the connection]
[07:20:09] -!- Flipp has quit [Ping timeout: 244 seconds]
[07:33:11] -!- cradek has quit [Ping timeout: 256 seconds]
[08:15:24] -!- Cylly has quit []
[08:58:32] -!- racycle has quit [Quit: racycle]
[09:04:45] -!- FinboySlick has quit [Quit: Leaving.]
[09:10:48] -!- Rhubarb [[email protected]] has joined #leaflet
[09:12:20] -!- oyildirim has quit [Quit: Leaving]
[09:14:44] <Rhubarb> hi
[09:15:52] <Rhubarb> I'm a newbie here (with javascript, and leaflet), and I'm having difficulty removing the attribution field
[09:16:29] <Rhubarb> it's for a personal slippy map I'm making, I'll be the only one using it
[09:16:52] <Rhubarb> the API's page on it is here: http://leafletjs.com/reference.html#control-attribution
[09:17:36] <Rhubarb> The best answer I could find was FunkMonkey33's solution here: https://groups.google.com/forum/#!topic/leaflet-js/OlyCh9KJO0A
[09:18:08] <Rhubarb> somehow you pass { attributionControl: false} to it
[09:18:34] <Rhubarb> any help would be most welcome :)
[09:19:17] -!- ybon [[email protected]] has joined #leaflet
[09:23:11] <Rhubarb> hi ybon, I could do with some leaflet help - just need to remove the attribution for a personal project of mine
[09:24:44] <ybon> Rhubarb: http://leafletjs.com/reference.html#control-attribution
[09:25:50] <Rhubarb> thanks, I'm aware of that, but don't know much javascript, I'll try to work it out myself for a bit more :)
[09:27:29] <ybon> Rhubarb: you may pass attributionControl: False in map options
[09:39:16] <Rhubarb> ybon, I don't want to sound like a help vampire, but I still can't seem to get it working
[09:39:44] <Rhubarb> I can show you an example of my html, it's all in one small file
[09:40:03] <ybon> go ahead, yes
[09:40:29] <ybon> put it in jsfiddle, possibly
[09:53:02] <Rhubarb> ok, I've put it here: http://rhubarb.us.to/leaflet/index.html
[09:54:41] -!- theos has quit [Read error: Connection reset by peer]
[09:57:57] -!- timest has quit [Quit: 离开]
[10:01:42] <ybon> Rhubarb: try: var map = L.map('map').setView([-36.5, 142.1], 13); => var map = L.map('map', {'attributionControl':False}).setView([-36.5, 142.1], 13);
[10:03:55] <ybon> Rhubarb: please note by the way that you must provide an attribution in a way or another if you map goes public
[10:04:02] <ybon> your*
[10:04:14] <ybon> to OSM also
[10:04:37] <Rhubarb> yes, I am aware of that
[10:05:05] <ybon> ok
[10:07:16] <Rhubarb> ybon, that doesn't seem to work, I just get a blank page :(
[10:07:26] <Rhubarb> I've updated it on the same page: http://rhubarb.us.to/leaflet/index.html
[10:13:17] <Rhubarb> if it makes any difference, I'm using leaflet 0.4.5 (latest stable)
[10:14:31] -!- b_b [[email protected]] has joined #leaflet
[10:14:37] -!- b_b has quit [Changing host]
[10:14:37] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[10:19:03] <ybon> humm
[10:19:07] <ybon> let me see
[10:19:25] <ybon> oh, I gave you a python "False"
[10:19:29] <ybon> you need false
[10:19:47] <ybon> (Rhubarb)
[10:21:00] <Rhubarb> :D
[10:21:15] <Rhubarb> yes, that did it
[10:21:24] <Rhubarb> thankyou so much
[10:21:46] <ybon> :)
[10:22:11] <Rhubarb> I'll eventually be hosting map tiles for myself to use on my raspberry pi
[10:22:45] <Rhubarb> if it eventually goes public, then I'll enable attributions :)
[10:36:21] -!- Rhubarb has quit [Quit: Leaving]
[10:41:29] -!- mazafaka has quit [Ping timeout: 252 seconds]
[10:56:08] -!- Yarl [[email protected]] has joined #leaflet
[11:13:56] -!- ds3 has quit [Ping timeout: 248 seconds]
[11:29:11] -!- cmorley has quit [Ping timeout: 245 seconds]
[11:53:49] -!- cmorley1 has quit [Ping timeout: 244 seconds]
[12:01:19] -!- adb has quit [Ping timeout: 260 seconds]
[12:06:33] -!- mhaberler has quit [Read error: Connection reset by peer]
[12:13:47] -!- cmorley has quit [Ping timeout: 268 seconds]
[12:21:27] -!- mhaberler has quit [Ping timeout: 252 seconds]
[12:34:37] -!- rob_h has quit [Ping timeout: 245 seconds]
[12:54:46] -!- mhaberler has quit [Read error: Connection reset by peer]
[12:59:09] -!- satyag [[email protected]] has joined #leaflet
[12:59:13] <satyag> hi
[12:59:39] <satyag> any function or object in leaflet to map my vistors ip to location ?
[12:59:53] <b_b> nope
[13:00:15] <satyag> ok
[13:04:57] <ybon> btw you can use the HTML5 location feature with locate: http://leafletjs.com/reference.html#map-locate-options
[13:06:33] <satyag> let me check thanks
[13:09:08] <satyag> what i am trying to do is get the ip address then translate to geolocation on the map
[13:09:34] <b_b> you got plenty of tools to do that serverside satyag
[13:10:16] <b_b> bit this kind of tools send crappy results sometimes
[13:10:32] <satyag> yes server side i have not thought about yet starting with JS approach
[13:10:50] <satyag> one more idea was is there a plugin in leaflet to do this
[13:10:54] <b_b> the html5 api use it when it couldn't find you by ssid of wifi which user is connected
[13:11:39] <satyag> ok
[13:11:53] <b_b> Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs, as well as user input. No guarantee is given that the API returns the device's actual location.
[13:11:55] <b_b> http://dev.w3.org/geo/api/spec-source.html
[13:12:25] <b_b> so you'd better use location detection provided by leaflet which use html5 api
[13:13:37] <b_b> http://leafletjs.com/reference.html#map-locate-options
[13:14:56] <satyag> the whole idea is to map the speed test of Internet users
[13:15:13] <satyag> opensignal does it so does speedtest but the data is all locked up
[13:15:25] <satyag> flash based
[13:15:51] <satyag> i got permission to use code from this site http://html5speedtest.me/
[13:17:02] <satyag> now i need to build 1) identify where from the user is come 2) put a marker on the map
[13:17:27] <satyag> of course all this Data will be in open for anyone to use
[13:17:41] <b_b> the locate method is done for that ;)
[13:17:58] <b_b> it will ask permission to the user to locate his position
[13:18:06] <satyag> ok
[13:18:10] <b_b> and if the user accept you get it on return
[13:18:20] <satyag> yes i saw that in the leaflet user map
[13:18:26] <satyag> will look into the code
[13:28:47] -!- Yarl has quit [Ping timeout: 245 seconds]
[13:30:17] -!- Yarl [[email protected]] has joined #leaflet
[13:45:25] -!- mhaberler has quit [Quit: mhaberler]
[14:23:54] -!- Yarl has quit [Ping timeout: 268 seconds]
[14:34:39] -!- pjm__ has quit [Quit: TTFO]
[14:49:25] -!- sumpfralle has quit [Ping timeout: 246 seconds]
[14:50:54] -!- cmorley1 has quit [Ping timeout: 276 seconds]
[15:03:06] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[15:09:54] -!- syyl has quit [Ping timeout: 240 seconds]
[15:18:24] <plushy> why is longitude and latitude reversed when adding geojson?
[15:19:26] <ybon> because when you have two possibilities to make something on earth, there will be half humanity that will do in one way, half in the another ;)
[15:19:30] <ybon> the other*
[15:26:42] <plushy> wrong: the correst answer is: Because I made a mistake when inserting it into the db :(
[15:40:37] -!- mhaberler has quit [Quit: mhaberler]
[15:44:23] -!- racycle [[email protected]] has joined #leaflet
[16:13:26] -!- oyildirim has quit [Quit: Leaving]
[16:14:25] -!- skunkworks has quit [Ping timeout: 252 seconds]
[16:19:18] satyag is now known as zz_satyag
[16:21:16] -!- Yarl [[email protected]] has joined #leaflet
[16:34:25] -!- JT-Shop has quit [Quit: Leaving]
[16:47:13] -!- motioncontrol has quit [Remote host closed the connection]
[17:00:05] -!- pjm has quit [Ping timeout: 255 seconds]
[17:10:23] zz_satyag is now known as satyag
[17:20:12] -!- Jipeiro has quit [Client Quit]
[17:25:18] -!- gambakufu has quit []
[17:27:26] -!- Jipeiro has quit [Ping timeout: 246 seconds]
[17:31:23] -!- factor has quit [Read error: Connection reset by peer]
[17:35:50] -!- Jipeiro has quit [Ping timeout: 246 seconds]
[17:39:12] -!- jpk [jpk!~jpk@unaffiliated/vorondil] has joined #leaflet
[17:40:15] -!- factor has quit [Read error: Connection reset by peer]
[17:43:33] -!- yoyoek1 has quit [Quit: Ex-Chat]
[17:44:04] satyag is now known as zz_satyag
[17:47:28] -!- factor has quit [Read error: Connection reset by peer]
[17:48:17] -!- motioncontrol has quit [Quit: Sto andando via]
[17:48:45] -!- psha has quit [Quit: Lost terminal]
[17:50:34] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 16.0.2/20121025205401]]
[17:53:36] -!- factor has quit [Read error: Connection reset by peer]
[18:03:46] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust446.5-4.cable.virginmedia.com] has joined #leaflet
[18:04:03] -!- factor has quit [Read error: Connection reset by peer]
[18:04:53] -!- Spida has quit [Read error: Operation timed out]
[18:13:59] -!- Jipeiro has quit [Ping timeout: 246 seconds]
[18:37:24] -!- JT-Shop has quit [Read error: Connection reset by peer]
[18:44:31] -!- theos has quit [Read error: Connection timed out]
[18:49:01] -!- toastydeath has quit [Ping timeout: 255 seconds]
[19:03:04] -!- tjb1 has quit [Quit: tjb1]
[19:06:32] -!- DJ9DJ has quit [Quit: bye]
[19:08:12] -!- theos has quit [Read error: Connection timed out]
[19:13:16] -!- racycle has quit [Remote host closed the connection]
[19:18:14] -!- rob__H has quit [Ping timeout: 252 seconds]
[19:19:11] -!- panasync has quit [Ping timeout: 255 seconds]
[19:28:43] -!- FinboySlick has quit [Quit: Leaving.]
[19:36:12] JT-Shop-2 is now known as JT-Shop
[19:37:53] -!- theos has quit [Read error: Connection timed out]
[19:38:48] -!- zlog has quit [Remote host closed the connection]
[19:38:51] -!- Tom_itx has quit []
[19:44:03] -!- psha has quit [Quit: Lost terminal]
[19:48:24] -!- mhaberler has quit [Quit: mhaberler]
[19:54:27] -!- theos has quit [Read error: Connection timed out]
[20:22:34] -!- archivist has quit [Ping timeout: 240 seconds]
[20:22:47] -!- the_wench has quit [Ping timeout: 246 seconds]
[20:29:02] -!- theos has quit [Read error: Connection timed out]
[20:36:12] -!- Tecan has quit [Quit: live long and phosphor]
[20:38:14] -!- paideia has quit [Ping timeout: 244 seconds]
[20:46:12] -!- theos has quit [Read error: Connection timed out]
[20:57:47] -!- paideia has quit [Ping timeout: 246 seconds]
[21:02:39] -!- gambakufu has quit [Ping timeout: 260 seconds]
[21:06:37] -!- tjb1 has quit [Client Quit]
[21:13:07] -!- motioncontrol has quit [Quit: Sto andando via]
[21:14:21] -!- skunkworks has quit [Ping timeout: 252 seconds]
[21:14:29] -!- seb_kuzminsky has quit [Read error: Operation timed out]
[21:15:08] -!- theos has quit [Read error: Connection timed out]
[21:17:07] -!- hm2-buildmaster has quit [Ping timeout: 260 seconds]
[21:17:39] -!- linuxcnc-build has quit [Ping timeout: 276 seconds]
[21:30:06] -!- sumpfralle has quit [Ping timeout: 264 seconds]
[21:34:38] -!- sumpfralle1 has quit [Ping timeout: 252 seconds]
[21:34:57] -!- kwallace has quit [Ping timeout: 268 seconds]
[21:37:56] -!- bedah has quit [Quit: Ex-Chat]
[21:39:55] -!- theos has quit [Read error: Connection timed out]
[21:47:07] -!- paideia has quit [Quit: Leaving]
[21:51:06] -!- Newtonianb [[email protected]] has joined #leaflet
[21:51:42] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[21:54:49] -!- phantoxeD has quit [Read error: Operation timed out]
[22:20:09] -!- Yarl has quit [Ping timeout: 256 seconds]
[22:29:57] -!- theos has quit [Read error: Connection timed out]
[22:33:20] -!- jpk has quit [Ping timeout: 265 seconds]
[22:55:44] -!- mattions has quit [Ping timeout: 246 seconds]
[23:07:49] -!- Valen has quit [Quit: Leaving.]
[23:10:57] -!- syyl_ has quit [Quit: Leaving]
[23:17:32] -!- theos has quit [Read error: Connection timed out]
[23:47:23] -!- grummund has quit [Ping timeout: 246 seconds]