#leaflet | Logs for 2013-08-26

Back
[00:16:50] -!- Valen has quit [Quit: Leaving.]
[00:24:14] -!- asdfasd has quit [Ping timeout: 240 seconds]
[00:24:44] sliptonic is now known as sliptonic_away
[00:59:23] -!- jfire [jfire!~Adium@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[01:00:50] -!- asdfasd has quit [Ping timeout: 264 seconds]
[01:46:23] -!- jfire has quit [Quit: Leaving.]
[02:08:10] -!- Servos4ever has quit [Quit: ChatZilla 0.9.90.1 [SeaMonkey 2.20/20130803195701]]
[02:42:45] -!- archivist_herron has quit [Ping timeout: 248 seconds]
[02:44:38] -!- AR_ has quit [Ping timeout: 240 seconds]
[03:00:53] -!- Loetmichel has quit [Ping timeout: 248 seconds]
[03:36:14] -!- jerryitt has quit [Quit: Leaving.]
[03:56:51] -!- FinboySlick has quit [Quit: Leaving.]
[04:01:33] sliptonic_away is now known as sliptonic
[04:08:45] -!- ds3 has quit [Ping timeout: 276 seconds]
[04:15:33] -!- Chemeleon has quit [Ping timeout: 248 seconds]
[04:36:14] -!- SpeicusX has quit [Ping timeout: 240 seconds]
[04:54:12] -!- JT-Shop has quit [Read error: Connection reset by peer]
[04:54:12] -!- jthornton has quit [Read error: Connection reset by peer]
[05:03:02] -!- Fox_Muldr has quit [Ping timeout: 240 seconds]
[05:32:44] -!- jef79m has quit [Excess Flood]
[05:33:01] -!- krusty_ar_ [krusty_ar_!~quassel@host56.200-43-205.telecom.net.ar] has joined #leaflet
[05:33:25] -!- krusty_ar has quit [Ping timeout: 248 seconds]
[06:21:23] -!- dhoovie has quit [Read error: Connection reset by peer]
[06:27:06] -!- Lathe_newbie has quit [Ping timeout: 264 seconds]
[06:37:01] -!- stsydow [stsydow!~stsydow@dslb-178-008-098-013.pools.arcor-ip.net] has joined #leaflet
[06:37:48] -!- ve7it has quit [Remote host closed the connection]
[06:41:07] -!- jlrodriguez [jlrodriguez!~jlrodrigu@241.211.220.87.dynamic.jazztel.es] has joined #leaflet
[06:51:44] -!- ds3 has quit [Ping timeout: 260 seconds]
[06:59:43] -!- nspiel has quit [Ping timeout: 250 seconds]
[07:08:38] -!- tjb11 has quit [Ping timeout: 264 seconds]
[07:36:44] -!- Tom_itx has quit [Read error: Connection reset by peer]
[07:37:30] -!- lucashodge [lucashodge!~lukehodge@ppp118-209-29-24.lns20.mel4.internode.on.net] has joined #leaflet
[07:38:53] <lucashodge> Hey are there some good tutorials for how to create interactive layers using KML data?
[07:40:06] Cylly is now known as Loetmichel
[07:51:42] -!- odogono [odogono!~odogono@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[07:53:36] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[07:54:09] -!- b_b has quit [Changing host]
[07:54:09] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[08:14:39] -!- john__ [john__!3d03bc31@gateway/web/freenode/ip.61.3.188.49] has joined #leaflet
[08:15:21] <john__> how can I customize leaflet wms tile size. it only works with the value 256
[08:16:46] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[08:19:38] <zod> john__: There's a tileSize option
[08:21:20] <john__> zod: I tried tile Size but getting error Only tileSize:256 is working
[08:22:27] <john__> error is 400: The requested tile dimensions 64x64 do not match those of the grid set (256x256)
[08:23:10] <perl> john__: looks like your tilecache uses a gridset defined for 256x256 tiles
[08:23:44] <perl> john__: meaning, that error is not from leaflet, but from your tilecache, that doesn't like requests for 64x64 tiles
[08:23:48] <john__> I am new in leaflet. What is gridset how can I resolve this issue
[08:24:17] <perl> john__: the gridset is something you configure in your tilecache, it doesn't have anything to do with leaflet
[08:24:37] <perl> john__: looks like you're using geowebcache, you will have to configure the tile size you want to use there
[08:24:46] <john__> my code is
[08:24:48] <john__> var bluemarble = new L.TileLayer.WMS("http://maps.opengeo.org/geowebcache/service/wms", { layers: 'bluemarble', tileSize:64, }); map.addLayer(bluemarble);
[08:24:59] <john__> map.fitWorld();
[08:25:14] <perl> john__: ok, then opengeo uses a tilecache that is set up to use 256x256, and you can't change that
[08:25:29] <perl> john__: why would you want to change the tile size anyway?
[08:26:43] <john__> because I am creating map from given lat long set. ie top left and bottom right. My map canvas need to resize according to the size of the map and must be fit to the given bounds
[08:27:19] <perl> john__: ok, I still don't think you need to change tile size to achieve that
[08:27:25] <john__> But the issue is some times its fit correctly but some times it won't.
[08:27:42] <john__> There is some issue with the zoom level
[08:28:04] <perl> john__: changing tile size will not give you other zoom levels
[08:28:09] <john__> I tried fit to bounds. But if the zoom doesn't fit correctly
[08:28:32] <john__> Is there any way to control zoom level
[08:28:46] <perl> john__: depending on the situation, there might just not be a suitable zoom level in the tile set you're using. changing tile size will not fix that.
[08:29:01] <zod> john__: You can limit the available zoom levels
[08:29:27] <perl> john__: the zoom levels/resolutions are controlled by the tile set/tile cache, so it's not something you can control. it's up to opengeo in this case.
[08:31:24] <john__> The issue is with the zoom. Can I control the zoom any other way
[08:32:26] <perl> john__: can you describe what the issue with the zoom is? or even better, show some code that illustrates the problem
[08:32:43] <john__> Okay
[08:36:38] <john__> As I said I am creating map from given lat long pairs. I need to created this map in to a div of size 200*200. If the maps width is more than 200 or height is more than 200 the map should be resized such that width or height will be set to 200 and the opposite side will be increased accordingly. The map should only show the given part. Ie fit to the given bounds(bounds created from lat long pairs). I used map.fittobounds(bounds) to fit
[08:37:12] -!- tjb1 has quit [Ping timeout: 260 seconds]
[08:37:58] <john__> sorry map.fitBounds(bounds)
[08:38:19] <perl> john__: if you're talking about the map's html div's size, then that's controlled by style/css, not by calls to leaflet's api
[08:38:41] <perl> john__: so just use normal styling to achieve whatever size you want
[08:39:12] <john__> I sized the div using a function but the map tot fits into the div
[08:39:18] <perl> john__: fitBounds etc. is used to control what geographic area is being displayed within that div, whatever pixel size it has.
[08:40:13] <perl> john__: aha, if you set the size using some javascript, you might need to call invalidateSize on the map to notify that the div's size has changed.
[08:41:38] <john__> I think I confused you. Let me show you a sample.
[08:45:50] -!- Jymmm has quit [Ping timeout: 245 seconds]
[08:46:08] <lucashodge> Do you know some good tutorials for how to create interactive layers from KML data, do you need a tool like Tilemill to do this?
[08:46:23] -!- lucashodge [lucashodge!~lukehodge@ppp118-209-29-24.lns20.mel4.internode.on.net] has parted #leaflet
[08:46:42] -!- lucashodge [lucashodge!~lukehodge@ppp118-209-29-24.lns20.mel4.internode.on.net] has joined #leaflet
[08:48:20] <john__> It has many script files so unable to show you the sample. Let me explain, it has nothing to do with the invalidate size. I already tried that. The map fits into the div using fitBounds()and it uses zoom to fit the map. The issue is with the zoom levels. If a particular zoom will fit the bounds within the div, the map will fit to that zoom and if the zoom level zooms more tan the given bounds its previous zoom level will be used. Ther
[08:48:27] <john__> for my requirement
[08:53:03] <zod> lucashodge: Well i don't think there's a real KML parser available for leaflet
[08:55:00] <lucashodge> zod: what would be the best way to transfer KML data to leaflet or is this only possible through manual work?
[08:58:40] <zod> lucashodge: You could try "togeojson"
[08:59:54] <perl> john__: hm, I have a hard time understanding the issue, but I hope someone else can help you.
[09:00:04] <lucashodge> Thanks zod: will check it out tomorrow and see if it will be a good approach.
[09:02:22] <zod> perl: I don't unterstand it either.
[09:04:36] <john__> Is there any way I can host the code and you can look into the sample
[09:05:55] <perl> john__: jsfiddle or similar is usually good for such things
[09:20:11] -!- stsydow has quit [Remote host closed the connection]
[09:35:42] -!- skorasaurus has quit [Ping timeout: 276 seconds]
[09:36:01] uwe__ is now known as uwe_
[09:40:13] -!- maximilian_h has quit [Ping timeout: 268 seconds]
[09:44:28] -!- lucashodge has quit [Quit: I am away now.]
[09:52:21] Jymmmm is now known as Jymmm
[10:01:46] -!- stsydow [stsydow!~stsydow@wlan-141-23-82-70.tubit.tu-berlin.de] has joined #leaflet
[10:09:31] -!- automata has quit [Ping timeout: 264 seconds]
[10:14:27] -!- automata_ has quit [Ping timeout: 256 seconds]
[10:14:34] jthornton_ is now known as jthornton
[10:19:39] -!- automata__ has quit [Read error: Connection reset by peer]
[10:42:50] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[10:42:55] -!- skunkworks has quit [Remote host closed the connection]
[10:48:32] -!- Thetawaves_ has quit [Quit: This computer has gone to sleep]
[11:04:19] -!- mhaberler has quit [Ping timeout: 256 seconds]
[11:05:06] -!- mackerski_ [mackerski_!~dermot@193.120.146.234] has joined #leaflet
[11:05:56] -!- mackerski has quit [Ping timeout: 268 seconds]
[11:05:56] mackerski_ is now known as mackerski
[11:08:07] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[11:26:38] -!- vladimirek has quit [Ping timeout: 264 seconds]
[11:47:55] -!- skorasaurus [skorasaurus!~will@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[11:53:38] -!- chillly [chillly!~chris@adsl-178-78-91-198.karoo.kcom.com] has joined #leaflet
[12:01:05] -!- maximilian_h has quit [Quit: Leaving.]
[12:06:12] -!- maximilian_h has quit [Client Quit]
[12:07:42] -!- dway has quit [Ping timeout: 264 seconds]
[12:08:34] -!- Jim[work] has quit [Read error: Connection reset by peer]
[12:10:01] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[12:13:34] -!- skorasaurus has quit [Quit: Elvis has left the building.]
[12:13:43] -!- stsydow has quit [Quit: Leaving]
[12:15:17] -!- Jim[work] [Jim[work]!~romhacker@89.237.49.94] has joined #leaflet
[12:17:49] -!- vladimirek has quit [Read error: Connection reset by peer]
[12:20:26] -!- Valen has quit [Quit: Leaving.]
[12:28:30] -!- dway_ [dway_!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[12:28:45] -!- dway has quit [Ping timeout: 256 seconds]
[12:28:45] dway_ is now known as dway
[12:32:38] -!- MattyMatt has quit [Ping timeout: 240 seconds]
[12:36:53] -!- eric_unterhause1 has quit [Ping timeout: 248 seconds]
[12:40:29] -!- jthornton has quit [Read error: Connection reset by peer]
[12:40:30] -!- JT-Shop-2 has quit [Read error: Connection reset by peer]
[12:43:30] -!- vladimirek has quit [Read error: Connection reset by peer]
[12:43:59] -!- john__ has quit [Quit: Page closed]
[12:47:19] -!- stsydow [stsydow!~stsydow@dslb-178-008-098-013.pools.arcor-ip.net] has joined #leaflet
[12:47:28] -!- dway_ [dway_!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[12:48:06] -!- dway has quit [Ping timeout: 276 seconds]
[12:48:06] dway_ is now known as dway
[13:09:10] -!- vladimirek has quit [Read error: Connection reset by peer]
[13:13:27] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@37-46-176-106.customers.ownit.se] has joined #leaflet
[13:32:50] -!- jerryitt [jerryitt!~jerryitt@149.5.35.31] has joined #leaflet
[13:33:48] -!- Logi_ [Logi_!logir@89-160-134-172.du.xdsl.is] has joined #leaflet
[13:33:58] -!- Logi has quit [Read error: Connection reset by peer]
[13:34:45] -!- vladimirek has quit [Read error: Connection reset by peer]
[13:37:55] -!- skunkworks has quit [Ping timeout: 267 seconds]
[14:00:17] -!- vladimirek has quit [Read error: Connection reset by peer]
[14:05:25] -!- jasen_ has quit [Quit: Page closed]
[14:12:59] -!- stsydow has quit [Remote host closed the connection]
[14:13:06] -!- mk0 has quit [Quit: Leaving]
[14:24:48] -!- Brandonian [Brandonian!~bmorrison@50-203-43-130-static.hfc.comcastbusiness.net] has joined #leaflet
[14:25:56] -!- vladimirek has quit [Read error: Connection reset by peer]
[14:51:36] -!- vladimirek has quit [Read error: Connection reset by peer]
[15:17:08] -!- vladimirek has quit [Read error: Connection reset by peer]
[15:26:30] -!- jerryitt has quit [Read error: Connection reset by peer]
[15:42:55] -!- vladimirek has quit [Read error: Connection reset by peer]
[15:43:00] -!- thomaslindstr_m has quit [Remote host closed the connection]
[15:47:34] -!- DJ9DJ has quit [Quit: brb]
[15:50:06] -!- Nick001 has quit [Ping timeout: 276 seconds]
[16:07:39] -!- automata__ has quit [Ping timeout: 276 seconds]
[16:08:42] -!- vladimirek has quit [Read error: Connection reset by peer]
[16:18:31] -!- asheppard has quit [Quit: Ex-Chat]
[16:26:11] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@c80-216-4-133.bredband.comhem.se] has joined #leaflet
[16:31:55] -!- mackerski has quit [Read error: Operation timed out]
[16:34:06] -!- vladimirek has quit [Read error: Connection reset by peer]
[16:34:41] -!- jfire [jfire!~Adium@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[16:41:25] -!- asheppard [asheppard!~sheppard@75-146-187-1-Minnesota.hfc.comcastbusiness.net] has joined #leaflet
[16:53:23] _BJFreeman is now known as BJfreeman
[16:56:54] -!- dway has quit [Ping timeout: 264 seconds]
[16:59:49] -!- vladimirek has quit [Read error: Connection reset by peer]
[17:02:50] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[17:13:06] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[17:14:43] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[17:18:02] -!- erictheise [erictheise!~mataro@50-193-8-121-static.hfc.comcastbusiness.net] has joined #leaflet
[17:22:31] -!- gimps_ has quit [Ping timeout: 245 seconds]
[17:23:41] -!- mhaberler has quit [Quit: mhaberler]
[17:23:57] -!- cpresser has quit [Quit: Lost terminal]
[17:25:31] -!- vladimirek has quit [Read error: Connection reset by peer]
[17:26:39] -!- BJfreeman has quit [Read error: Connection reset by peer]
[17:29:54] -!- syyl_ws has quit [Remote host closed the connection]
[17:29:57] -!- vladimirek has quit [Remote host closed the connection]
[17:30:19] -!- automata has quit [Ping timeout: 244 seconds]
[17:31:27] -!- automata_ has quit [Client Quit]
[17:31:32] -!- cpresser has quit [Quit: Lost terminal]
[17:52:05] -!- zzolo has quit [Quit: zzolo]
[18:04:49] -!- skunkworks_ has quit [Ping timeout: 240 seconds]
[18:04:49] -!- aep has quit [Ping timeout: 240 seconds]
[18:04:49] -!- cevad has quit [Ping timeout: 240 seconds]
[18:04:50] -!- Chemeleon has quit [Ping timeout: 240 seconds]
[18:07:56] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[18:08:14] krusty_ar_ is now known as krusty_ar
[18:21:02] -!- SpeicusX has quit [Ping timeout: 240 seconds]
[18:43:04] -!- zzolo [zzolo!~zzolo@64.122.82.106] has joined #leaflet
[18:50:07] -!- ler_hydra has quit [Remote host closed the connection]
[18:58:34] -!- IwfY [IwfY!~IwfY@p5DC30F33.dip0.t-ipconnect.de] has joined #leaflet
[18:59:02] -!- zero_ has quit [Client Quit]
[19:01:35] -!- sumpfralle1 has quit [Quit: Leaving.]
[19:03:28] -!- sumpfralle has quit [Ping timeout: 264 seconds]
[19:19:14] -!- stsydow [stsydow!~stsydow@dslb-178-008-098-013.pools.arcor-ip.net] has joined #leaflet
[19:20:15] -!- AR_ has quit [Ping timeout: 260 seconds]
[19:24:47] -!- Simooon has quit [Quit: Leaving]
[19:26:05] -!- jerryitt [jerryitt!~jerryitt@core-bgp-rt1.kerrybroadband.net] has joined #leaflet
[19:28:18] -!- sumpfralle2 has quit [Ping timeout: 264 seconds]
[19:38:01] aep_ is now known as aep
[19:40:59] -!- IwfY has quit [Quit: Leaving]
[19:59:22] -!- flippyhead [flippyhead!~peterbrow@c-66-235-0-81.sea.wa.customer.broadstripe.net] has joined #leaflet
[20:00:33] -!- skunkworks__ has quit [Quit: Leaving]
[20:02:54] -!- flippyhead [flippyhead!~peterbrow@c-66-235-0-81.sea.wa.customer.broadstripe.net] has parted #leaflet
[20:03:09] -!- flippyhead [flippyhead!~peterbrow@c-66-235-0-81.sea.wa.customer.broadstripe.net] has joined #leaflet
[20:06:45] <flippyhead> I'm mapping flat images with a boundary. Some images bounce around constantly. Anyone know why?
[20:11:54] -!- DJ9DJ has quit [Disconnected by services]
[20:11:57] _DJ9DJ is now known as DJ9DJ
[20:12:16] -!- jfire has quit [Quit: Leaving.]
[20:12:28] DJ9DJ is now known as Guest57110
[20:12:46] Guest57110 is now known as DJ9DJ_
[20:12:53] -!- DJ9DJ_ has quit [Changing host]
[20:13:27] tom_o_t-afk is now known as tom_o_t
[20:20:12] -!- jfire [jfire!~Adium@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[20:20:36] <flippyhead> actually looks like others have a similar problem:
[20:20:37] <flippyhead> https://groups.google.com/forum/#!searchin/leaflet-js/bounds/leaflet-js/8y9afFuhx5g/5RIxMbo1DRsJ
[20:21:04] <flippyhead> the map bounces between the boundaries rapidly, zooming doesn't help
[20:21:16] <flippyhead> any ideas?
[20:50:32] -!- sumpfralle has quit [Ping timeout: 268 seconds]
[20:56:52] -!- jerryitt has quit [Quit: Leaving.]
[20:57:35] -!- FinboySlick has quit [Quit: Leaving.]
[21:04:19] -!- tjtr33 has quit [Ping timeout: 260 seconds]
[21:12:06] -!- odogono has quit [Quit: odogono]
[21:17:24] -!- dosas has quit [Quit: Leaving]
[21:19:04] -!- DJ9DJ_ has quit [Quit: bye]
[21:30:46] -!- chillly has quit [Quit: Leaving]
[21:47:36] -!- jerryitt [jerryitt!~jerryitt@149.5.35.31] has joined #leaflet
[21:50:21] -!- stsydow has quit [Quit: Leaving]
[22:01:40] -!- Tom_itx has quit [Ping timeout: 245 seconds]
[22:02:37] -!- PetefromTn has quit [Remote host closed the connection]
[22:06:08] -!- zzolo has quit [Quit: zzolo]
[22:13:19] -!- flippyhead has quit [Quit: flippyhead]
[22:28:09] toudi_ is now known as micges
[22:46:29] -!- gpowers has quit [Read error: Connection reset by peer]
[22:48:20] -!- rob_h has quit [Ping timeout: 245 seconds]
[22:49:47] -!- micges has quit [Quit: Wychodzi]
[22:55:06] -!- andypugh has quit [Quit: andypugh]
[23:12:08] -!- _ink has quit [Read error: Operation timed out]
[23:18:46] -!- lucashodge [lucashodge!~lukehodge@ppp118-209-29-24.lns20.mel4.internode.on.net] has joined #leaflet
[23:23:20] -!- Nick001-Shop has quit [Ping timeout: 245 seconds]
[23:27:35] -!- nspielbe has quit [Quit: Page closed]
[23:32:51] toudi_ is now known as micges
[23:51:34] -!- jasen_ has quit [Quit: Page closed]
[23:51:51] -!- thomaslindstr_m has quit [Remote host closed the connection]
[23:52:26] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@c80-216-4-133.bredband.comhem.se] has joined #leaflet
[23:54:51] -!- flippyhead [flippyhead!~peterbrow@c-66-235-0-81.sea.wa.customer.broadstripe.net] has joined #leaflet
[23:55:41] -!- free_ [free_!de5ed9d4@gateway/web/freenode/ip.222.94.217.212] has joined #leaflet
[23:56:52] -!- thomaslindstr_m has quit [Ping timeout: 264 seconds]
[23:57:02] -!- free_ [free_!de5ed9d4@gateway/web/freenode/ip.222.94.217.212] has parted #leaflet
[23:58:08] -!- Brandonian has quit [Quit: Brandonian]