#leaflet | Logs for 2013-03-14

Back
[00:00:49] -!- Nick001-Shop has quit [Remote host closed the connection]
[00:14:46] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[00:22:44] -!- asdfasd has quit [Ping timeout: 248 seconds]
[00:29:49] -!- zlog has quit [Remote host closed the connection]
[00:29:54] -!- Tom_itx has quit []
[00:49:27] -!- Tecan has quit [Quit: Ex-Chat]
[00:52:51] -!- jfire1 [jfire1!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[00:52:52] -!- jfire has quit [Read error: Connection reset by peer]
[00:58:43] -!- tmcw [tmcw!~tmcw@c-68-50-174-188.hsd1.dc.comcast.net] has joined #leaflet
[01:00:37] -!- stsydow [stsydow!~stsydow@dslb-178-012-133-222.pools.arcor-ip.net] has joined #leaflet
[01:01:04] -!- stsydow has quit [Client Quit]
[01:03:40] -!- tmcw has quit [Ping timeout: 272 seconds]
[01:05:29] -!- Tom_L has quit []
[01:07:44] -!- zzolo has quit [Quit: zzolo]
[01:25:09] -!- _1SheYode has quit []
[01:33:40] -!- rob_h has quit [Ping timeout: 248 seconds]
[01:59:00] -!- skorasaurus has quit [Quit: left the building.]
[02:09:19] -!- tmcw [tmcw!~tmcw@c-68-50-174-188.hsd1.dc.comcast.net] has joined #leaflet
[02:11:02] -!- tmcw has quit [Remote host closed the connection]
[02:17:46] -!- yhoje [yhoje!~yadith@190.74.49.203] has joined #leaflet
[02:20:29] -!- tripod| has quit []
[02:22:55] -!- Wildhoney has quit [Ping timeout: 245 seconds]
[02:25:46] -!- yhoje has quit [Quit: Leaving.]
[02:25:55] -!- andypugh has quit [Quit: andypugh]
[02:29:02] -!- ink_ has quit [Quit: oops]
[02:53:28] -!- Brandonian has quit [Quit: Brandonian]
[03:00:03] -!- RangerRick has quit [Remote host closed the connection]
[03:00:11] -!- RangerRick [RangerRick!~quassel@server3.befunk.com] has joined #leaflet
[03:01:01] -!- Keknom has quit [Quit: Leaving.]
[03:11:16] -!- Valen has quit [Quit: Leaving.]
[03:20:03] -!- Icekille- has quit [Read error: Connection reset by peer]
[03:54:37] -!- FinboySlick has quit [Quit: Leaving.]
[03:56:52] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[04:04:24] -!- tjb1 has quit [Quit: tjb1]
[04:06:56] -!- sumpfralle has quit [Ping timeout: 255 seconds]
[04:11:04] -!- Tecan has quit [Changing host]
[04:13:32] -!- joe9 has quit [Quit: leaving]
[04:22:36] -!- zzolo has quit [Quit: zzolo]
[04:23:45] -!- AR_ has quit [Ping timeout: 245 seconds]
[04:25:30] -!- Connor has quit [Read error: No route to host]
[04:27:15] -!- joe9 has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
[04:46:29] -!- joe9_ has quit [Remote host closed the connection]
[04:53:30] -!- joe9 has quit [Quit: leaving]
[04:53:54] -!- joe9_ has quit [Remote host closed the connection]
[05:04:49] -!- kip_litton has quit [Remote host closed the connection]
[05:06:36] -!- kip_litton has quit [Client Quit]
[05:07:34] -!- pjm has quit [Read error: Connection reset by peer]
[05:11:57] -!- pfred1 has quit [Quit: bye]
[05:25:52] -!- ve7it has quit [Read error: Connection reset by peer]
[05:29:34] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[05:34:35] -!- Tom_itx has quit [Ping timeout: 245 seconds]
[05:47:24] -!- jpk has quit [Ping timeout: 272 seconds]
[05:52:20] -!- jfire1 has quit [Quit: Leaving.]
[05:54:05] -!- jpk [jpk!~jpk@unaffiliated/vorondil] has joined #leaflet
[06:00:49] -!- Fox_Muldr has quit [Read error: Operation timed out]
[06:29:40] -!- karavanjoW [karavanjoW!~karavanjo@178.124.148.114] has joined #leaflet
[06:42:15] -!- DaViruz has quit [Read error: Connection reset by peer]
[06:58:44] -!- grummund has quit [Ping timeout: 252 seconds]
[07:32:07] -!- vladimirek has quit [Remote host closed the connection]
[07:43:35] -!- oterral [oterral!~oterral@ns-lsn-fw.geomatic.ch] has joined #leaflet
[07:58:43] -!- fomox has quit [Ping timeout: 264 seconds]
[07:59:59] -!- emel [emel!~emel@sd-22438.dedibox.fr] has joined #leaflet
[08:00:41] -!- racycle has quit [Quit: racycle]
[08:10:24] -!- mrsun has quit [Ping timeout: 264 seconds]
[08:17:24] -!- s1dev has quit [Quit: Oh shit!]
[08:28:39] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[08:30:00] -!- Tecan has quit [Quit: Ex-Chat]
[08:38:19] -!- phantoneD has quit [Ping timeout: 264 seconds]
[08:38:40] -!- pjm_ has quit [Read error: Connection reset by peer]
[08:39:06] -!- s1dev has quit [Disconnected by services]
[08:39:06] s1dev|away is now known as s1dev
[08:45:19] -!- speakman has quit [Read error: Operation timed out]
[08:45:28] -!- speakman [speakman!~daniel@unaffiliated/speakman] has joined #leaflet
[09:01:23] -!- Err has quit [Ping timeout: 252 seconds]
[09:02:13] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[09:02:45] -!- b_b has quit [Changing host]
[09:02:45] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[09:08:19] -!- fomox has quit [Ping timeout: 264 seconds]
[09:17:36] -!- vladimirek has quit [Client Quit]
[09:21:17] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[09:21:42] Cylly is now known as Loetmichel
[09:24:34] -!- Wildhoney [Wildhoney!~Wildhoney@cpc5-stap12-2-0-cust726.12-2.cable.virginmedia.com] has joined #leaflet
[09:52:42] -!- Valen has quit [Quit: Leaving.]
[09:56:56] -!- V0idExp has quit [Ping timeout: 272 seconds]
[10:22:18] -!- Wildhoney has quit [Ping timeout: 264 seconds]
[10:22:35] -!- Wildhoney [Wildhoney!Wildhoney@cpc5-stap12-2-0-cust726.12-2.cable.virginmedia.com] has joined #leaflet
[10:29:36] -!- cherry_lin has quit [Ping timeout: 245 seconds]
[10:31:41] -!- Wildhoney has quit [Ping timeout: 255 seconds]
[10:32:34] -!- Wildhoney [Wildhoney!Wildhoney@cpc5-stap12-2-0-cust726.12-2.cable.virginmedia.com] has joined #leaflet
[10:37:05] -!- cherry_lin [cherry_lin!~danst@91.223.133.53] has joined #leaflet
[10:40:02] -!- Tecan has quit [Changing host]
[10:45:59] -!- hdokes has quit [Ping timeout: 240 seconds]
[10:51:18] -!- fomox has quit [Ping timeout: 256 seconds]
[10:55:42] -!- tronwizard has quit [Ping timeout: 252 seconds]
[10:56:15] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[11:01:06] -!- skunkworks has quit [Remote host closed the connection]
[11:15:54] -!- Wildhoney has quit []
[11:16:37] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[11:18:48] -!- Poincare has quit [Ping timeout: 264 seconds]
[11:22:02] -!- R2E4 has quit [Quit: Depression is merely anger without enthusiasm]
[11:53:24] -!- TekMason has quit [Ping timeout: 248 seconds]
[11:53:30] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:59:38] -!- odogono_ [odogono_!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[12:00:20] -!- odogono has quit [Read error: Connection reset by peer]
[12:00:20] odogono_ is now known as odogono
[12:03:33] -!- mhaberler has quit [Quit: mhaberler]
[12:15:22] -!- chillly [chillly!~chris@adsl-178-78-91-198.karoo.kcom.com] has joined #leaflet
[12:16:43] -!- riz_ has quit [Ping timeout: 245 seconds]
[12:22:39] -!- cncbasher_ has quit [Quit: No Ping reply in 180 seconds.]
[12:22:51] -!- cncbasher_ has quit [Remote host closed the connection]
[12:46:41] -!- skorasaurus [skorasaurus!~blahblahb@cpe-65-185-64-11.neo.res.rr.com] has joined #leaflet
[12:48:32] christoph is now known as Guest10424
[12:54:41] -!- ravenlock has quit [Remote host closed the connection]
[12:54:41] -!- Guest10424 has quit [Read error: Connection reset by peer]
[12:59:05] -!- stsydow [stsydow!~stsydow@kbs-217.kbs.tu-berlin.de] has joined #leaflet
[13:08:22] -!- ravenlock has quit [Remote host closed the connection]
[13:08:50] -!- jpk has quit [Ping timeout: 272 seconds]
[13:20:59] -!- Guest10424 has quit [Ping timeout: 252 seconds]
[13:29:25] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[13:38:00] -!- fomox has quit [Ping timeout: 260 seconds]
[13:59:48] -!- ktchk has quit [Read error: Connection reset by peer]
[14:02:27] -!- mhaberler has quit [Quit: mhaberler]
[14:08:02] -!- mackerski_ [mackerski_!~dermot@193.120.146.234] has joined #leaflet
[14:11:30] -!- mackerski has quit [Ping timeout: 264 seconds]
[14:11:30] mackerski_ is now known as mackerski
[14:12:00] -!- AphelionZ [AphelionZ!d1757ae2@gateway/web/freenode/ip.209.117.122.226] has joined #leaflet
[14:12:06] <AphelionZ> morning leaflet folks
[14:15:51] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[14:26:00] -!- V0idExp has quit [Ping timeout: 264 seconds]
[14:26:56] -!- psha[work] has quit [Quit: Lost terminal]
[14:31:07] -!- mk0 has quit [Quit: Leaving]
[14:32:07] -!- fatpandas has quit [Quit: leaving]
[14:37:41] <deedubs> :)
[14:40:52] <AphelionZ> long shot: the author of the marker clustering plugin isn't in attendance, is he/she?
[14:41:51] <deedubs> AphelionZ: I've recently started using it!
[14:42:04] <AphelionZ> its AWWWWEEESOME
[14:42:04] <deedubs> and was unable to get it to work with the latest leaflet
[14:42:15] <AphelionZ> really! What version?
[14:42:43] <AphelionZ> im trying to bind some events to it so I can make a popup that contains aggregated data
[14:44:34] -!- mackerski has quit [Quit: mackerski]
[14:47:53] -!- jthornton has quit [Read error: Connection reset by peer]
[14:47:53] -!- JT-Shop has quit [Read error: Connection reset by peer]
[14:48:06] -!- adb has quit [Ping timeout: 264 seconds]
[14:51:21] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[14:52:32] <deedubs> yeah the one thing I'd like is hover tips
[14:52:50] <deedubs> we have hover show a tooltip and click another action
[14:54:23] -!- zzolo has quit [Quit: zzolo]
[14:56:05] <deedubs> AphelionZ: ended up doing this https://gist.github.com/deedubs/42ff5db8f5953f238b77
[14:56:23] <deedubs> where tooltipContents returns html as a string
[14:59:52] -!- kwallace has quit [Ping timeout: 252 seconds]
[15:00:28] <AphelionZ> deedubs: that's really nice. I like the hoverintent implentation you did too
[15:00:34] <AphelionZ> im going to steal it! :D
[15:00:53] <deedubs> :D
[15:01:13] <deedubs> some gotcha's I encountered
[15:01:28] <deedubs> you have to set the lat-lng of the popup at the time of the mouseover
[15:01:40] <deedubs> because if your using the cluster it moves them
[15:01:50] <deedubs> otherwise the popups for a cluster will all be in the middle
[15:02:28] <deedubs> and I haven't really tweaked the timeouts
[15:02:32] <AphelionZ> what is map.$map
[15:02:45] <deedubs> Oh its just a map instance
[15:03:21] <deedubs> Map.$map = new Leaflet.Map(...)
[15:04:54] -!- tmcw [tmcw!~tmcw@c-98-218-228-75.hsd1.dc.comcast.net] has joined #leaflet
[15:05:10] <deedubs> This is inside of an angular service, I should have 'normalized' it before posting :)
[15:09:30] <AphelionZ> ah, no problem
[15:11:41] -!- tjb1 has quit [Ping timeout: 245 seconds]
[15:12:20] -!- wooyea has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130309001430]]
[15:13:58] -!- holst has quit [Ping timeout: 240 seconds]
[15:14:48] -!- ssi_ has quit [Read error: Operation timed out]
[15:14:58] <AphelionZ> deedubs: working on it here: http://pastebin.com/qcFdipbf
[15:15:10] <AphelionZ> I'm getting setZIndexOffset isnt a function
[15:15:55] <deedubs> can you verify that your marker lookup is working?
[15:16:38] <AphelionZ> line 18?
[15:17:42] <AphelionZ> seems that it's a cluster, not a marker.. hmm
[15:30:33] -!- ink has quit [Disconnected by services]
[15:33:47] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[15:34:33] -!- b_b has quit [Changing host]
[15:34:33] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[15:47:07] -!- Tecan has quit [Quit: Ex-Chat]
[15:51:14] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[15:58:19] -!- tjb1 has quit [Quit: tjb1]
[16:07:57] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[16:12:31] -!- zzolo [zzolo!~zzolo@mail.minnpost.com] has joined #leaflet
[16:19:12] -!- MrTrick has quit [Ping timeout: 245 seconds]
[16:21:50] -!- jfire has quit [Quit: Leaving.]
[16:32:01] -!- cherry_lin has quit [Read error: Connection reset by peer]
[16:42:47] -!- cherry_lin [cherry_lin!~danst@91.223.133.53] has joined #leaflet
[16:44:55] -!- stsydow has quit [Ping timeout: 264 seconds]
[16:53:30] -!- Santolina [Santolina!c1905328@gateway/web/freenode/ip.193.144.83.40] has joined #leaflet
[16:54:22] <Santolina> hi there ... does anyone know if it should be possible to use Layergroup with geojson layers?
[16:54:36] -!- charlie_ [charlie_!~charlie@cpc7-glfd6-2-0-cust6.6-2.cable.virginmedia.com] has joined #leaflet
[16:54:51] <charlie_> hey guys, Is anyone around for a little help?
[16:55:43] <charlie_> I am trying to do the simplest of things... i want to remove the default zoom control and position it in the bottom right
[16:55:54] <charlie_> I have seen the docs but everything I try it does not work
[16:56:07] <charlie_> $(".leaflet-control-container").hide() that works! haha
[16:56:39] <AphelionZ> I remember seeing something similar to this for the attribution control...
[16:57:04] <charlie_> attribution control ??
[16:57:22] <charlie_> copyright area?
[16:57:48] <AphelionZ> here: http://leafletjs.com/reference.html#control-zoom
[16:58:17] <AphelionZ> and then right beneath it is the "copyright area" aka L.Control.Attribution
[16:59:13] -!- stsydow [stsydow!~stsydow@141.23.79.43] has joined #leaflet
[17:00:11] <charlie_> AphelionZ: yes I can add a new one, but I am still left with the old one :( so now I have two
[17:00:24] <AphelionZ> Why not just call
[17:00:47] <AphelionZ> L.Control.Zoom({ position: 'bottomright' });
[17:00:55] <b_b> just have to init your map without zoom control charlie_
[17:01:09] <b_b> and add it manually with position setting
[17:01:44] <charlie_> ahhh
[17:01:45] <charlie_> zoomControl: false
[17:01:50] <charlie_> inside the init!
[17:02:00] <charlie_> BOOm it works! Sorry for such a stupid question!!
[17:02:13] <b_b> no problem
[17:02:22] -!- gasbakid [gasbakid!~gasbakid@41.96.18.133] has joined #leaflet
[17:03:05] -!- gasbakid has quit [Max SendQ exceeded]
[17:03:43] -!- phantoxeD has quit [Read error: Connection reset by peer]
[17:04:36] -!- gasbakid [gasbakid!~gasbakid@41.96.18.133] has joined #leaflet
[17:08:35] -!- gasbakid has quit [Read error: Connection reset by peer]
[17:08:56] -!- gasbakid [gasbakid!~gasbakid@41.96.18.133] has joined #leaflet
[17:09:04] -!- oterral has quit [Quit: Leaving.]
[17:13:28] -!- gasbakid_ [gasbakid_!~gasbakid@41.96.126.3] has joined #leaflet
[17:14:36] -!- gasbakid has quit [Ping timeout: 264 seconds]
[17:14:48] <AphelionZ> here's a question - I'm working with marker clusters and im trying to get a popup to show over them on mouseover. http://pastie.org/6495379
[17:15:04] <AphelionZ> However, the positioning of the popup is extremely erratic and random and i cant make sense of it
[17:16:19] <AphelionZ> Something like: http://i.imgur.com/WftEldA.png
[17:16:25] <AphelionZ> Also, whats up with the CSS of the popup?
[17:17:49] <tmcw> AphelionZ: probbaly other css on your page
[17:20:43] <AphelionZ> tmcw: Ah, ok that fixed the popup CSS. I was including leaflet.ie.css
[17:20:56] <AphelionZ> fixed that, but the latLng of the popup itself is still fried :(
[17:23:54] -!- V0idExp has quit [Ping timeout: 276 seconds]
[17:29:30] -!- jfire [jfire!~jfire@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[17:38:49] -!- ler_hydra has quit [Remote host closed the connection]
[17:47:57] <deedubs> AphelionZ: is it constant? meaning is it always 'fried' the same way
[17:48:04] <deedubs> might be able to use offset to fix it
[18:01:13] -!- tomate_ has quit [Remote host closed the connection]
[18:04:01] -!- mackerski has quit [Quit: mackerski]
[18:11:41] -!- OpenSourceWay [OpenSourceWay!~OpenSourc@109.125.30.142] has joined #leaflet
[18:16:35] -!- V0idExp has quit [Read error: No route to host]
[18:22:43] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[18:23:56] -!- Thetawaves_ has quit [Quit: This computer has gone to sleep]
[18:29:35] -!- kwallace1 has quit [Ping timeout: 245 seconds]
[18:31:59] -!- Spida has quit [Ping timeout: 240 seconds]
[18:37:05] -!- V0idExp has quit [Ping timeout: 245 seconds]
[18:40:42] -!- gasbakid_ has quit [Read error: Connection reset by peer]
[18:41:20] -!- motioncontrol has quit [Quit: Sto andando via]
[18:41:20] -!- stsydow has quit [Ping timeout: 252 seconds]
[18:45:08] <OpenSourceWay> Hello world, that's the first day I try to use leaflet, and I've some problem when I want to customize my geojson layer.
[18:45:47] <OpenSourceWay> Somebody can look http://leo-serre.legtux.org/Paste/index.php/view/45794416 and tell me if he see an error, I've an error in my console…
[18:48:48] <OpenSourceWay> I've "TypeError: a is undefined … leaflet.js:7"…
[18:51:12] -!- Spida has quit [Ping timeout: 264 seconds]
[18:53:43] -!- stsydow [stsydow!~stsydow@kbs-217.kbs.tu-berlin.de] has joined #leaflet
[18:53:45] -!- GeoBSD [GeoBSD!~pierre@209.162-67-87.adsl-dyn.isp.belgacom.be] has joined #leaflet
[18:53:46] -!- tjb1 has quit [Ping timeout: 245 seconds]
[18:54:14] -!- mk0 has quit [Quit: Leaving]
[18:59:35] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[19:01:34] -!- Brandonian [Brandonian!~bmorrison@c-71-229-70-68.hsd1.in.comcast.net] has joined #leaflet
[19:03:40] <AphelionZ> deedubs: sorry im back... not consistent :(
[19:03:55] <deedubs> weird
[19:07:43] -!- krusty_ar [krusty_ar!~quassel@host126.201-253-101.telecom.net.ar] has joined #leaflet
[19:09:28] <krusty_ar> hi, all, I'm considering using leaflet for a page I'm working on and I have a very basic question that doesn't seem to be among the examples, I have some relatively large images I need to show, and I want to use the map interface to navigate them, what kind of tool/server do I need to tile the images and serve them in a way compatible with leaflet?
[19:12:59] -!- syyl_ws has quit [Quit: Verlassend]
[19:15:22] -!- stsydow has quit [Remote host closed the connection]
[19:18:47] <AphelionZ> deedubs: wait WAIT. what is the popupAnchor option when i make an icon
[19:19:40] <deedubs> you can bind a popup to the click action of a marker
[19:20:37] <AphelionZ> right but when I make a new L.icon a couple of the options are like iconAnchor and popupAnchor
[19:20:43] <AphelionZ> which contain some sort of x,y coordinate
[19:21:06] <deedubs> yeah its where the icon should be anchored in relation to the actual lat lng
[19:23:22] <AphelionZ> innnteresting
[19:23:33] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 18.0/20130108033621]]
[19:23:37] <AphelionZ> however, removing those options did not fix my problem :(
[19:29:48] <OpenSourceWay> I'm back again…
[19:30:32] -!- scottman [scottman!~scott@205.125.62.152] has joined #leaflet
[19:30:36] -!- scottman [scottman!~scott@205.125.62.152] has parted #leaflet
[19:30:49] <OpenSourceWay> Now, I need something a little more hard, I want to update my geojson on each zoom/move on the map, the actual map is here (using a haked version of openlayers)
[19:32:03] <OpenSourceWay> I need to download a geojson.js file on each mode, My file is generated by PHP, and I have to include the new bbox on the url.
[19:32:16] <OpenSourceWay> (Sorry for my bad english, french guy.)
[19:33:39] <OpenSourceWay> Somebody understand my question ?
[19:33:53] -!- odogono has quit [Ping timeout: 252 seconds]
[19:33:57] -!- pfred1 has quit [Quit: thats all folks!]
[19:35:32] <vax-> OpenSourceWay: take a look at http://leafletjs.com/reference.html
[19:35:42] <vax-> there are methods such as 'zoomend'
[19:35:56] <OpenSourceWay> Ok, I'll see.
[19:36:09] <OpenSourceWay> I'm on the doc files since 2 hours :)
[19:38:58] -!- R2E4 has quit [Ping timeout: 272 seconds]
[19:39:16] <OpenSourceWay> Haw can I acces to the lat/long of the 4 corners of the map ?
[19:40:34] <vax-> map.getBounds().toBBoxString() gives you a bounding box
[19:40:53] <OpenSourceWay> Thanks
[19:46:05] <Santolina> any clues of what I am doing wrong here? http://jsfiddle.net/3dF9H/2/ (trying to load a geojson layer passing its name to a function)
[19:49:22] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[19:50:20] <vax-> Santolina: onclick="loadsector(sector2);"
[19:50:26] <vax-> i removed the quotes, seems to work
[19:51:42] -!- syyl has quit [Ping timeout: 245 seconds]
[19:53:06] <Santolina> lol ... thanks vax- !!
[19:53:21] <vax-> :)
[19:54:59] -!- tjb1 has quit [Ping timeout: 258 seconds]
[19:59:11] -!- tjb1_ has quit [Ping timeout: 252 seconds]
[20:06:19] -!- skunkworks has quit [Read error: Connection reset by peer]
[20:08:16] -!- Wildhoney [Wildhoney!Wildhoney@cpc5-stap12-2-0-cust726.12-2.cable.virginmedia.com] has joined #leaflet
[20:09:31] -!- phantoxeD has quit [Ping timeout: 264 seconds]
[20:17:33] -!- zzolo_ [zzolo_!~zzolo@64.122.82.106] has joined #leaflet
[20:17:59] <OpenSourceWay> And can I refresh the map in order to generate again my GeoJSON layer ?
[20:18:07] -!- zzolo_ has quit [Client Quit]
[20:18:30] -!- zzolo_ [zzolo_!~zzolo@64.122.82.106] has joined #leaflet
[20:18:45] -!- zzolo has quit [Ping timeout: 258 seconds]
[20:18:45] zzolo_ is now known as zzolo
[20:20:50] -!- GeoBSD [GeoBSD!~pierre@209.162-67-87.adsl-dyn.isp.belgacom.be] has parted #leaflet
[20:21:09] <Santolina> OpenSourceWay you mean remove the geojson layer and load it again?
[20:22:45] <OpenSourceWay> Yes
[20:23:02] <OpenSourceWay> I've load it again, but I just want to remove it before…
[20:23:12] <OpenSourceWay> Or my CPU will explose
[20:23:49] -!- mackerski [mackerski!~dermot@78.143.142.168] has joined #leaflet
[20:26:17] <Santolina> OpenSourceWay ... perhaps there is another way, but as I coudln't find a way to remove the geojson directly from the map, what I do is adding it first to a LayerGroup, since it lets you add/remove the grouped layers http://leafletjs.com/reference.html#layergroup
[20:27:05] <chillly> OpenSourceWay, use removeLayer() to remove your GeoJSON layer, then create it again
[20:28:03] <chillly> when you created the layer you created a var for it, say GJLayer. Use GJLayer.removeLayer() to remove it
[20:30:00] -!- micges has quit [Read error: Connection reset by peer]
[20:30:28] <OpenSourceWay> My layer can be L ?
[20:31:24] -!- charlie_ has quit [Ping timeout: 258 seconds]
[20:33:06] -!- korsi_ has quit [Ping timeout: 264 seconds]
[20:37:21] <Santolina> chillly what would the syntax be if my geojson layers were added like this? L.geoJson([layer1,layer2,layer3],{...}).addTo(map);
[20:37:45] <Santolina> how to use removeLayer() in that case ... lets say for layer2
[20:43:42] <chillly> you must have created the layer2 earlier with, say, var layer2= ...?
[20:44:21] <chillly> if you did you can use layer2.removeLayer()
[20:44:58] <chillly> what is easiest guys is to paste your code to pastebin or something like that so people can look at it make suggestions
[20:45:13] <chillly> debugging some else's code without seeing it is kinda hard
[20:46:04] <Santolina> I have no code, I was figuring out OpenSourceWay's one
[20:46:33] <Santolina> just wondering if a layer can be removed without creating a var name for it
[20:50:58] -!- bpuk has quit []
[20:50:58] -!- tronwizard has quit [Ping timeout: 240 seconds]
[20:52:55] <chillly> you need something to refer to to be able to do anything to it
[20:53:11] <chillly> It's just javaScript
[20:53:51] -!- chillly has quit [Quit: Leaving]
[20:58:07] <AphelionZ> im wondering if i can do this with leaflet...
[20:58:23] <AphelionZ> full screen the map (100% height and width) but then have a section of that map be the active portion
[20:58:52] <AphelionZ> for example, the map becomes the background image and there are divs on top of it, and I can somehow ensure that markers never go behind the divs. the open area effectively becomes the "actual" map zone
[21:00:54] -!- chillly [chillly!~chris@adsl-178-78-91-198.karoo.kcom.com] has joined #leaflet
[21:01:46] -!- chillly [chillly!~chris@adsl-178-78-91-198.karoo.kcom.com] has parted #leaflet
[21:13:54] -!- gasbakid [gasbakid!~gasbakid@41.96.23.104] has joined #leaflet
[21:15:01] -!- charlie_ [charlie_!~charlie@cpc7-glfd6-2-0-cust6.6-2.cable.virginmedia.com] has joined #leaflet
[21:15:40] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[21:20:22] <Santolina> AphelionZ I guess it is easy to do if you create a big map on a background div, with the tiles ... and then a small "active" map on one of the front divs, with just the markers
[21:20:47] <AphelionZ> Santolina: woaaahhh, pretty cool
[21:21:02] <Santolina> the tricky thing must be to position the front active map in the correct place over the background map ... no idea on how to calculate that
[21:21:07] <AphelionZ> hmmm... right
[21:21:11] <AphelionZ> you'd have to pad something somewhere
[21:23:44] <Santolina> I guess you just need to send getSize() and getPixelOrigin() to a couple of global variables and use that to calculate front map position
[21:25:40] -!- psha has quit [Quit: Lost terminal]
[21:26:07] <OpenSourceWay> Hey, I just need somebody to check my js file. Because it's my first time and because I'm sure I'm wrong somewhere (but it works)
[21:26:26] <OpenSourceWay> Its here, http://leo.refuges.info/mobile/js/index.js, sorry for the french comments.
[21:28:04] <OpenSourceWay> I just need to know how I can create my layer in a variable, in order to lear it after.
[21:33:29] -!- cncbasher_ has quit [Ping timeout: 258 seconds]
[21:40:49] -!- syyl_ has quit [Quit: Leaving]
[21:42:42] -!- gasbakid_ [gasbakid_!~gasbakid@41.96.90.135] has joined #leaflet
[21:43:04] -!- gasbakid has quit [Ping timeout: 258 seconds]
[21:45:12] -!- Brandonian has quit [Quit: Brandonian]
[21:46:38] -!- bedah has quit [Quit: bye]
[21:51:51] -!- charlie_ has quit [Ping timeout: 256 seconds]
[21:57:09] -!- mackerski has quit [Quit: mackerski]
[22:00:10] -!- gasbakid_ has quit [Ping timeout: 260 seconds]
[22:02:49] -!- mackerski [mackerski!~dermot@78.143.142.168] has joined #leaflet
[22:08:17] -!- Loetmichel has quit [Ping timeout: 246 seconds]
[22:09:28] -!- zzolo has quit [Quit: zzolo]
[22:14:00] -!- motioncontrol has quit [Quit: Sto andando via]
[22:14:25] -!- tjb1 has quit [Quit: tjb1]
[22:17:56] -!- erictheise [erictheise!~mataro@2602:306:bccd:5830:9cd7:adfb:31b4:e4f8] has joined #leaflet
[22:19:04] -!- charlie_ [charlie_!~charlie@cpc7-glfd6-2-0-cust6.6-2.cable.virginmedia.com] has joined #leaflet
[22:19:15] -!- DJ9DJ has quit [Quit: bye]
[22:19:55] -!- erictheise has quit [Client Quit]
[22:20:36] -!- erictheise [erictheise!~mataro@107-204-213-131.lightspeed.sntcca.sbcglobal.net] has joined #leaflet
[22:24:40] -!- bpuk has quit []
[22:25:36] -!- micges has quit [Quit: Leaving]
[22:45:36] -!- OpenSourceWay_ [OpenSourceWay_!~OpenSourc@109.125.56.254] has joined #leaflet
[22:48:35] -!- OpenSourceWay has quit [Ping timeout: 260 seconds]
[22:51:33] -!- vladimirek has quit [Remote host closed the connection]
[22:57:30] -!- OpenSourceWay_ has quit [Quit: Se casse d'ici, ça craint.]
[23:01:40] -!- V0idExp has quit [Quit: Leaving.]
[23:03:51] -!- fomox_ has quit [Ping timeout: 276 seconds]
[23:07:10] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[23:12:14] -!- asdfasd has quit [Ping timeout: 252 seconds]
[23:18:36] -!- tmcw has quit [Remote host closed the connection]
[23:26:10] -!- mackerski has quit [Quit: mackerski]
[23:29:30] -!- fomox_ has quit [Ping timeout: 256 seconds]
[23:32:54] -!- Thetawaves_ has quit [Quit: This computer has gone to sleep]
[23:40:09] zq is now known as themis
[23:41:15] themis is now known as zq
[23:41:30] -!- fomox has quit [Ping timeout: 264 seconds]
[23:57:57] -!- skorasaurus has quit [Quit: left the building.]
[23:58:59] -!- Nick001-Shop has quit [Ping timeout: 252 seconds]