#leaflet | Logs for 2014-07-23

Back
[00:03:34] -!- phantoxeD has quit [Ping timeout: 240 seconds]
[00:04:42] -!- Nick001-shop has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
[00:04:46] -!- andypugh has quit [Quit: andypugh]
[00:11:33] -!- amatecha has quit [Ping timeout: 256 seconds]
[00:13:26] -!- amatecha [amatecha!sid10006@gateway/web/irccloud.com/x-eggklfdqyigafbwm] has joined #leaflet
[00:20:53] -!- h_maximilian1 has quit [Ping timeout: 240 seconds]
[00:23:50] -!- i_tarzan has quit [Ping timeout: 255 seconds]
[00:26:04] -!- karavanjo [karavanjo!~kvirc@178.122.236.149] has joined #leaflet
[00:27:42] -!- kb8wmc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 20.0/20130329043827]]
[00:28:16] -!- dgarr has quit [Ping timeout: 272 seconds]
[00:40:20] -!- sylphiae has quit [Read error: Connection reset by peer]
[00:41:26] -!- i_tarzan has quit [Read error: Connection reset by peer]
[00:55:17] -!- zzolo has quit [Quit: zzolo]
[00:59:54] -!- rosslyoung [rosslyoung!~ross@cpc65576-sgyl31-2-0-cust152.18-2.cable.virginm.net] has joined #leaflet
[01:02:32] -!- asdfasd has quit [Ping timeout: 255 seconds]
[01:05:37] -!- sylphiae has quit [Read error: Connection reset by peer]
[01:13:42] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[01:17:00] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[01:20:07] -!- i_tarzan has quit [Ping timeout: 256 seconds]
[01:26:55] -!- i_tarzan has quit [Ping timeout: 256 seconds]
[01:30:37] -!- patrickarlt [patrickarlt!~patrickar@c-50-139-80-222.hsd1.or.comcast.net] has joined #leaflet
[01:34:04] -!- `Nerobro has quit [Ping timeout: 240 seconds]
[01:34:31] -!- ries has quit [Quit: ries]
[01:35:46] -!- sirdancealot has quit [Ping timeout: 240 seconds]
[01:36:04] -!- sudobangbang has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
[01:42:35] -!- micges-dev has quit [Quit: Wychodzi]
[01:44:18] -!- patrickarlt has quit [Quit: Leaving...]
[01:50:23] -!- XXCoder1 has quit [Ping timeout: 264 seconds]
[01:51:43] -!- sudobangbang [sudobangbang!~chatzilla@75-151-97-182-Washington.hfc.comcastbusiness.net] has joined #leaflet
[01:51:55] -!- fenugrec has quit [Quit: Leaving]
[01:52:09] XXCoder2 is now known as XXCoder
[01:58:00] -!- jfigie has quit [Quit: Ex-Chat]
[01:59:10] -!- diizie has quit [Ping timeout: 246 seconds]
[02:04:32] -!- sureleo has quit [Quit: Leaving.]
[02:07:32] -!- alexchally has quit [Ping timeout: 240 seconds]
[02:08:15] -!- anth0ny_ has quit [Quit: anth0ny_]
[02:09:56] -!- rob_h has quit [Ping timeout: 250 seconds]
[02:15:46] -!- malcom2073 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
[02:18:29] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[02:20:30] -!- terabyte- has quit [Quit: terabyte-]
[02:21:19] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[02:22:34] -!- anth0ny_ [anth0ny_!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[02:33:30] -!- zzolo has quit [Quit: zzolo]
[02:37:46] -!- AR_ has quit [Ping timeout: 264 seconds]
[02:40:32] -!- sylphiae has quit [Ping timeout: 260 seconds]
[03:07:38] -!- syyl_ has quit [Ping timeout: 255 seconds]
[03:22:37] -!- hm2-buildmaster has quit [Remote host closed the connection]
[03:26:50] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[03:27:09] -!- larryone has quit [Remote host closed the connection]
[03:40:49] -!- sureleo has quit [Quit: Leaving.]
[03:45:09] -!- PetefromTn_ has quit [Ping timeout: 250 seconds]
[03:50:21] -!- PetefromTn_ has quit [Ping timeout: 250 seconds]
[03:50:37] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[03:57:16] -!- Groguard has quit [Ping timeout: 255 seconds]
[04:01:47] -!- dgarr has quit [Quit: Leaving.]
[04:02:47] -!- Groguard has quit [Read error: Connection reset by peer]
[04:06:40] zz_Groguard is now known as Groguard
[04:22:43] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[04:30:30] -!- sureleo has quit [Quit: Leaving.]
[04:48:50] zz_prtksxna is now known as prtksxna
[05:02:24] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[05:10:32] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[05:11:24] -!- ve7it has quit [Remote host closed the connection]
[05:11:56] -!- sureleo has quit [Client Quit]
[05:14:04] -!- h_maximilian has quit [Ping timeout: 260 seconds]
[05:18:27] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[05:20:16] -!- badon has quit [Ping timeout: 240 seconds]
[05:31:01] -!- anth0ny_ has quit [Quit: anth0ny_]
[05:45:17] -!- PetefromTn_ has quit [Quit: Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day]
[06:04:22] -!- sureleo has quit [Quit: Leaving.]
[06:05:51] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[06:12:00] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[06:16:43] -!- larryone has quit [Client Quit]
[06:20:59] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[06:21:33] -!- zultron has quit [Remote host closed the connection]
[06:21:37] -!- larryone has quit [Client Quit]
[06:22:35] -!- zultron has quit [Remote host closed the connection]
[06:23:04] -!- archivist_herron has quit [Ping timeout: 240 seconds]
[06:28:22] -!- dan2k3k4 [dan2k3k4!~dan2k3k4@unaffiliated/dan2k3k4] has joined #leaflet
[06:32:31] -!- quiqua [quiqua!~quiqua@port-212-202-227-184.static.qsc.de] has joined #leaflet
[06:35:46] -!- dan2k3k4 has quit [Ping timeout: 240 seconds]
[06:37:02] -!- dan2k3k4 [dan2k3k4!~dan2k3k4@unaffiliated/dan2k3k4] has joined #leaflet
[06:41:40] -!- eeriegeek has quit [Quit: Leaving.]
[06:43:45] -!- skorasaurus2 [skorasaurus2!~skors@cpe-75-187-158-200.neo.res.rr.com] has joined #leaflet
[06:44:13] -!- Deejay has quit [Changing host]
[06:44:55] -!- skorasaurus has quit [Read error: Connection reset by peer]
[07:00:16] -!- The_Ball has quit [Ping timeout: 240 seconds]
[07:00:57] -!- JT-Shop has quit [Read error: Connection reset by peer]
[07:03:25] -!- sureleo has quit [Quit: Leaving.]
[07:05:45] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[07:07:22] -!- mle [mle!~mle@mir31-1-82-224-13-158.fbx.proxad.net] has joined #leaflet
[07:07:32] -!- alexchally has quit [Ping timeout: 240 seconds]
[07:10:42] -!- WalterN has quit [Ping timeout: 245 seconds]
[07:12:12] -!- ttback [ttback!~ttback@pool-100-1-82-190.nwrknj.fios.verizon.net] has joined #leaflet
[07:12:16] <ttback> hi
[07:12:34] <ttback> i wonder if you use leaflet location-filter to select an area on leaflet
[07:12:46] <ttback> is it possible to output the partial map in that area as image?
[07:13:04] <ttback> i need to make a prototype to extract an area on the map as png file
[07:13:10] <ttback> not sure if that's possible
[07:13:23] -!- theorbtwo has quit [Read error: No route to host]
[07:17:28] -!- zeeshan has quit [Quit: bye]
[07:19:17] -!- rosslyoung has quit [Quit: Leaving]
[07:26:18] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[07:29:47] -!- WalterN has quit [Ping timeout: 245 seconds]
[07:33:18] -!- larryone has quit [Quit: This computer has gone to sleep]
[07:33:58] -!- md-2 [md-2!~md-2@host86-143-201-145.range86-143.btcentralplus.com] has joined #leaflet
[07:41:52] -!- JT-Shop_ has quit [Read error: Connection reset by peer]
[07:44:48] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[07:46:16] -!- sureleo has quit [Quit: Leaving.]
[07:47:59] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[08:05:00] prtksxna is now known as zz_prtksxna
[08:05:51] -!- larryone has quit [Ping timeout: 256 seconds]
[08:12:22] -!- gonzo___ has quit [Quit: Leaving]
[08:15:20] -!- sureleo has quit [Quit: Leaving.]
[08:18:09] zz_prtksxna is now known as prtksxna
[08:22:37] -!- automata has quit [Ping timeout: 272 seconds]
[08:24:46] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[08:38:46] -!- xsteadfastx [xsteadfastx!~marv@2001:a60:f000:81a2::1] has joined #leaflet
[08:39:16] <xsteadfastx> whats the best way to make a POI a straight link instead of a popup
[08:39:57] <xsteadfastx> i want to open a modal insted of a popup
[08:42:53] -!- sureleo has quit [Quit: Leaving.]
[08:44:40] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[08:54:35] -!- dan2k3k4 has quit [Ping timeout: 264 seconds]
[08:55:36] -!- dan2k3k4 [dan2k3k4!~dan2k3k4@unaffiliated/dan2k3k4] has joined #leaflet
[08:57:25] -!- Einar1 has quit [Ping timeout: 256 seconds]
[08:57:28] -!- badon has quit [Read error: Connection reset by peer]
[09:03:45] -!- badon has quit [Excess Flood]
[09:03:58] -!- gambakufu has quit [Read error: Connection reset by peer]
[09:09:35] -!- rigid [rigid!~rigid@unaffiliated/rigid] has joined #leaflet
[09:09:51] <rigid> ahoy
[09:10:52] <rigid> what is the "best-practice" way, to set a maps height relative to the browser-window dimensions?
[09:11:51] <rigid> i noticed that using some style like 'height="50%"' doesn't work, only absolute values work. I wonder why that is.
[09:12:21] <rigid> The best way I came up with, would be setting the height using javascript, but I wonder if there's another way
[09:13:53] <prtksxna> rigid: Percentage should work
[09:14:06] <prtksxna> rigid: Are you setting html,body{height: 100%;}
[09:15:36] <rigid> prtksxna: hm, no
[09:15:40] * rigid tries
[09:17:26] <rigid> prtksxna: doesn't seem to make a difference. When I set the <div id="map"> style to #map {width:100%; height:40em;} it works, height:50%; doesn't show a map
[09:17:50] <rigid> i.e. it shows a map with height=0
[09:17:50] <prtksxna> rigid: That shouldn't be happening. Maybe I am missing something. Can you put the code up on jsfiddle?
[09:18:12] <rigid> prtksxna: i can try... sec
[09:19:08] * rigid does clumsy newbie movements
[09:24:19] <prtksxna> rigid: http://jsfiddle.net/DPSM7/
[09:24:47] <prtksxna> rigid: Sorry, I don't think you can include Leaflet on jsfiddle.
[09:25:40] <rigid> :)
[09:25:52] <rigid> i think i found the bug
[09:25:57] <prtksxna> rigid: http://jsfiddle.net/DPSM7/1/
[09:26:04] <prtksxna> rigid: (y)
[09:33:10] <rigid> prtksxna: thanks, that confirmed my assumption
[09:33:48] <rigid> i didn't set the height of all parent elements. strangely, it's not enough to set the height of the actual parent element by id
[09:35:20] <rigid> so '<article id="foo"><div id="map"></div> ...' and '#foo {height:100%;} #map { 50% }' doesn't work
[09:35:44] <rigid> but 'article {height:100%;} #map { height:50%;} ...' does
[09:36:32] -!- boonkerz has quit [Quit: ZNC - http://znc.in]
[09:37:04] <rigid> ...or well, i have an error in my CSS :)
[09:38:59] -!- thesuss [thesuss!3e146b52@gateway/web/freenode/ip.62.20.107.82] has joined #leaflet
[09:39:16] <rigid> prtksxna: thanks a lot. i guess i'm heading in the right direction...
[09:40:26] <thesuss> Yeah, for anyone who cares I made it work :) It was the inline js that was the trouble. I managed to get the IT-guys to fix it. Now I just need a clustering function for the busstops. Will try the one I found :)
[09:41:47] -!- gonzo_ has quit [Ping timeout: 272 seconds]
[09:42:19] <prtksxna> rigid: Right, all parents need to have height defined…
[09:43:22] -!- sureleo has quit [Quit: Leaving.]
[09:45:56] -!- sureleo [sureleo!~Adium@140.207.50.130] has joined #leaflet
[09:55:48] <rigid> another pitfall i had to learn the hard way :)
[09:57:30] -!- gonzo_ has quit [Ping timeout: 250 seconds]
[10:00:54] <thesuss> markerClusterGroup in use together wth L.LayerGroup(); - or does a clyster grooup automaticly become a layer grpup ?
[10:00:59] <thesuss> *u
[10:05:17] -!- tronwizard has quit [Ping timeout: 240 seconds]
[10:08:52] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[10:17:58] -!- larryone has quit [Ping timeout: 255 seconds]
[10:21:50] -!- Valen has quit [Quit: Leaving.]
[10:35:37] -!- skunkworks has quit [Ping timeout: 272 seconds]
[10:38:38] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[10:47:14] -!- syyl_ws has quit [Quit: Verlassend]
[11:06:38] -!- ries has quit [Ping timeout: 260 seconds]
[11:09:39] <rigid> thesuss: not sure, but you can just add it like any other layer
[11:10:03] <thesuss> I figured it, I think :)
[11:10:17] <rigid> is it possible to use "em" where pixels are used in examples?
[11:10:46] <rigid> or is there another way to adapt to various screen resolutions?
[11:11:19] <prtksxna> rigid: That is a questions for #css
[11:13:10] <rigid> prtksxna: ah, in "L.MarkerClusterGroup({maxClusterRadius:35});" the radius is just passed through and used as style attribute?
[11:13:18] <rigid> i guess then em should work
[11:13:35] <prtksxna> Guess so
[11:22:27] -!- jerryitt [jerryitt!uid17132@gateway/web/irccloud.com/x-efkpqcermpumpgux] has joined #leaflet
[11:29:27] -!- sumpfralle has quit [Ping timeout: 272 seconds]
[11:35:06] -!- sureleo has quit [Quit: Leaving.]
[11:39:49] -!- karavanjo has quit [Remote host closed the connection]
[11:40:42] -!- Tecan has quit [Ping timeout: 260 seconds]
[11:47:23] <thesuss> Dang, I tried to design my cluster-groups but they ended up completely -undesigned... Redo ^^
[11:48:33] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[11:53:12] -!- mle has quit [Ping timeout: 245 seconds]
[11:54:51] <thesuss> Ok... Figured the problem
[11:54:55] <thesuss> This works:
[11:54:56] <thesuss> var hpler = L.markerClusterGroup();
[11:55:01] <thesuss> This does not:
[11:55:28] <thesuss> var hpler = new L.MarkerClusterGroup({ iconCreateFunction: function(cluster) {return new L.DivIcon({ html: '<b>' + cluster.getChildCount() + '</b>' }); } });
[12:02:37] <xsteadfastx> i want to add a logo or something on a fullscreen map... whats the best way to do that?
[12:05:55] <Reventlov> xsteadfastx: how do you want your logo to react when the user zoom/unzoom/move the map ?
[12:09:10] <xsteadfastx> that it just stays the same
[12:09:17] <xsteadfastx> like the control buttons
[12:10:14] <Reventlov> ok, so you want a logo at a fixed position on your screen, which doesn't depend from the map
[12:10:55] <xsteadfastx> exactly :)
[12:11:27] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[12:11:57] -!- sirdancealot has quit [Ping timeout: 245 seconds]
[12:12:17] <Reventlov> it's just in css then
[12:12:58] <Reventlov> <div id="logo"><img src=foo></img></div>
[12:13:32] <Reventlov> and #logo { position: absolute; right: 42px; width: 42px; } as css
[12:13:35] <Reventlov> for example
[12:13:50] -!- cv has quit [Client Quit]
[12:13:51] <xsteadfastx> yeah. i will try that :)
[12:27:13] -!- Einar1 has quit [Quit: Leaving.]
[12:28:31] <thesuss> Reventlov: It was the inline files that made it weird, look how beautiful it is now: http://hlt-newsletter.wm3.se/karta :)
[12:31:24] <Reventlov> nice thesuss :)
[12:32:14] <prtksxna> thesuss: Mapbox tiles?
[12:32:48] <thesuss> Leaflet | Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox
[12:33:05] <thesuss> It says in the bottom, byt one needs to have very full screen to see it ^^
[12:33:10] <thesuss> *but
[12:33:56] <prtksxna> thesuss: Ah yes, I could scroll and see. Earlier it just zoomed out the map.
[12:34:02] <Reventlov> May you could change that, it's not obvious if you don't know you can scroll
[12:34:12] * prtksxna mutters about full width maps that break page scrolling
[12:34:40] <thesuss> I can disable scroll of the map, but then I found usage of the map to be annoying.
[12:34:43] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[12:34:53] <thesuss> Is it better to have the map 80% wide ?
[12:35:07] <thesuss> so one can scroll the page at the sides of the map?
[12:35:41] <prtksxna> thesuss: Not for the design maybe. But for the accessibility.
[12:35:50] <prtksxna> thesuss: Make the map fit the remaining height? There /will be no/ scroll then?
[12:36:23] <thesuss> How? :) height100% ? I tried that, didnt quite work
[12:36:47] <thesuss> but that would indeed be ideal
[12:37:09] <thesuss> because if you use a phone and manage to scroll to see the whole map, you cant get out of there
[12:37:16] <prtksxna> thesuss: It'll work if the parents' height is defined. Parent till html,body I mean
[12:37:30] -!- md-2 has quit [Remote host closed the connection]
[12:37:40] <thesuss> hmmm *testing*
[12:37:42] <prtksxna> thesuss: You could use JS. Also see the scroll back and my conversation with rigid
[12:37:56] -!- md-2 [md-2!~md-2@host86-143-201-145.range86-143.btcentralplus.com] has joined #leaflet
[12:39:09] <thesuss> It broke it...
[12:39:33] <prtksxna> First step {{done}}
[12:40:48] -!- larryone has quit [Quit: This computer has gone to sleep]
[12:41:23] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[12:42:23] -!- md-2 has quit [Ping timeout: 256 seconds]
[12:48:56] <thesuss> Ah, you refer to "all parents need to have height defined" prtksxna `?
[12:49:38] <prtksxna> thesuss: Yeah, as in if your div is inside a div that div needs to have a height explicitly defined too, if you want % heights to work
[12:51:01] <thesuss> It is below 2 divs, but only inside body and head..
[12:51:52] -!- larryone has quit [Ping timeout: 255 seconds]
[12:52:01] -!- balestrino has quit [Ping timeout: 256 seconds]
[12:52:22] <thesuss> hahaha :D now all divs on that page got height 100% ^^
[12:52:57] <prtksxna> If the heights' of the elements above it (siblings) isn't defined in % then you'll _have_ to do this in JavaScript
[12:52:57] <prtksxna> thesuss: ^
[12:53:30] <prtksxna> thesuss: Yeah, you don't want that :P
[12:53:31] <prtksxna> thesuss: I mean parents not siblings :(
[12:53:32] <prtksxna> s/mean/meant
[12:53:32] <thesuss> aha
[12:58:03] JT-Shop__ is now known as JT-Shop
[13:01:43] prtksxna is now known as zz_prtksxna
[13:04:31] -!- Einar1 has quit [Quit: Leaving.]
[13:05:40] <thesuss> Hm, Now I fixed the hight issues of the other divs, but the map disappeared...
[13:08:00] -!- ttback has quit [Remote host closed the connection]
[13:09:29] zz_prtksxna is now known as prtksxna
[13:13:45] <thesuss> prtksxna: I see that if I hadnt had the menu and top info it would be easy..
[13:13:54] <thesuss> html, body, #map { height: 100%; } ^^
[13:14:31] <prtksxna> Right
[13:21:24] <thesuss> But now they are there, I think I have a solution going, but not sure...
[13:25:03] <prtksxna> thesuss: You'll have to us JS is the height of the menu and stuff isn't in %
[13:25:26] <thesuss> It is, soon enough..
[13:26:15] -!- syyl_ has quit [Ping timeout: 250 seconds]
[13:27:33] <thesuss> prtksxna: sort of solved.. http://hlt-newsletter.wm3.se/karta
[13:28:25] -!- md-2 [md-2!~md-2@host86-143-201-145.range86-143.btcentralplus.com] has joined #leaflet
[13:28:31] <thesuss> But the responsive css went down with it... =/
[13:28:38] <prtksxna> thesuss: Just need to accomodate for the padding and stuff
[13:28:45] <prtksxna> thesuss: I am sure that can be fixed…
[13:29:13] <thesuss> Me too, but not today. Now its ice-cream and other work assignments :)
[13:30:21] <prtksxna> :)
[13:32:52] -!- md-2 has quit [Ping timeout: 250 seconds]
[13:34:35] -!- md-2 [md-2!~md-2@host86-143-201-145.range86-143.btcentralplus.com] has joined #leaflet
[13:35:07] -!- ttback [ttback!~ttback@pool-100-1-82-190.nwrknj.fios.verizon.net] has joined #leaflet
[13:41:22] -!- mle [mle!~mle@mir31-1-82-224-13-158.fbx.proxad.net] has joined #leaflet
[13:43:38] -!- ttback has quit [Remote host closed the connection]
[13:44:24] -!- sirdancealot has quit [Ping timeout: 255 seconds]
[13:45:51] -!- RyanS has quit [Ping timeout: 256 seconds]
[13:46:46] <thesuss> prtksxna: do you know if something similar to this is possible?
[13:46:48] <thesuss> var overlays = { html: '<span class="glyphicon glyphicon-user"></span> Butiker': butiker,
[13:47:27] <prtksxna> thesuss: Similar to what? Could you pastie?
[13:47:35] <thesuss> var overlays = { html: '<span class="glyphicon glyphicon-user"></span> Butiker': butiker,
[13:47:49] <thesuss> as opposed to
[13:47:59] <thesuss> var overlays = { "Butiker": butiker,
[13:49:04] <thesuss> I've seen it done in a similar way with a lot of code that I dont yet grasp.... here: http://www.trafiken.nu/goteborg/Cykel/cykelreseplanerare/
[13:49:34] <thesuss> they add a div with the image for each item
[13:50:21] <thesuss> but their list is more sophisticated than mine ^^
[13:51:14] -!- anth0ny_ [anth0ny_!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[14:13:11] -!- skorasaurus2 has quit [Ping timeout: 255 seconds]
[14:19:06] <thesuss> Hm, apparantly my responsive menu on all pages is broken. that's bad :(
[14:25:47] -!- theorbtwo has quit [Ping timeout: 255 seconds]
[14:26:07] <thesuss> ()()
[14:26:12] <thesuss> ( -.-)
[14:26:15] <thesuss> (")(")
[14:27:02] * thesuss is sad
[14:27:28] -!- a_morale_ has quit [Ping timeout: 250 seconds]
[14:27:28] -!- Nick001 has quit []
[14:29:09] -!- quiqua has quit [Quit: quiqua]
[14:41:01] -!- anth0ny_ has quit [Quit: anth0ny_]
[14:46:38] -!- thesuss has quit [Quit: Page closed]
[14:58:28] -!- mozmck has quit [Quit: Leaving.]
[14:58:59] -!- anth0ny_ [anth0ny_!~anth0ny@unaffiliated/anth0ny] has joined #leaflet
[15:01:16] -!- kwallace has quit [Ping timeout: 250 seconds]
[15:01:52] -!- amiri has quit [Read error: Connection reset by peer]
[15:02:52] -!- amiri [amiri!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[15:04:49] -!- thesuss [thesuss!3e146b52@gateway/web/freenode/ip.62.20.107.82] has joined #leaflet
[15:05:56] <thesuss> Yeah prtksxna I solved my css issues, it was as easy as a missing } - But the menu doesnt expand OK on the map-page, naturally. (since the height is set to 10% for mobiles
[15:06:15] -!- anth0ny_ has quit [Quit: anth0ny_]
[15:09:20] <thesuss> That will be tomorrows problem :)
[15:09:23] -!- thesuss has quit [Client Quit]
[15:11:02] -!- mle has quit [Ping timeout: 245 seconds]
[15:12:04] -!- sylphiae has quit [Ping timeout: 240 seconds]
[15:12:43] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[15:21:00] prtksxna is now known as zz_prtksxna
[15:21:35] -!- dan2k3k4 has quit [Ping timeout: 264 seconds]
[15:29:21] -!- md-2 has quit [Remote host closed the connection]
[15:32:23] -!- md-2 [md-2!~md-2@host86-143-201-145.range86-143.btcentralplus.com] has joined #leaflet
[15:40:57] -!- jduhls [jduhls!~jduhls@67.58.77.166] has joined #leaflet
[15:51:39] -!- dan2k3k4 [dan2k3k4!~dan2k3k4@unaffiliated/dan2k3k4] has joined #leaflet
[16:06:50] zz_prtksxna is now known as prtksxna
[16:13:13] tronwzrd is now known as tronwizard
[16:17:04] -!- dan2k3k4 has quit [Ping timeout: 255 seconds]
[16:22:14] -!- zzolo [zzolo!~zzolo@173-12-5-73-Philadelphia.hfc.comcastbusiness.net] has joined #leaflet
[16:32:58] -!- jerryitt [jerryitt!uid17132@gateway/web/irccloud.com/x-zpohwgoxyfxgsksw] has joined #leaflet
[16:35:37] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[16:44:58] -!- jduhls has quit [Ping timeout: 264 seconds]
[16:50:33] -!- alexchally has quit [Ping timeout: 272 seconds]
[16:59:22] -!- k6mle-CNC has quit [Ping timeout: 246 seconds]
[17:10:47] -!- phantoxe has quit []
[17:12:17] -!- rob_h has quit [Ping timeout: 245 seconds]
[17:26:37] -!- mle [mle!~mle@bon31-1-81-56-86-173.fbx.proxad.net] has joined #leaflet
[17:35:31] -!- WyrM has quit [Ping timeout: 272 seconds]
[17:38:59] prtksxna is now known as zz_prtksxna
[17:48:26] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[17:53:31] -!- skorasaurus [skorasaurus!~skors@adsl-75-10-140-150.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[17:55:33] -!- eFuchs_firefly has quit [Quit: ping timeout]
[17:57:33] -!- pjm_ has quit [Read error: Connection reset by peer]
[17:59:27] -!- PetefromTn_ has quit [Quit: If at first you don't succeed, skydiving is not for you.]
[18:00:21] -!- skorasaurus2 [skorasaurus2!~skors@adsl-75-10-128-48.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[18:01:29] -!- Komzpa [Komzpa!~kom@mm-71-245-57-86.leased.line.mgts.by] has joined #leaflet
[18:03:07] -!- skorasaurus has quit [Ping timeout: 245 seconds]
[18:12:30] -!- BlaDe^ has quit [Read error: Connection reset by peer]
[18:24:02] -!- skunkworks has quit [Read error: Connection reset by peer]
[18:27:41] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[18:28:33] -!- JT-Shop has quit [Ping timeout: 240 seconds]
[18:29:22] -!- jthornton has quit [Ping timeout: 272 seconds]
[18:29:22] -!- amiri has quit [Quit: leaving]
[18:41:56] -!- BlaDe^ [BlaDe^!~Martin@static.74.124.47.78.clients.your-server.de] has joined #leaflet
[18:42:16] <BlaDe^> has anyone ever encountered objects within .leaflet-objects-pane not showing up?
[18:42:43] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[18:46:15] -!- zzolo has quit [Quit: zzolo]
[18:47:45] -!- malcom2073 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
[18:49:49] -!- Komzpa has quit [Remote host closed the connection]
[18:50:39] -!- Komzpa [Komzpa!~kom@mm-71-245-57-86.leased.line.mgts.by] has joined #leaflet
[18:57:07] -!- jerryitt [jerryitt!uid17132@gateway/web/irccloud.com/x-upvpcdwqdjeulbwt] has joined #leaflet
[18:59:36] -!- amiri [amiri!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[19:08:35] -!- WalterN has quit [Ping timeout: 250 seconds]
[19:09:03] -!- amiri has quit [Quit: Lost terminal]
[19:12:22] -!- k6mle-CNC has quit [Ping timeout: 246 seconds]
[19:14:29] -!- amiri [amiri!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[19:16:17] -!- FreezingCold has quit [Ping timeout: 240 seconds]
[19:16:31] -!- Roguish has quit [Remote host closed the connection]
[19:17:02] -!- amiri_ [amiri_!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[19:18:28] -!- amiri__ [amiri__!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[19:18:50] -!- amiri___ [amiri___!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[19:23:24] -!- sylphiae has quit [Ping timeout: 260 seconds]
[19:26:59] -!- amiri__ has quit [Quit: Lost terminal]
[19:26:59] -!- amiri_ has quit [Quit: Lost terminal]
[19:27:11] -!- amiri___ has quit [Quit: Lost terminal]
[19:35:48] -!- karavanjo [karavanjo!~kvirc@176.60.33.116] has joined #leaflet
[19:37:35] -!- Komzpa has quit [Remote host closed the connection]
[19:37:49] -!- Komzpa [Komzpa!~kom@mm-71-245-57-86.leased.line.mgts.by] has joined #leaflet
[19:39:49] -!- skors [skors!~skors@75.10.136.198] has joined #leaflet
[19:41:00] -!- skorasaurus [skorasaurus!~skors@75.10.136.198] has joined #leaflet
[19:42:32] -!- skorasaurus2 has quit [Ping timeout: 260 seconds]
[19:44:23] -!- skors has quit [Ping timeout: 240 seconds]
[19:52:48] -!- acdha [acdha!~acdha@shell.improbable.org] has joined #leaflet
[19:56:49] -!- beawesomeinstead has quit [Quit: Connection closed for inactivity]
[19:59:10] <rigid> is there a way to call a function whenever an L.Marker() creates an icon?
[20:00:15] <rigid> i saw that "new L.Icon().createIcon" could be replaced, but I wonder if there's a better way
[20:08:26] <patrickarlt> rigid: what are you trying to accomplish
[20:09:13] <rigid> patrickarlt: i want to create individual SVG icons. one per marker.
[20:09:36] <patrickarlt> why not just create lots of icons?
[20:10:11] -!- tjb1 has quit [Ping timeout: 264 seconds]
[20:10:59] <rigid> patrickarlt: i'm actually trying that. i'm using L.DivIcon({html: ...}) to inline svg
[20:12:09] <patrickarlt> right so if you have 50 markers just create 50 L.DivIcon({html: ...}) and 50 L.marker(latlng, {icon: uniqueDivIcon})
[20:12:41] <BlaDe^> Can anyone see a problem here? http://jsfiddle.net/QQmM6/
[20:12:48] -!- Loetmichel has quit [Ping timeout: 240 seconds]
[20:12:50] <BlaDe^> (except that the circle isn't showing up... ;))
[20:13:14] -!- acdha has quit [Quit: Textual IRC Client: www.textualapp.com]
[20:14:33] -!- acdha [acdha!~acdha@shell.improbable.org] has joined #leaflet
[20:14:53] <patrickarlt> BlaDe^: you need to make "map" a real variable with "var map = ..." http://jsfiddle.net/E7fNk/1/
[20:15:00] <Reventlov> BlaDe^: >TypeError: t.addLayer is not a function
[20:15:42] <rigid> patrickarlt: omg, i was thinking way too complex. thank you :)
[20:15:59] <patrickarlt> rigid: :)
[20:24:31] <BlaDe^> oops that was a lazy fiddle by me
[20:24:42] <BlaDe^> it actually works fine on the fiddle but not in my environment with the same code :(
[20:25:02] <BlaDe^> I get "TypeError: undefined is not a function" from new L.Control.Draw({
[20:25:12] <BlaDe^> console shows L.Draw as function (){this.initialize&&this.initialize.apply(this,arguments),this._initHooks&&this.callInitHooks()}
[20:25:20] <BlaDe^> L.Control* and L.Control.Draw as undefined
[20:26:15] <patrickarlt> BlaDe^: do you need to load the Leaflet.Draw plugin then?
[20:27:42] <BlaDe^> not sure, isn't it loaded by default? I didn't load it in the fiddle
[20:27:49] <BlaDe^> works fine here: http://jsfiddle.net/QQmM6/2/
[20:28:54] -!- Thetawaves has quit [Read error: Connection reset by peer]
[20:29:20] <patrickarlt> BlaDe^: no it doesn't look at the console "undefined is not a function" you need to add leaflet draw to your html/css
[20:31:04] <patrickarlt> this actually works, look at "External Resources" http://jsfiddle.net/QQmM6/3/
[20:31:22] <patrickarlt> you have to add the Leaflet.Draw js and css
[20:33:04] <BlaDe^> ah, yes... that fixes the draw component
[20:33:15] <BlaDe^> it's weird the Circle doesn't show up on my dev environment with the exact same code
[20:35:57] <patrickarlt> dunno then :/
[20:40:33] -!- md-2 has quit [Remote host closed the connection]
[20:40:59] -!- md-2 [md-2!~md-2@host86-143-201-145.range86-143.btcentralplus.com] has joined #leaflet
[20:42:59] -!- skorasaurus2 [skorasaurus2!~skors@adsl-75-10-135-84.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[20:44:04] -!- skors [skors!~skors@adsl-75-10-135-84.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[20:44:30] -!- tjtr33 has quit [Quit: Leaving]
[20:45:12] -!- md-2 has quit [Ping timeout: 245 seconds]
[20:45:36] -!- skorasaurus has quit [Ping timeout: 255 seconds]
[20:47:22] -!- skorasaurus2 has quit [Ping timeout: 245 seconds]
[20:51:48] -!- skors has quit [Read error: Connection reset by peer]
[20:52:14] -!- Deejay has quit [Quit: bye]
[20:57:35] -!- md-2 [md-2!~md-2@host86-143-201-145.range86-143.btcentralplus.com] has joined #leaflet
[21:06:23] -!- cv has quit [Client Quit]
[21:11:21] -!- FinboySlick has quit [Quit: Leaving.]
[21:13:49] -!- skorasaurus2 [skorasaurus2!~skors@adsl-75-10-135-84.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[21:24:01] <BlaDe^> patrickarlt: I FINALLY figured it out
[21:24:09] <patrickarlt> what was it?
[21:24:18] <BlaDe^> http://jsfiddle.net/QQmM6/4/
[21:24:26] <BlaDe^> adding https://rawgithub.com/novus/nvd3/master/nv.d3.min.css breaks the circle
[21:24:52] <BlaDe^> everything has a .nvd3 class though... so I don't know why yet
[21:25:16] -!- skors [skors!~skors@adsl-75-10-146-139.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[21:27:15] -!- skorasaurus2 has quit [Ping timeout: 250 seconds]
[21:27:43] <patrickarlt> weird....
[21:28:59] <BlaDe^> isn't it?!
[21:29:06] <BlaDe^> I need both components on the page though so i'm stumped right now haha
[21:32:08] -!- anarchos2 has quit [Read error: Connection reset by peer]
[21:34:33] -!- mle has quit [Remote host closed the connection]
[21:34:48] Cylly is now known as Loetmichel
[21:35:43] -!- anarchos_ has quit [Read error: Connection reset by peer]
[21:38:15] <BlaDe^> it's because of the svg { } in global scope
[21:39:02] <patrickarlt> is that in leaflet or in nvd3?
[21:39:10] <BlaDe^> it's in nvd3 :(
[21:39:50] <patrickarlt> file an issue with them then thats about all you can do
[21:40:50] -!- anarchos2 has quit [Ping timeout: 260 seconds]
[21:43:08] -!- radish has quit [Ping timeout: 240 seconds]
[21:44:33] -!- radish [radish!~radish@unaffiliated/stryx/x-3871776] has joined #leaflet
[21:44:41] -!- anarchos_ has quit [Read error: Connection reset by peer]
[21:45:55] <BlaDe^> i added
[21:45:56] <BlaDe^> .map svg { height: auto; width: auto;
[21:45:56] <BlaDe^> }
[21:46:08] <BlaDe^> such a crappy fix and a huge waste of time heh
[21:47:23] -!- gonzo_nb has quit [Remote host closed the connection]
[21:49:26] -!- kb8wmc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 20.0/20130329043827]]
[21:52:49] -!- anarchos_ has quit [Read error: Connection reset by peer]
[21:53:02] -!- anarchos has quit [Client Quit]
[21:56:00] <skors> hey calvinmetcalf:
[21:56:34] <Teme> an
[21:56:48] <skors> oops, wrong autocomplete and window.
[21:57:14] <Teme> wrong IM program
[22:00:21] -!- md-2 has quit [Quit: Leaving...]
[22:03:38] -!- anarchos_ has quit [Read error: Connection reset by peer]
[22:10:54] -!- anarchos_ has quit [Read error: Connection reset by peer]
[22:16:30] -!- sirdancealot has quit [Ping timeout: 255 seconds]
[22:19:19] -!- micges-dev has quit [Quit: Wychodzi]
[22:19:27] -!- anarchos_ has quit [Read error: Connection reset by peer]
[22:20:58] -!- sudobangbang has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
[22:28:00] -!- anarchos_ has quit [Read error: Connection reset by peer]
[22:29:21] -!- karavanjo has quit [Read error: Connection reset by peer]
[22:37:32] -!- anarchos_ has quit [Read error: Connection reset by peer]
[22:43:34] -!- anarchos_ has quit [Read error: Connection reset by peer]
[22:46:41] -!- anarchos_ has quit [Read error: Connection reset by peer]
[22:48:26] -!- likevinyl has quit [Ping timeout: 255 seconds]
[22:48:43] -!- syyl_ has quit [Ping timeout: 250 seconds]
[22:49:13] -!- likevinyl has quit [Changing host]
[22:50:50] -!- acdha has quit [Quit: Textual IRC Client: www.textualapp.com]
[22:55:13] -!- anarchos_ has quit [Read error: Connection reset by peer]
[22:57:45] -!- anarchos_ has quit [Read error: Connection reset by peer]
[23:01:25] -!- Thetawaves has quit [Client Quit]
[23:03:01] -!- rob_h has quit [Ping timeout: 250 seconds]
[23:05:08] -!- Einar1 has quit [Quit: Leaving.]
[23:06:54] -!- FreezingCold has quit [Remote host closed the connection]
[23:07:04] -!- toner has quit [Ping timeout: 240 seconds]
[23:08:47] -!- anarchos_ has quit [Read error: Connection reset by peer]
[23:09:25] -!- patrickarlt has quit [Remote host closed the connection]
[23:14:35] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@ti0043a400-2479.bb.online.no] has joined #leaflet
[23:19:42] -!- anarchos_ has quit [Read error: Connection reset by peer]
[23:26:52] -!- thomaslindstr_m has quit [Ping timeout: 245 seconds]
[23:27:06] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@ti0043a400-2479.bb.online.no] has joined #leaflet
[23:27:53] -!- anarchos_ has quit [Read error: Connection reset by peer]
[23:31:48] -!- skors has quit [Ping timeout: 240 seconds]
[23:32:43] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[23:36:51] -!- terabyte- has quit [Quit: terabyte-]
[23:36:52] -!- anarchos_ has quit [Read error: Connection reset by peer]
[23:37:26] -!- anarchos_ has quit [Read error: Connection reset by peer]
[23:39:06] -!- thomaslindstr_m has quit [Remote host closed the connection]
[23:47:58] -!- anarchos_ has quit [Read error: Connection reset by peer]
[23:51:49] -!- sudobangbang [sudobangbang!~chatzilla@75-151-97-182-Washington.hfc.comcastbusiness.net] has joined #leaflet
[23:56:31] -!- anarchos_ has quit [Read error: Connection reset by peer]