#leaflet | Logs for 2013-01-14

Back
[00:02:30] -!- gmag has quit [Ping timeout: 264 seconds]
[00:02:31] -!- logger[mah] has quit [Remote host closed the connection]
[00:21:13] -!- adb has quit [Ping timeout: 244 seconds]
[00:24:10] -!- asdfasd has quit [Ping timeout: 256 seconds]
[00:37:11] -!- plushy has quit [Quit: Leaving.]
[00:43:14] -!- abu has quit [Quit: Page closed]
[00:44:56] -!- kmiyashiro [kmiyashiro!~KellyM@c-107-3-191-199.hsd1.ca.comcast.net] has joined #leaflet
[01:06:46] -!- zzolo has quit [Quit: zzolo]
[01:13:11] -!- gmag has quit [Quit: Enough small talk...]
[01:14:02] -!- rob_h has quit [Ping timeout: 272 seconds]
[01:42:13] -!- sumpfralle1 has quit [Ping timeout: 276 seconds]
[01:54:30] -!- zlog has quit [Remote host closed the connection]
[01:54:33] -!- Tom_itx has quit []
[02:04:13] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[02:06:32] -!- kwallace has quit [Ping timeout: 252 seconds]
[02:07:12] -!- Valen has quit [Quit: Leaving.]
[02:17:05] -!- jst has quit [Read error: Connection reset by peer]
[02:21:49] -!- gmagno has quit [Quit: Enough small talk...]
[02:38:16] -!- atom1 has quit [Changing host]
[02:41:35] -!- KimK_laptop has quit [Quit: Leaving]
[02:55:51] -!- atom1 has quit [Quit: Leaving]
[02:55:59] -!- Gene45 has quit []
[03:05:16] -!- tandoori has quit [Ping timeout: 252 seconds]
[03:32:05] -!- kwallace has quit [Ping timeout: 248 seconds]
[03:34:50] -!- skorasaurus has quit [Quit: left the building.]
[04:00:13] -!- Keknom has quit [Quit: Leaving.]
[04:07:38] -!- tjb1 has quit [Read error: Connection reset by peer]
[04:12:42] -!- tjb1_ has quit [Ping timeout: 264 seconds]
[04:35:26] -!- theos has quit [Ping timeout: 272 seconds]
[05:03:56] -!- ravenlock has quit [Ping timeout: 272 seconds]
[05:27:17] -!- tjtr33 has quit [Quit: Ex-Chat]
[05:38:26] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[05:52:52] -!- tayy [tayy!~tayy@cm107.eta146.maxonline.com.sg] has joined #leaflet
[06:01:59] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[06:19:40] -!- capricorn_1 has quit [Quit: Konversation terminated!]
[06:27:56] -!- tjb1 has quit [Read error: Connection reset by peer]
[06:29:46] -!- jasonsanford [jasonsanford!~jasonsanf@c-67-177-251-41.hsd1.co.comcast.net] has joined #leaflet
[06:32:20] -!- jasonsanford [jasonsanford!~jasonsanf@c-67-177-251-41.hsd1.co.comcast.net] has parted #leaflet
[06:32:30] -!- tjb1 has quit [Ping timeout: 264 seconds]
[06:39:20] -!- AR_ has quit [Ping timeout: 246 seconds]
[06:55:21] -!- kmiyashiro has quit [Quit: kmiyashiro]
[06:59:42] -!- kmiyashiro [kmiyashiro!~KellyM@c-107-3-191-199.hsd1.ca.comcast.net] has joined #leaflet
[07:06:02] -!- skunkworks has quit [Ping timeout: 255 seconds]
[07:11:27] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[07:24:38] -!- tjb1 has quit [Quit: tjb1]
[07:26:52] -!- toastydeath has quit [Read error: No route to host]
[07:34:44] -!- kmiyashiro has quit [Quit: kmiyashiro]
[07:51:29] -!- herron has quit [Ping timeout: 255 seconds]
[08:07:25] -!- chalet16 [chalet16!3d5a32ae@gateway/web/freenode/ip.61.90.50.174] has joined #leaflet
[08:08:33] <chalet16> Hi, I got the error "Cannot call method 'latLngToPoint' of undefined " when I use "crs: L.CRS.Simple" instead of "crs: L.CRS.EPSG3857".
[08:08:50] <chalet16> I found http://webcache.googleusercontent.com/search?q=cache%3Ahttps%3A%2F%2Fgithub.com%2FCloudMade%2FLeaflet%2Fissues%2F985&oq=cache%3Ahttps%3A%2F%2Fgithub.com%2FCloudMade%2FLeaflet%2Fissues%2F985&aqs=chrome.0.57j58.1787&sugexp=chrome,mod=0&sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8 but I still do not understand how to get it work.
[08:11:53] -!- Jakobud has quit []
[08:21:24] -!- psyhitus [psyhitus!~psyhitus@46.229.136.249] has joined #leaflet
[08:41:16] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[08:55:00] ncbas is now known as modmaker
[09:05:37] -!- RifRaf has quit [Remote host closed the connection]
[09:09:30] -!- emel has quit [Excess Flood]
[09:09:52] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[09:11:09] -!- RifRaf has quit [Remote host closed the connection]
[09:15:34] -!- RifRaf has quit [Remote host closed the connection]
[09:27:50] -!- tayy has quit [Remote host closed the connection]
[09:30:52] -!- plushy has quit [Quit: Leaving.]
[09:47:29] -!- RifRaf has quit [Ping timeout: 244 seconds]
[10:15:54] -!- holst has quit [Ping timeout: 244 seconds]
[10:21:10] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[10:44:01] -!- Valen has quit [Quit: Leaving.]
[10:49:48] <plushy> I have a semicircle drawn using the plugin. How could I make it rotate around the starting point when dragged?
[11:01:08] -!- adb has quit [Ping timeout: 252 seconds]
[11:20:29] -!- RifRaf has quit [Remote host closed the connection]
[11:20:55] -!- plushy has quit [Read error: Connection reset by peer]
[11:21:07] -!- focus_well has quit [Read error: Operation timed out]
[11:21:23] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[11:21:50] -!- ssi has quit [Read error: Operation timed out]
[11:22:20] -!- zlog has quit [Read error: Operation timed out]
[11:35:35] -!- theos has quit [Disconnected by services]
[11:39:13] -!- chalet16 has quit [Ping timeout: 245 seconds]
[11:44:13] -!- ybon [ybon!~ybon@host64-80-dynamic.21-87-r.retail.telecomitalia.it] has joined #leaflet
[11:55:28] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[12:01:54] -!- plushy has quit [Quit: Leaving.]
[12:18:05] -!- JT-Shop has quit [Read error: Connection reset by peer]
[12:18:05] -!- jthornton has quit [Read error: Connection reset by peer]
[12:20:16] -!- dhoovie has quit [Read error: Connection reset by peer]
[12:21:29] jthornton_ is now known as jthornton
[12:25:45] -!- pingufan has quit [Quit: Konversation terminated!]
[12:38:27] -!- RifRaf has quit [Remote host closed the connection]
[12:52:41] -!- mhaberler has quit [Quit: mhaberler]
[13:01:04] -!- tayy [tayy!~tayy@cm107.eta146.maxonline.com.sg] has joined #leaflet
[13:16:22] -!- psha[work] has quit [Quit: Lost terminal]
[13:19:07] -!- jthornton has quit [Read error: Connection reset by peer]
[13:19:08] -!- JT-Shop-2 has quit [Read error: Connection reset by peer]
[13:21:12] -!- Linuxxx [Linuxxx!82f03442@gateway/web/freenode/ip.130.240.52.66] has joined #leaflet
[13:35:26] -!- Brandonian [Brandonian!~bmorrison@c-71-229-70-68.hsd1.in.comcast.net] has joined #leaflet
[13:39:58] -!- tjb1 has quit [Quit: tjb1]
[13:47:31] -!- skorasaurus [skorasaurus!~blahblahb@cpe-65-185-64-11.neo.res.rr.com] has joined #leaflet
[13:52:05] -!- Thetawaves_ has quit [Quit: This computer has gone to sleep]
[14:01:36] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[14:09:06] -!- tayy has quit [Remote host closed the connection]
[14:31:59] -!- mk0 has quit [Quit: Leaving]
[14:37:17] -!- modmaker has quit [Ping timeout: 252 seconds]
[14:48:36] -!- abetusk has quit [Quit: Leaving]
[14:58:50] JT-Shop-3 is now known as JT-Shop
[14:59:15] -!- AR_ has quit [Ping timeout: 260 seconds]
[15:19:04] -!- troya [troya!7689d1a3@gateway/web/freenode/ip.118.137.209.163] has joined #leaflet
[15:19:57] -!- Jakobud [Jakobud!~Jakobud@c-50-134-242-141.hsd1.co.comcast.net] has joined #leaflet
[15:20:06] <troya> hi all
[15:21:16] <troya> anyone here?
[15:24:55] -!- tandoori has quit [Changing host]
[15:26:47] Guest6169 is now known as JesusAlos
[15:29:45] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[15:29:46] -!- tandoori has quit [Client Quit]
[15:30:01] -!- tandoori has quit [Changing host]
[15:30:44] <troya> hello ?
[15:38:54] -!- emacsen [emacsen!~serge@pool-108-29-112-179.nycmny.fios.verizon.net] has joined #leaflet
[15:39:16] <emacsen> I'm clearly doing something wrong. I make a map but until I click on something, the tiles don't show up
[15:41:07] -!- vladimirek has quit [Remote host closed the connection]
[15:41:38] <troya> hi emacsen
[15:41:47] <emacsen> hi troya
[15:41:56] <troya> i wait someone here
[15:42:03] <emacsen> btw troya did you go through switch2osm's guide?
[15:43:19] <troya> actually i have tried basic leaflet from switchosm and leaflet.com
[15:43:27] <emacsen> and what happened?
[15:43:59] <troya> i have successfully to embed osm map using leaflet.and also i have successfull create POI using geojson leaflet
[15:44:35] <emacsen> I found my problem. I'm just an idiot...
[15:44:41] <emacsen> troya, so what's the problem?
[15:44:51] <emacsen> troya, what are you trying to do? what is your END goal?
[15:45:01] <troya> now i want to create shading layer per province on map
[15:45:10] <troya> like http://leafletjs.com/examples/choropleth-example.html
[15:45:33] <emacsen> do you have the data source you'll be using?
[15:45:44] <troya> yes, i have
[15:47:12] <troya> any guidance about it emcasen ?
[15:50:07] <emacsen> troya, possibly
[15:50:17] <emacsen> troya, the thing is you aren't giving enough information to help you
[15:51:52] <troya> emacsen,ok let see on http://www.openstreetmap.org/?lat=-6.74&lon=107.92&zoom=8&layers=M
[15:52:21] <emacsen> what about it?
[15:52:40] -!- vladimirek has quit [Remote host closed the connection]
[15:52:43] <troya> can you see Banten,Jawa Barat,Jawa Tengah ?
[15:52:56] <troya> they are some province in my country
[15:53:06] <emacsen> yes
[15:53:20] <troya> i want to create shading above these map
[15:54:11] <troya> like on http://leafletjs.com/examples/choropleth-example.html, but i want to create each provinces
[15:56:12] <emacsen> troya, okay, so... you see how it's done on that map? just do the same, but with provinces :)
[16:00:10] <emacsen> that may sound sarcastic, but it's not
[16:01:57] <troya> is it using polygon ?
[16:02:22] <emacsen> you see there it's using geojson features of the objects
[16:02:38] <emacsen> and then coloring, etc. based on values
[16:02:55] <emacsen> and then the hover uses them too
[16:03:30] <troya> how about http://leafletjs.com/examples/us-states.js
[16:03:46] <emacsen> that's geojson
[16:07:41] -!- syyl has quit [Ping timeout: 256 seconds]
[16:07:42] <troya> where i can found it ? but i want indonesia
[16:08:23] <emacsen> you told me you have the datasource already
[16:10:40] <troya> i;m sorry. i think datasource do you mean is other datasource which i need to create after that
[16:10:56] <troya> i havent' get it emacsen
[16:11:08] <emacsen> no, data SOURCE
[16:11:17] <emacsen> to make a map, you need a source of information
[16:11:44] <emacsen> so, you don't have it...
[16:12:02] <emacsen> okay, I think the simple answer for you is "Until you learn more about how maps work, you can't make the map you want"
[16:13:10] <troya> :)
[16:14:09] <troya> what do you think with it https://github.com/johan/world.geo.json/blob/master/countries/IDN.geo.json ?
[16:15:40] <emacsen> that appears to be an outline of indonesia
[16:15:44] <emacsen> why do you wan this map anyway?
[16:21:02] -!- skorasaurus has quit [Ping timeout: 246 seconds]
[16:30:28] -!- troya has quit [Ping timeout: 245 seconds]
[16:32:30] -!- mhaberler has quit [Quit: mhaberler]
[16:33:52] -!- zzolo has quit [Quit: zzolo]
[16:37:15] -!- chillly [chillly!~chris@adsl-77-86-5-242.karoo.KCOM.COM] has joined #leaflet
[16:42:08] -!- tanepiper [tanepiper!tanepiper@2a01:7e00::f03c:91ff:feae:cde] has joined #leaflet
[16:42:48] <tanepiper> Hi there, using the marker cluster plugin has anyone had any issues where a market keeps it's X/Y position, rather than moving to it's Lat/Lng when zooming?
[16:42:53] <tanepiper> *marker
[16:44:13] <tanepiper> e.g. here it is at it's correct position when zoomed in: http://cl.ly/image/0N43250o1J44 but as you zoom out http://cl.ly/image/3I2u0t242325
[16:44:57] -!- tjb1 has quit [Quit: tjb1]
[16:47:02] ncbas is now known as modmaker
[16:48:57] -!- troya [troya!7689d1a3@gateway/web/freenode/ip.118.137.209.163] has joined #leaflet
[16:49:11] -!- emacsen has quit [Ping timeout: 252 seconds]
[16:58:47] jthornton_ is now known as jthornton
[17:01:54] -!- zzolo [zzolo!~zzolo@mail.minnpost.com] has joined #leaflet
[17:08:44] -!- zzolo has quit [Quit: zzolo]
[17:09:58] -!- kmiyashiro [kmiyashiro!~KellyM@c-107-3-191-199.hsd1.ca.comcast.net] has joined #leaflet
[17:14:13] -!- troya has quit [Ping timeout: 245 seconds]
[17:14:37] -!- zzolo [zzolo!~zzolo@mail.minnpost.com] has joined #leaflet
[17:37:00] -!- dway has quit [Quit: dway]
[17:38:48] -!- psha has quit [Quit: Lost terminal]
[17:45:53] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[17:51:38] -!- JesusAlos has quit [Quit: ChatZilla 0.9.89 [Firefox 18.0/20130104151925]]
[17:53:00] -!- JT-Shop has quit [Read error: Connection reset by peer]
[17:53:00] -!- jthornton has quit [Read error: Connection reset by peer]
[17:54:39] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[18:15:24] JT-Shop-2 is now known as JT-Shop
[18:23:40] jthornton_ is now known as jthornton
[18:24:14] -!- sumpfralle has quit [Ping timeout: 246 seconds]
[18:36:20] -!- JesusAlos has quit [Quit: ChatZilla 0.9.89 [Firefox 18.0/20130104151925]]
[18:44:06] -!- acdha [acdha!~acdha@140.147.178.47] has joined #leaflet
[19:18:36] -!- maximus [maximus!18b17dd2@gateway/web/freenode/ip.24.177.125.210] has joined #leaflet
[19:18:59] maximus is now known as Guest25383
[19:19:14] -!- Guest25383 has quit [Client Quit]
[19:19:32] -!- syyl_ws has quit [Quit: Verlassend]
[19:19:38] -!- Linuxxx has quit [Ping timeout: 245 seconds]
[19:25:50] -!- pilla has quit [Client Quit]
[19:44:50] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 17.0.1/20121129170341]]
[19:49:09] -!- Gabriel__ has quit [Quit: Ex-Chat]
[19:52:40] -!- JesusAlos_ has quit [Quit: ChatZilla 0.9.89 [Firefox 18.0/20130104151925]]
[19:53:37] -!- AR_ has quit [Ping timeout: 240 seconds]
[19:54:09] -!- AndChat|244209 has quit [Quit: Bye]
[19:57:20] -!- thrile has quit [Quit: Page closed]
[20:05:01] -!- ravenlock has quit [Quit: Leaving]
[20:07:09] -!- acdha has quit [Quit: Leaving...]
[20:08:15] -!- psha has quit [Quit: Lost terminal]
[20:10:20] -!- Farthen has quit [Quit: ZNC - http://znc.in]
[20:10:37] -!- RifRaf has quit [Remote host closed the connection]
[20:23:06] -!- bedah has quit [Quit: bye]
[20:36:51] -!- vladimirek has quit [Remote host closed the connection]
[20:40:40] -!- RifRaf has quit [Remote host closed the connection]
[20:50:27] -!- RifRaf has quit [Remote host closed the connection]
[20:55:17] -!- RifRaf has quit [Ping timeout: 255 seconds]
[21:01:08] -!- emacsen [emacsen!~serge@pool-108-29-112-179.nycmny.fios.verizon.net] has joined #leaflet
[21:10:52] -!- qbit [qbit!~qbit@qbit.io] has joined #leaflet
[21:10:55] <qbit> ola
[21:10:59] <qbit> hola too
[21:11:59] -!- emacsen has quit [Ping timeout: 256 seconds]
[21:12:04] <qbit> i have a quick question.. I am dynamically adding layers / controls to my map.. but I need to keep layer state ( set by the control ) .. is there a leaflet way to do that?
[21:12:09] <qbit> or do i need to build something custom?
[21:13:35] <qbit> also .. is removing a layer the best way to update data?
[21:13:43] <qbit> it seems like there isn't a better way
[21:14:47] <tanepiper> qbit: yea, i've found that :( I use Backbone to maintain state, and I have to keep an array of markers that I have to remove first, then clear the array before I add my points again
[21:15:08] <qbit> k
[21:24:46] -!- bradsimantel [bradsimantel!~simantel@128.223.223.57] has joined #leaflet
[21:31:33] -!- Loetmichel has quit [Ping timeout: 248 seconds]
[21:34:30] Cylly is now known as Loetmichel
[21:50:37] -!- DJ9DJ has quit [Quit: bye]
[21:54:25] -!- FinboySlick has quit [Quit: Leaving.]
[21:54:48] <qbit> tanepiper: are you keepign control state? or different states for each marker?
[21:57:21] -!- bradsimantel has quit [Ping timeout: 276 seconds]
[21:58:23] -!- bradsimantel [bradsimantel!~simantel@mad2036d0.tmodns.net] has joined #leaflet
[22:01:25] -!- Nick001 has quit [Ping timeout: 248 seconds]
[22:02:41] -!- chopper79 has quit [Quit: Leaving.]
[22:03:07] <zentrification> qb: i'm just extending L.Control.Layer
[22:03:09] <zentrification> it's pretty easy
[22:06:59] <qbit> oh hai zentrification o/
[22:07:37] -!- bradsimantel has quit [Read error: Connection reset by peer]
[22:07:50] <qbit> zentrification: do you have an example?
[22:07:58] -!- bradsimantel [bradsimantel!~simantel@mad2036d0.tmodns.net] has joined #leaflet
[22:17:03] <zentrification> yeah holdon
[22:22:06] -!- Nick001-Shop has quit [Ping timeout: 240 seconds]
[22:22:17] Nick001-Shop_ is now known as Nick001-Shop
[22:31:26] -!- Mr_Wolfsl has quit [Quit: Quitte]
[22:33:28] -!- bradsimantel has quit [Quit: bradsimantel]
[22:38:39] -!- chillly has quit [Quit: Leaving]
[22:45:11] -!- tjb1 has quit [Read error: Connection reset by peer]
[22:47:04] -!- mhaberler has quit [Quit: mhaberler]
[22:50:46] -!- emacsen [emacsen!~serge@pool-108-29-112-179.nycmny.fios.verizon.net] has joined #leaflet
[22:51:44] -!- plushy has quit [Ping timeout: 256 seconds]
[23:05:42] -!- Thomas___ has quit [Client Quit]
[23:10:32] -!- Brandonian has quit [Quit: Brandonian]
[23:11:32] -!- emacsen has quit [Ping timeout: 248 seconds]
[23:12:00] -!- syyl_ has quit [Quit: Leaving]
[23:23:33] -!- adb has quit [Ping timeout: 248 seconds]
[23:23:38] -!- mas [mas!4c18a182@gateway/web/freenode/ip.76.24.161.130] has joined #leaflet
[23:30:19] <mas> whats the latest version available for the CDN http://code.leafletjs.com/leaflet-0.3.1/leaflet.js
[23:37:30] <qbit> 0.4.5
[23:46:53] -!- ravenlock has quit [Remote host closed the connection]
[23:50:33] <mas> ok thanks
[23:51:00] -!- tjb1 has quit [Ping timeout: 248 seconds]
[23:51:00] tjb1_ is now known as tjb1
[23:52:14] <mas> I'm kind of new to this but does the GitHub Leaflet code contain the latest code?
[23:57:31] <zomg> mas: where else would it be? :)