#leaflet | Logs for 2013-01-06

Back
[00:03:49] -!- bradsimantel has quit [Quit: bradsimantel]
[00:17:06] -!- logger[mah] has quit [Remote host closed the connection]
[00:21:49] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[00:21:50] -!- yuvipanda_ has quit [Excess Flood]
[00:22:41] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[00:22:58] -!- Alf__ has quit [Ping timeout: 276 seconds]
[00:25:35] -!- sumpfralle has quit [Ping timeout: 272 seconds]
[00:27:06] -!- sumpfralle1 has quit [Ping timeout: 264 seconds]
[00:35:40] -!- hdokes has quit [Read error: No route to host]
[00:43:34] -!- plushy has quit [Quit: Leaving.]
[00:54:14] -!- L33TG33KG34R has quit [Ping timeout: 255 seconds]
[00:57:23] -!- Nick001-Shop has quit [Remote host closed the connection]
[00:58:29] -!- ravenlock has quit [Ping timeout: 248 seconds]
[01:13:55] -!- bedah has quit [Quit: Ex-Chat]
[01:17:18] -!- yuvipanda_ has quit [Quit: yuvipanda_]
[01:41:02] -!- L33TG33KG34R has quit [Ping timeout: 255 seconds]
[01:43:52] -!- hashfail has quit [Remote host closed the connection]
[01:43:55] -!- adb has quit [Ping timeout: 264 seconds]
[01:49:11] -!- sumpfralle2 has quit [Ping timeout: 252 seconds]
[01:50:57] -!- ve7it has quit [Remote host closed the connection]
[01:51:02] -!- sumpfralle has quit [Ping timeout: 255 seconds]
[01:53:36] -!- lwizardl has quit [Quit: Leaving]
[01:55:17] -!- toudi_ has quit [Quit: Leaving]
[02:14:07] -!- rob__H has quit [Ping timeout: 276 seconds]
[02:15:01] -!- Servos4ever has quit [Quit: ChatZilla 0.9.89 [SeaMonkey 2.14.1/20121129191050]]
[02:21:20] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[02:24:51] -!- skunkworks has quit [Ping timeout: 240 seconds]
[02:26:28] -!- firephoto has quit [Quit: ZNC - http://znc.in]
[02:27:37] -!- jpratt3000 has quit [Quit: Leaving]
[02:29:42] firephoto_ is now known as firephoto
[02:40:51] -!- skunkworks has quit [Ping timeout: 240 seconds]
[02:43:37] -!- yuvipanda__ [yuvipanda__!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[02:43:40] -!- yuvipanda_ has quit [Ping timeout: 276 seconds]
[02:51:46] -!- RifRaf has quit [Remote host closed the connection]
[03:09:36] -!- RifRaf has quit [Remote host closed the connection]
[03:17:57] -!- andypugh has quit [Quit: andypugh]
[03:39:19] -!- yuvipanda__ has quit [Quit: yuvipanda__]
[04:11:56] -!- bradsimantel_ [bradsimantel_!~simantel@c-76-115-129-49.hsd1.or.comcast.net] has joined #leaflet
[04:19:33] -!- sumpfralle1 has quit [Ping timeout: 248 seconds]
[04:24:45] -!- gimps has quit [Read error: Connection reset by peer]
[04:24:45] hashfail is now known as gimps
[04:26:27] -!- bradsimantel_ has quit [Quit: bradsimantel_]
[04:35:34] -!- bradsimantel [bradsimantel!~simantel@c-76-115-129-49.hsd1.or.comcast.net] has joined #leaflet
[04:55:36] -!- tetsu has quit [Ping timeout: 276 seconds]
[04:55:54] -!- Alf__ has quit [Ping timeout: 264 seconds]
[04:56:05] -!- Gene45 has quit []
[05:15:18] -!- bradsimantel has quit [Quit: bradsimantel]
[05:31:25] -!- skunkworks2 has quit [Ping timeout: 260 seconds]
[06:30:47] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[06:36:58] -!- capricorn_1 has quit [Quit: Konversation terminated!]
[06:45:33] -!- Gene45 has quit []
[06:51:49] -!- gimps has quit [Read error: Connection reset by peer]
[06:55:14] -!- AR_ has quit [Ping timeout: 255 seconds]
[06:58:46] -!- Nick001 has quit []
[07:05:29] -!- kwallace1 has quit [Ping timeout: 255 seconds]
[07:15:51] -!- mhaberler has quit [Ping timeout: 240 seconds]
[07:29:43] -!- Komzpa has quit [Ping timeout: 245 seconds]
[07:30:25] -!- Komzpa [Komzpa!~komzpa@31.130.201.47] has joined #leaflet
[07:50:30] -!- mrsun has quit [Remote host closed the connection]
[07:59:33] hashfail is now known as gimps
[08:05:36] -!- tjb1 has quit [Quit: tjb1]
[08:15:27] -!- ybon has quit [Ping timeout: 260 seconds]
[08:27:52] -!- Jymmm has quit [Ping timeout: 276 seconds]
[08:27:55] -!- mrsun has quit [Remote host closed the connection]
[08:41:31] -!- odogono [odogono!~mohiam@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[08:55:23] -!- FinboySlick has quit [Quit: Leaving.]
[09:07:38] -!- racycle has quit [Quit: racycle]
[09:31:55] -!- ybon [ybon!~ybon@80.214.5.15] has joined #leaflet
[09:54:57] -!- theos has quit [Ping timeout: 272 seconds]
[10:41:04] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[10:55:28] -!- Keknom has quit [Quit: Leaving.]
[11:44:35] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[11:45:53] -!- maximilian_h has quit [Quit: Leaving.]
[12:25:55] -!- yuvipanda_ has quit [Quit: yuvipanda_]
[13:12:19] -!- halo_cast has quit [Ping timeout: 255 seconds]
[13:22:24] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 17.0.1/20121129170341]]
[13:38:18] -!- sumpfralle has quit [Read error: Operation timed out]
[13:38:47] -!- yuvipanda_ [yuvipanda_!~yuvipanda@mediawiki/Yuvipandan] has joined #leaflet
[13:40:35] -!- sumpfralle1 has quit [Ping timeout: 240 seconds]
[13:52:10] -!- ktchk has quit [Quit: ktchk]
[13:55:33] -!- yuvipanda_ has quit [Quit: yuvipanda_]
[14:26:01] -!- bedah has quit [Ping timeout: 272 seconds]
[14:29:35] -!- holst has quit [Ping timeout: 240 seconds]
[14:30:12] -!- L33TG33KG34R has quit [Ping timeout: 276 seconds]
[14:32:49] -!- Hoppo has quit [Client Quit]
[14:39:35] -!- tayy [tayy!~tayy@cm107.eta146.maxonline.com.sg] has joined #leaflet
[15:42:13] -!- nots has quit [Ping timeout: 264 seconds]
[16:22:23] -!- maximilian_h has quit [Client Quit]
[16:22:55] -!- maximilian_h has quit [Client Quit]
[16:39:23] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[16:55:21] -!- Simooon has quit [Remote host closed the connection]
[17:02:41] <plushy> So I create imagemarker as geojson feature but when I try to get imagemarker.geometry.coordinates the lat and long are reversed
[17:02:42] <plushy> why?
[17:22:43] -!- vladimirek has quit [Ping timeout: 272 seconds]
[17:23:44] -!- toxx has quit [Quit: Reconnecting]
[17:26:23] -!- tayy has quit [Remote host closed the connection]
[17:42:14] <ybon> is the code somewhere accessible?
[17:44:33] -!- erictheise has quit [Read error: Connection reset by peer]
[17:46:28] -!- erictheise [erictheise!~erictheis@75.101.62.3] has joined #leaflet
[17:47:01] -!- erictheise has quit [Client Quit]
[17:54:18] -!- halo_cast has quit [Ping timeout: 276 seconds]
[18:00:36] -!- SWPadnos has quit [Ping timeout: 248 seconds]
[18:00:47] <plushy> ybon: what code?
[18:01:51] <ybon> your code your are refering to
[18:05:33] <plushy> not really, gimme a sec to post the correct snippet
[18:08:41] <plushy> ybon: http://pastie.org/5631838
[18:08:57] -!- hdokes has quit [Ping timeout: 252 seconds]
[18:11:21] <plushy> hmmm...I think I cut too much as this doesn't work at all
[18:11:38] <plushy> but all important parts should be there
[18:12:05] <ybon> let me see
[18:12:28] <ybon> humm, so the problem is that the point is not shown at the right place on the map?
[18:12:55] -!- halo_cast has quit [Ping timeout: 240 seconds]
[18:14:10] <plushy> it's shown in the other place than the map zooms too
[18:15:37] <plushy> hmm
[18:16:03] <plushy> the geojson standard is longlat and leaflet is latlong
[18:16:12] <ybon> yes
[18:16:16] <plushy> does leaflet has function to swap it around?
[18:16:27] <ybon> but while you put lon, lat in your coordinates, it will be ok
[18:16:42] <ybon> what is your longitude, 19.xxx?
[18:17:58] <ybon> you can test it here, btw: http://geojsonlint.com/
[18:18:38] -!- soooga has quit [Quit: Leaving]
[18:18:50] <plushy> that geojson is correct
[18:19:58] <ybon> ah, your are mixing it in hte setview
[18:20:23] <plushy> gaah, I kept thinking I'm referencing to the object but I pull the coordinates from json
[18:21:14] <plushy> either way, any nice way to swap lat and long around?
[18:22:17] -!- L33TG33KG34R has quit [Read error: Connection reset by peer]
[18:29:25] -!- Alf__ has quit [Ping timeout: 265 seconds]
[18:32:48] -!- mikeggg has quit [Ping timeout: 265 seconds]
[18:33:20] <plushy> okay, I did a nasty hack around it
[18:37:26] -!- psha has quit [Read error: Operation timed out]
[18:48:00] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 17.0.1/20121129170341]]
[19:23:21] -!- maximilian_h has quit [Client Quit]
[19:23:55] -!- Holgi has quit [Quit: Bye]
[19:29:06] -!- Servos4ever has quit [Quit: ChatZilla 0.9.89 [SeaMonkey 2.14.1/20121129191050]]
[19:41:55] -!- skunkworks2 has quit [Ping timeout: 265 seconds]
[19:42:50] -!- Gene45 has quit [Ping timeout: 240 seconds]
[19:54:21] -!- awallin has quit [Read error: Operation timed out]
[19:55:31] -!- holst has quit [Quit: Leaving]
[20:08:11] -!- awallin has quit [Remote host closed the connection]
[20:27:06] -!- skunkworks2 has quit [Ping timeout: 264 seconds]
[20:38:20] -!- halo_cast has quit [Ping timeout: 252 seconds]
[20:55:31] -!- DJ9DJ has quit [Quit: bye]
[21:05:58] -!- ve7it has quit [Remote host closed the connection]
[21:11:49] -!- RifRaf has quit []
[21:25:55] -!- phantoxeD has quit [Read error: Connection reset by peer]
[21:31:06] -!- odogono has quit [Quit: odogono]
[21:31:15] -!- Loetmichel has quit [Ping timeout: 240 seconds]
[21:35:09] -!- psha has quit [Quit: Lost terminal]
[21:42:11] -!- ybon1 [ybon1!~ybon@80.214.9.14] has joined #leaflet
[21:45:07] -!- ybon has quit [Ping timeout: 264 seconds]
[21:46:19] ybon1 is now known as ybon
[21:47:38] -!- sumpfralle2 has quit [Ping timeout: 252 seconds]
[22:01:30] -!- tjb1 has quit [Quit: tjb1]
[22:19:30] -!- sumpfralle has quit [Ping timeout: 276 seconds]
[22:27:25] -!- r00t4rd3d has quit [Read error: Connection reset by peer]
[22:30:34] -!- wavesounds [wavesounds!~wavesound@adsl-75-26-21-63.dsl.scrm01.sbcglobal.net] has joined #leaflet
[22:31:45] <wavesounds> Is there already a way center the map on start and end directions so that the zoom level fits the start on one side of the map and the destination on the other side and includes the route so the user doesnt have to zoom in or out?
[22:32:38] <wavesounds> Just found this http://stackoverflow.com/questions/10246157/leaflet-js-fit-geojson-co-ordinates-on-map-view which I think is what im looking for
[22:32:59] <ybon> fitBounds or panInsideBounds should do the job
[22:36:11] -!- syyl has quit [Quit: Leaving]
[22:36:56] -!- mhaberler has quit [Quit: mhaberler]
[22:41:20] -!- halo_cast has quit [Ping timeout: 240 seconds]
[23:00:52] <plushy> how to draw a line from point giving direction and not end point?
[23:01:03] <plushy> is there something in-built to use?
[23:12:16] -!- pjm has quit [Read error: Connection reset by peer]
[23:19:51] -!- asdfasd has quit [Ping timeout: 260 seconds]
[23:35:02] -!- ybon1 [ybon1!~ybon@80.214.1.19] has joined #leaflet
[23:36:21] -!- ybon has quit [Ping timeout: 252 seconds]
[23:39:49] -!- asbjornit has quit [Read error: Operation timed out]
[23:49:13] -!- micges has quit [Quit: Leaving]
[23:49:15] -!- wavesounds has quit [Remote host closed the connection]
[23:55:35] ybon1 is now known as ybon