#leaflet | Logs for 2014-06-16

Back
[00:01:56] -!- rob_h has quit [Ping timeout: 252 seconds]
[00:03:26] -!- Nick001-shop has quit [Quit: ChatZilla 0.9.90.1 [Firefox 29.0.1/20140506152807]]
[00:26:19] -!- sumpfralle has quit [Ping timeout: 244 seconds]
[00:27:54] -!- skorasaurus [skorasaurus!~skors@cpe-75-187-158-200.neo.res.rr.com] has joined #leaflet
[00:31:28] -!- memleak has quit [Read error: Connection reset by peer]
[00:32:51] -!- skorasaurus has quit [Quit: WeeChat 0.4.3]
[00:40:56] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[00:45:31] -!- gonzo__ has quit [Read error: Connection reset by peer]
[00:50:13] -!- gonzo_ has quit [Read error: Connection reset by peer]
[00:50:37] -!- Tecan has quit [Ping timeout: 245 seconds]
[00:55:55] -!- gonzo__ has quit [Read error: Connection reset by peer]
[00:56:16] -!- gonzo_ has quit [Ping timeout: 264 seconds]
[00:59:39] -!- gonzo__ has quit [Read error: Connection reset by peer]
[01:00:18] -!- syyl_ has quit [Ping timeout: 240 seconds]
[01:01:25] -!- dybskiy has quit [Remote host closed the connection]
[01:01:59] -!- dybskiy [dybskiy!~dybskiy@pool-108-23-95-76.lsanca.fios.verizon.net] has joined #leaflet
[01:05:20] -!- george2 [george2!~42@unaffiliated/george2] has joined #leaflet
[01:06:28] -!- dybskiy has quit [Ping timeout: 264 seconds]
[01:28:07] -!- Komzzpa has quit [Ping timeout: 245 seconds]
[01:34:22] -!- amiri [amiri!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[01:37:40] -!- amiri_ has quit [Ping timeout: 264 seconds]
[02:27:41] -!- Lathe_newbie has quit [Ping timeout: 252 seconds]
[02:34:48] -!- karavanjo_ has quit [Ping timeout: 255 seconds]
[03:11:31] amnesic is now known as amnesic_away
[03:16:01] -!- tjtr33 has quit [Quit: Leaving]
[03:22:04] -!- ries has quit [Ping timeout: 264 seconds]
[03:22:05] ries_nicked is now known as ries
[03:25:48] -!- PetefromTn_ has quit [Quit: For Sale: Intergalactic Proton Powered Electrical Tentacled Advertising Droids]
[03:34:51] -!- gonzo___ has quit [Read error: Connection reset by peer]
[03:36:11] -!- jleh has quit [Ping timeout: 276 seconds]
[03:37:07] -!- jleh [jleh!juusoleh@melkinpaasi.cs.helsinki.fi] has joined #leaflet
[03:44:13] -!- justi181 [justi181!~smuxi@ool-182e2304.dyn.optonline.net] has joined #leaflet
[03:45:19] -!- gonzo__ has quit [Read error: Connection reset by peer]
[03:48:03] -!- gonzo_ has quit [Read error: Connection reset by peer]
[03:49:56] <justi181> hi all! I've got an issue with Leaflet marker events - basically marker events are not returning a latlng property. I've coded up a quick jsbin. Can anyone take a look?
[03:50:03] <justi181> it's http://jsbin.com/botuje/1/edit?js,console,output
[03:50:57] <justi181> in essence, my problem is:
[03:51:09] <justi181> marker.on('drag', function(event) { console.log(event.latlng); }); returns undefined - but this property should exist as per the leaflet API docs
[03:54:35] -!- justi181 has quit [Remote host closed the connection]
[03:55:59] -!- justi848 [justi848!~smuxi@ool-182e2304.dyn.optonline.net] has joined #leaflet
[03:59:13] -!- justi848 has quit [Remote host closed the connection]
[04:02:17] -!- laprice has quit [Ping timeout: 245 seconds]
[04:03:18] -!- laprice [laprice!~larry@li374-234.members.linode.com] has joined #leaflet
[04:08:50] -!- FinboySlick has quit [Quit: Leaving.]
[04:14:57] -!- gonzo_ has quit [Read error: Connection reset by peer]
[04:28:33] -!- uw has quit [Ping timeout: 240 seconds]
[04:31:33] -!- gonzo_ has quit [Ping timeout: 240 seconds]
[04:36:03] -!- dybskiy [dybskiy!~dybskiy@static-173-51-36-91.lsanca.fios.verizon.net] has joined #leaflet
[04:39:36] -!- dybskiy_ [dybskiy_!~dybskiy@static-173-51-36-91.lsanca.fios.verizon.net] has joined #leaflet
[04:40:31] -!- dybskiy has quit [Ping timeout: 244 seconds]
[04:47:17] -!- calvinx [calvinx!~calvinx@124.66.158.206] has joined #leaflet
[04:47:57] <calvinx> is there any reason why leaflet prevents console.log from working inside map events?
[04:49:40] -!- FreezingCold has quit [Ping timeout: 264 seconds]
[04:58:19] -!- ries has quit [Quit: ries]
[04:59:01] -!- dybskiy_ has quit [Remote host closed the connection]
[04:59:36] -!- dybskiy [dybskiy!~dybskiy@static-173-51-36-91.lsanca.fios.verizon.net] has joined #leaflet
[05:01:22] -!- dybskiy_ [dybskiy_!~dybskiy@static-173-51-36-91.lsanca.fios.verizon.net] has joined #leaflet
[05:01:33] -!- Fox_Muldr has quit [Ping timeout: 240 seconds]
[05:04:04] -!- dybskiy has quit [Ping timeout: 264 seconds]
[05:09:11] -!- dybskiy_ has quit [Remote host closed the connection]
[05:09:55] -!- dybskiy [dybskiy!~dybskiy@static-173-51-36-91.lsanca.fios.verizon.net] has joined #leaflet
[05:13:04] -!- fenugrec has quit [Ping timeout: 244 seconds]
[05:14:03] -!- dybskiy has quit [Ping timeout: 240 seconds]
[05:18:14] -!- dybskiy [dybskiy!~dybskiy@static-173-51-36-91.lsanca.fios.verizon.net] has joined #leaflet
[05:29:59] -!- dybskiy has quit [Remote host closed the connection]
[05:30:34] -!- dybskiy [dybskiy!~dybskiy@static-173-51-36-91.lsanca.fios.verizon.net] has joined #leaflet
[05:34:47] -!- dybskiy has quit [Ping timeout: 245 seconds]
[05:42:02] -!- Komzzpa [Komzzpa!~kom@mm-71-245-57-86.leased.line.mgts.by] has joined #leaflet
[05:44:15] -!- tjtr33 has quit [Quit: Leaving]
[05:55:27] -!- almccon has quit [Read error: Connection reset by peer]
[05:55:55] -!- almccon [almccon!~textual@h-67-102-227-186.snfc.ca.megapath.net] has joined #leaflet
[06:01:40] <liedman> calvinx: I'm pretty certain leaflet does nothing to prevent that
[06:03:16] -!- almccon has quit [Read error: Connection reset by peer]
[06:03:44] -!- almccon [almccon!~textual@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[06:06:36] -!- dybskiy [dybskiy!~dybskiy@static-173-51-36-91.lsanca.fios.verizon.net] has joined #leaflet
[06:07:48] -!- gonzo__ has quit [Ping timeout: 240 seconds]
[06:10:56] -!- dybskiy has quit [Ping timeout: 244 seconds]
[06:15:56] -!- calvinx has quit [Ping timeout: 252 seconds]
[06:16:53] -!- gonzo_ has quit [Read error: Connection reset by peer]
[06:18:13] -!- calvinx [calvinx!~calvinx@124.66.158.206] has joined #leaflet
[06:19:02] -!- Einar1 has quit [Quit: Leaving.]
[06:29:28] -!- glontu [glontu!~liviu@liviu.infp.ro] has joined #leaflet
[06:29:33] <glontu> hi
[06:29:47] <glontu> is it possible to make a leaflet map without using any tiles ?
[06:35:07] <liedman> glontu: yeah, you can use only vector if you like
[06:39:30] <glontu> or use a geojson layer as base layer ?
[06:39:35] -!- GJdan has quit [Quit: WeeChat 1.0-dev]
[06:39:36] -!- calvinx_ [calvinx_!~calvinx@124.66.158.206] has joined #leaflet
[06:39:36] -!- calvinx has quit [Ping timeout: 240 seconds]
[06:39:36] calvinx_ is now known as calvinx
[06:39:37] <glontu> liedman, can you point me to an example ? i tried doing something with a geojson layer but it has problems rendering
[06:39:55] <glontu> it leaves traces when i drag the layer and i can see the square containing my map when i try to pan around
[06:40:10] <glontu> how should a properly build such a map ?
[06:42:56] -!- quiqua [quiqua!~quiqua@port-212-202-227-184.static.qsc.de] has joined #leaflet
[06:43:07] -!- karavanjo [karavanjo!~kvirc@leased-line-brest-91-149-154-34.brest.telecom.by] has joined #leaflet
[06:43:16] <liedman> glontu: I don't have an online example, but I worked with a map like that last week (closed source, unfortunately)
[06:43:44] <glontu> liedman, so how do you tell it to not need a tile layer ?
[06:44:07] <glontu> or just use a geojson as baselayer and white background
[06:44:21] <glontu> with a red fill for example
[06:45:09] <calvinx> Is there a simple example that shows me how I can specify the right projection (EPSG 4326 for my case) for a layer and markers on that layer so that the geojson derived from the markers contain projection attributes?
[06:45:11] <glontu> all examples i can find have some tiles on them
[06:46:35] <calvinx> basically, I want my marklers to contain a “crs” attribute (e.g. "urn:ogc:def:crs:OGC:1.3:CRS84”)
[06:46:42] <calvinx> *markers
[06:48:22] <liedman> glontu: http://jsfiddle.net/AQpK5/
[06:49:07] <glontu> thanks a lot liedman
[06:52:08] <liedman> calvinx: do you mean you have geojson like that and want to show it in leaflet?
[06:53:02] <calvinx> I have markers on a Layer and when I convert it to geojson with “toGeoJSON()”, it does not contain a crs attribute
[06:53:21] <calvinx> I think this solves my question though - http://gis.stackexchange.com/questions/80785/hot-could-i-generate-a-crs-field-inside-the-geojson-object-created-by-leaflet-la
[06:53:24] <calvinx> trying it out at the moment.
[06:54:52] <liedman> yeah, but as the answer says: the default crs for geojson is wgs84/epsg:4326, which is also what leaflet outputs
[06:56:52] <calvinx> that conflicts with my backend when I attempt to save it
[06:57:30] <calvinx> I get an error that says that my SRID (0) do not match my column SRID 4326
[06:57:34] <calvinx> Like this - http://stackoverflow.com/questions/24034007/correct-json-format-to-save-into-geoalchemy2-geometry-field
[06:58:16] <liedman> calvinx: yeah, just add it in that case
[06:58:40] <liedman> calvinx: but I'm pretty sure your backend is in violation of the geojson spec: http://geojson.org/geojson-spec.html#coordinate-reference-system-objects
[06:58:47] <liedman> "The default CRS is a geographic coordinate reference system, using the WGS84 datum, and with longitude and latitude units of decimal degrees."
[06:58:56] <liedman> which pretty much means epsg:4326
[07:00:57] <calvinx> my postgresql/postgis database is enforcing 4326
[07:01:18] <calvinx> but for some reason, when it receives the geojson from javascript frontend, my python logic does not convert it correctly to 4326
[07:01:25] <calvinx> which is why it breaks with this error.
[07:02:06] -!- Komzzpa has quit [Ping timeout: 255 seconds]
[07:07:29] <liedman> calvinx: is it your python code that parses the geojson?
[07:13:31] <calvinx> yes. it’s a mistake that I have to fix at python code level.
[07:13:32] <calvinx> found it.
[07:13:44] <calvinx> self.data = from_shape(asShape(geo_ob.geometry), srid=4326)
[07:13:53] <calvinx> have to explicitly specify srid=4326
[07:14:10] <calvinx> because when the geojson comes in, it has no crs
[07:14:20] <liedman> sounds like a better solution!
[07:14:23] -!- almccon has quit [Read error: Connection reset by peer]
[07:14:42] <calvinx> and so if I dont specify the srid in python code that parses the geojson, my database complains.
[07:14:48] <calvinx> yea. thanks liedman.
[07:14:52] -!- almccon [almccon!~textual@h-67-102-227-186.snfc.ca.megapath.net] has joined #leaflet
[07:14:53] <liedman> no problem
[07:15:48] -!- syyl_ has quit [Ping timeout: 240 seconds]
[07:16:00] -!- mle [mle!~mle@mir31-1-82-224-13-158.fbx.proxad.net] has joined #leaflet
[07:16:57] -!- mle has quit [Read error: Connection reset by peer]
[07:17:26] -!- almccon has quit [Read error: Connection reset by peer]
[07:17:58] -!- almccon [almccon!~textual@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[07:28:39] -!- The_Ball has quit [Ping timeout: 255 seconds]
[07:33:08] -!- mle [mle!~mle@mir31-1-82-224-13-158.fbx.proxad.net] has joined #leaflet
[07:34:03] -!- micges-dev has quit [Ping timeout: 255 seconds]
[07:34:03] -!- micges1 has quit [Ping timeout: 272 seconds]
[07:38:06] -!- balestrino has quit [Ping timeout: 255 seconds]
[07:46:58] Cylly is now known as Loetmichel
[07:52:38] -!- toner has quit [Remote host closed the connection]
[07:54:00] -!- tjtr33 has quit [Quit: Leaving]
[07:57:27] -!- karavanjo has quit [Ping timeout: 255 seconds]
[07:59:22] -!- karavanjo [karavanjo!~kvirc@leased-line-brest-91-149-154-34.brest.telecom.by] has joined #leaflet
[08:01:30] -!- micges-dev1 has quit [Ping timeout: 255 seconds]
[08:01:32] -!- reksio666 has quit [Ping timeout: 252 seconds]
[08:01:51] -!- larryone [larryone!~larryone@178.167.254.138.threembb.ie] has joined #leaflet
[08:04:22] -!- Lathe_newbie has quit [Ping timeout: 245 seconds]
[08:15:17] <glontu> can someone help me figure out why the ugly artefacts appear: http://liviu.infp.ro/rtm/index5.html
[08:15:29] <glontu> when you drag the map around you get the ugly gray areas
[08:18:12] <glontu> it only seems to occur when i start draging around while part of my geojson is outside the map area
[08:20:18] -!- larryone has quit [Quit: This computer has gone to sleep]
[08:28:49] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[08:29:11] -!- b_b has quit [Changing host]
[08:29:11] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[08:34:05] <liedman> glontu: no artifacts here... what browser are you running?
[08:36:16] <glontu> liedman, i am on linux/chrome. i think it was due to the fact that the leaflet container had a different background color ( css ) from the svg layer
[08:36:22] <glontu> now it's ok for me too
[08:38:36] -!- larryone [larryone!~larryone@185.32.152.150] has joined #leaflet
[08:44:48] <liedman> glontu: ok, nice
[08:51:50] -!- karavanjo_ [karavanjo_!~kvirc@leased-line-brest-91-149-154-34.brest.telecom.by] has joined #leaflet
[08:55:03] -!- karavanjo has quit [Ping timeout: 255 seconds]
[08:57:33] -!- Tugge_ has quit [Ping timeout: 252 seconds]
[08:58:38] -!- larryone has quit [Quit: Leaving]
[08:58:56] -!- larryone [larryone!~larryone@185.32.152.150] has joined #leaflet
[09:00:14] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@ti0043a400-2479.bb.online.no] has joined #leaflet
[09:25:29] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[09:34:33] -!- _balestrino has quit [Ping timeout: 240 seconds]
[09:54:34] -!- calvinx has quit [Quit: calvinx]
[10:24:28] -!- Lathe_newbie has quit [Ping timeout: 264 seconds]
[10:25:25] amnesic_away is now known as amnesic
[10:29:06] -!- skunkworks_ has quit [Ping timeout: 255 seconds]
[10:42:07] -!- Valen has quit [Quit: Leaving.]
[10:44:22] -!- uwe_mobile has quit [Ping timeout: 245 seconds]
[10:56:02] -!- Lathe_newbie| has quit [Ping timeout: 245 seconds]
[11:22:29] -!- balestrino has quit [Ping timeout: 244 seconds]
[11:34:18] amnesic is now known as amnesic_away
[11:34:40] -!- balestrino has quit [Ping timeout: 264 seconds]
[11:37:28] -!- jleh has quit [Ping timeout: 244 seconds]
[11:39:06] -!- jleh [jleh!juusoleh@melkinpaasi.cs.helsinki.fi] has joined #leaflet
[11:39:32] -!- _balestrino has quit [Ping timeout: 244 seconds]
[11:46:03] -!- Simooon has quit [Ping timeout: 240 seconds]
[11:50:01] -!- calvinmetcalf [calvinmetcalf!uid25915@gateway/web/irccloud.com/x-gblueiniqosogcri] has joined #leaflet
[11:53:03] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[11:59:45] -!- karavanjo_ has quit [Remote host closed the connection]
[12:10:15] <glontu> is there a way to draw the latitude and longitude lines at fixed intervals ?
[12:10:39] <b_b> you mean graticules ?
[12:10:52] <b_b> https://github.com/turban/Leaflet.Graticule
[12:19:05] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[12:19:25] -!- jerryitt [jerryitt!uid17132@gateway/web/irccloud.com/x-xoiyfcnztemwqkzp] has joined #leaflet
[12:19:56] <glontu> thanks b_b . i think that's it
[12:20:57] <b_b> u're welcome
[12:20:59] -!- jduhls_ [jduhls_!~jduhls@67.58.77.166] has joined #leaflet
[12:21:02] <b_b> see u ++
[12:21:05] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[12:56:20] -!- mle has quit [Ping timeout: 252 seconds]
[13:00:11] -!- balestrino has quit [Ping timeout: 252 seconds]
[13:27:11] -!- mle [mle!~mle@80.10.161.163] has joined #leaflet
[13:28:31] -!- ries has quit [Read error: Connection reset by peer]
[13:52:50] -!- mle has quit [Ping timeout: 244 seconds]
[13:57:54] -!- ravenlock has quit [Ping timeout: 255 seconds]
[14:04:21] -!- jduhls_ has quit [Remote host closed the connection]
[14:04:23] -!- thomaslindstr_m has quit [Remote host closed the connection]
[14:05:39] -!- mle [mle!~mle@80.10.159.116] has joined #leaflet
[14:09:13] -!- jduhls [jduhls!~jduhls@97.67.186.90] has joined #leaflet
[14:19:56] -!- mle_ [mle_!~mle@80.12.100.208] has joined #leaflet
[14:21:27] -!- quiqua has quit [Quit: quiqua]
[14:23:16] -!- mle has quit [Ping timeout: 264 seconds]
[14:25:12] -!- skorasaurus [skorasaurus!~skors@192.171.20.163] has joined #leaflet
[14:31:21] -!- Einar1 has quit [Client Quit]
[14:33:41] -!- mozmck has quit [Read error: Connection reset by peer]
[14:42:28] -!- i_tarzan has quit [Ping timeout: 264 seconds]
[14:45:49] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[14:46:14] -!- b_b has quit [Changing host]
[14:46:14] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[14:51:23] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[14:52:48] -!- mle_ has quit [Ping timeout: 255 seconds]
[14:59:20] -!- mapitpk [mapitpk!~chatzilla@146.129.24.2] has joined #leaflet
[14:59:32] -!- syyl_ has quit [Ping timeout: 252 seconds]
[15:00:28] -!- kwallace has quit [Ping timeout: 264 seconds]
[15:05:17] -!- mle_ [mle_!~mle@80.10.159.104] has joined #leaflet
[15:08:50] -!- Simooon has quit [Quit: Leaving]
[15:14:39] -!- aniM [aniM!~aniM@66.42.154.254] has joined #leaflet
[15:21:17] -!- Connor has quit [Ping timeout: 264 seconds]
[15:22:04] -!- ries has quit [Ping timeout: 264 seconds]
[15:23:16] -!- mle_ has quit [Ping timeout: 264 seconds]
[15:24:40] -!- mle_ [mle_!~mle@80.12.59.5] has joined #leaflet
[15:29:22] -!- karlwettin [karlwettin!~kalle@87.237.210.4] has joined #leaflet
[15:29:26] <karlwettin> Hi all
[15:29:38] <karlwettin> Is it possible to cache icons client side?
[15:30:22] <karlwettin> leaflet seems to go download the image every time i use my instance of L.Icon, even if it has been used before
[15:30:38] <karlwettin> alternatively, is it possible to render the icon client side?
[15:31:19] <karlwettin> my marker is a rather simple box that i render serverside using java.
[15:31:39] <karlwettin> http://hydda.se/map/markers/advertisement?fillColor=ffb833&text=2
[15:32:40] <karlwettin> my problem with that is that browsers tend to download some 6 at the time. adding server latency i get about 1 extra second to render my map marker
[15:33:22] <karlwettin> and i have a couple of hundred markers from time to time.
[15:33:40] <karlwettin> and i run the server on a laggy adsl
[15:35:39] <b_b> see only one req when using default marker form my side
[15:35:45] -!- grummund_ has quit [Ping timeout: 252 seconds]
[15:35:59] <b_b> maybe you can do that :
[15:36:10] <b_b> use a divicon and style it in your css
[15:39:16] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@ti0043a400-1227.bb.online.no] has joined #leaflet
[15:39:48] <karlwettin> b_b: would you mind taking a look at my implementation and tell me if i'm doing something blatently wrong? and perhaps see if you only get a single request per unqiue L.Icon? http://hydda.se/
[15:40:04] <karlwettin> you'll need to zoom in quite a bit in order for markers to show up
[15:40:17] -!- thomaslindstr_m has quit [Client Quit]
[15:40:17] -!- gonzo__ has quit [Read error: Connection reset by peer]
[15:41:16] <karlwettin> i'll explore divicon though
[15:45:31] -!- amiri_ [amiri_!~amiri@cpe-76-95-109-253.socal.res.rr.com] has joined #leaflet
[15:46:14] <b_b> ok
[15:48:34] -!- amiri has quit [Ping timeout: 244 seconds]
[15:48:57] <b_b> doesn't seem to make two requests for the same icon
[15:50:50] <b_b> ha maybe it does ^^
[15:52:22] <b_b> your server doesn't send cache header
[15:52:31] <b_b> maybe that's your pb
[15:52:49] -!- mle_ has quit [Ping timeout: 240 seconds]
[15:54:43] <b_b> wow this osm tiles are sweet
[15:54:51] micges1 is now known as micges
[15:54:53] <b_b> remind me a lot the ones from mapbox
[15:55:28] <b_b> are they usable for anyone ? is there world cover ?
[15:56:37] <b_b> have you seen that ybon ? ;)
[15:56:42] <b_b> (and hello too)
[15:59:59] <karlwettin> it's my style, it's on github. we run it as the default layer on openstreetmap.se (sweden)
[16:00:12] <b_b> ha great karlwettin
[16:00:18] <karlwettin> based on osmbright
[16:00:27] <b_b> do you think i could add it to leaflet-providers plugin ?
[16:00:29] <karlwettin> and then augmented quite a bit
[16:00:31] <karlwettin> usre
[16:00:33] <karlwettin> sure
[16:00:41] <b_b> sweet :)
[16:01:07] * b_b is reading the website with gg translate
[16:01:39] <karlwettin> i'm actually using two layers here, hydda_base and hydda_roads_and_labels rather than default hydda_full
[16:02:05] <karlwettin> in order to place my color clusters (at great zoom level) between base and road and labels
[16:02:10] <ybon> b_b: see what? :)
[16:02:19] <ybon> and hi there :)
[16:02:30] <b_b> that osm .se got a nice style tiles ;)
[16:02:36] <b_b> based on osmbright
[16:02:42] <karlwettin> b_b: what would the cache header that you expect be?
[16:02:55] <ybon> is that only one set of tiles?
[16:03:00] <b_b> something telling to my browser that your markers can be cached
[16:03:12] <karlwettin> not sure how great the styles are outside of sweden,
[16:03:22] <b_b> openstreetmap.se/tjanster
[16:03:29] <karlwettin> they are minutely optimized for our geography
[16:03:36] <karlwettin> such as the archepilago names
[16:04:03] <ybon> karlwettin: is your server worldwide though?
[16:04:06] <karlwettin> http://openstreetmap.se/#18/58.59688/11.21179
[16:04:09] <karlwettin> it sure is
[16:04:11] <b_b> yes it is
[16:04:17] <b_b> a bit slow on fr it seems
[16:04:21] <b_b> but it works
[16:04:24] <b_b> hydda.se/map/index.html?qp&v=1&syd=48.32805919180923&väst=-4.776574373245239&nord=48.3326813112191&öst=-4.765287637710571
[16:04:27] <karlwettin> it never rendered anything in france before : )
[16:04:40] <b_b> hehe
[16:04:41] <karlwettin> sweden is prerendered
[16:04:50] <b_b> now you got west point tiles in cache ;)
[16:04:56] <karlwettin> and parts of our neighbouring countries
[16:05:19] <ybon> karlwettin: do you think it can scale a bit? /me wondering about asking to set it as a style option in http://umap.openstreetmap.fr
[16:05:35] <b_b> :)
[16:05:55] <karlwettin> ybon: sure, it's a nice server with plenty of disk space
[16:05:58] <b_b> karlwettin do you have an account on github ?
[16:06:20] <b_b> so i can ping you in the issue referecing your tiles
[16:06:27] -!- mle_ [mle_!~mle@80.10.161.156] has joined #leaflet
[16:06:49] <ybon> humm, but it's multitiles it seems
[16:06:56] <ybon> so not usable in uMap atm :(
[16:07:21] <b_b> there is a full version i think ybon
[16:07:30] <karlwettin> b_b: thegithub project is <https://github.com/karlwettin/tilemill-style-hydda>, but the account i normally use is <https://github.com/kodapan/>
[16:07:34] <b_b> /hydda/full/{z}/{x}/{y}.png
[16:07:42] <ybon> b_b: oh, where that? :)
[16:07:43] <karlwettin> and there might have been a bit of changes in the style that i did not push in
[16:07:46] <b_b> thx karlwettin
[16:07:49] <ybon> ok thanks :)
[16:07:51] * ybon testing
[16:07:55] <karlwettin> that i manually edited in the mapnik.xml output from carto
[16:08:00] <ybon> karlwettin: do you confirm I can add this as a choice on uMap?
[16:08:10] <karlwettin> ybon: you are welcome to do that
[16:08:23] <ybon> nice and thank you!
[16:08:27] <b_b> here is my account : https://github.com/brunob
[16:08:28] <karlwettin> np
[16:08:31] <b_b> pleased to meet you ^^
[16:08:34] <ybon> karlwettin: which attribution should I use?
[16:08:43] <karlwettin> OpenStreetMap Sweden
[16:08:55] <ybon> great
[16:09:03] -!- syyl_ws has quit [Ping timeout: 240 seconds]
[16:09:09] * ybon happy to have one more style on the uMap toolbox!
[16:10:27] <karlwettin> you'll probably have most success getting i touch with me/us at #osm.se@irc.oftc.net and #osm.se-infra
[16:10:48] <karlwettin> as i'm not the only one running the infrastructure
[16:11:59] <ybon> ok, good to know :)
[16:13:00] <b_b> https://github.com/leaflet-extras/leaflet-providers/issues/96 karlwettin :)
[16:14:56] -!- GJdan [GJdan!~dan@d154-20-234-134.bchsia.telus.net] has joined #leaflet
[16:21:46] -!- mle__ [mle__!~mle@80.12.59.29] has joined #leaflet
[16:23:19] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[16:23:19] -!- mle_ has quit [Ping timeout: 240 seconds]
[16:26:16] -!- mhaberler has quit [Quit: mhaberler]
[16:31:36] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[16:31:59] <karlwettin> regarding the icon caching, would perhaps L.Icon accept a data-URI?
[16:32:02] -!- b_b has quit [Changing host]
[16:32:02] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[16:32:25] <karlwettin> i'll explore that in a couple of hours
[16:35:42] -!- jduhls has quit [Remote host closed the connection]
[16:36:06] -!- mle__ has quit [Ping timeout: 244 seconds]
[16:36:20] -!- larryone has quit [Ping timeout: 252 seconds]
[16:42:04] -!- sudobangbang [sudobangbang!~chatzilla@75-151-97-182-Washington.hfc.comcastbusiness.net] has joined #leaflet
[16:45:13] -!- larryone [larryone!~larryone@95.83.254.111] has joined #leaflet
[16:50:19] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[16:53:16] -!- jduhls [jduhls!~jduhls@97.67.186.90] has joined #leaflet
[16:54:10] -!- tinkerer has quit [Remote host closed the connection]
[16:55:08] -!- Bruce__ has quit [Client Quit]
[16:58:34] -!- gambakufu has quit [Read error: No route to host]
[16:59:17] -!- FinboySlick has quit [Quit: Leaving.]
[17:20:56] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[17:22:36] -!- skorasaurus has quit [Ping timeout: 244 seconds]
[17:27:57] -!- shurshur has quit [Remote host closed the connection]
[17:32:52] -!- balestrino has quit [Ping timeout: 264 seconds]
[17:36:45] -!- H264 has quit [Ping timeout: 252 seconds]
[17:40:49] -!- aniM has quit [Ping timeout: 240 seconds]
[17:45:09] -!- larryone has quit [Ping timeout: 255 seconds]
[17:50:19] -!- terabyte- has quit [Quit: terabyte-]
[18:01:45] -!- skorasaurus [skorasaurus!~skors@192.171.20.163] has joined #leaflet
[18:03:19] -!- WalterN has quit [Ping timeout: 240 seconds]
[18:07:21] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[18:09:11] -!- aniM [aniM!~aniM@66.42.154.254] has joined #leaflet
[18:16:03] <karlwettin> ybon: if you don't mind, could you link the attribution to openstreetmap.se too?
[18:38:32] <calvinmetcalf> b_b karlwettin are there example tiles
[18:38:52] <b_b> sure
[18:38:52] <calvinmetcalf> nm scrolled up a bit
[18:39:11] <b_b> http://c.tile.openstreetmap.se/hydda/full/12/1996/1417.png
[18:39:30] -!- skorasaurus2 [skorasaurus2!~skors@85.sub-70-194-198.myvzw.com] has joined #leaflet
[18:39:33] <b_b> and here : http://openstreetmap.se/#18/55.70568/13.19586
[18:40:30] -!- larryone [larryone!~larryone@89.100.23.131] has joined #leaflet
[18:42:33] -!- skorasaurus has quit [Ping timeout: 240 seconds]
[18:44:31] <karlwettin> also
[18:44:32] <karlwettin> http://c.tile.openstreetmap.se/hydda/full/12/1996/1417.png
[18:44:35] <karlwettin> http://c.tile.openstreetmap.se/hydda/base/12/1996/1417.png
[18:44:39] <karlwettin> http://c.tile.openstreetmap.se/hydda/roads_and_labels/12/1996/1417.png
[18:46:53] <calvinmetcalf> karlwettin: tip for using leaflet hash: if (!location.hash) map.setView(...)
[18:47:05] <calvinmetcalf> that avoids the flash
[18:47:39] <karlwettin> the flash?
[18:50:13] <calvinmetcalf> http://openstreetmap.se/#18/55.70479/13.19404 first loads the original center and then moves to the one in the link
[18:53:21] -!- jduhls has quit [Remote host closed the connection]
[18:54:29] <karlwettin> calvinmetcalf: aha
[18:57:08] -!- jduhls_ [jduhls_!~jduhls@97.67.186.90] has joined #leaflet
[18:57:12] -!- jduhls_ has quit [Remote host closed the connection]
[18:58:09] <calvinmetcalf> karlwettin: how are you hosting the tiles ?
[19:00:26] <b_b> small problem is that, imoo, there are too many labels showns from zoom 5 to 0
[19:00:51] <b_b> ha, and it seems to miss a chinese caracters font too
[19:05:55] <b_b> hey ybon i'm looking at lyrk tiles, are they on open access ?
[19:05:56] -!- skorasaurus2 has quit [Ping timeout: 244 seconds]
[19:06:05] <b_b> or it need a key ?
[19:06:41] -!- jfrmilner has quit [Quit: bye]
[19:07:04] <b_b> looks a bit like openmapsurfer, but diffrent on small zoom level
[19:18:57] -!- Demiurge has quit [Ping timeout: 272 seconds]
[19:19:22] -!- shurshur [shurshur!~chatzilla@broadband-178-140-135-205.nationalcablenetworks.ru] has joined #leaflet
[19:21:16] -!- larryone has quit [Quit: This computer has gone to sleep]
[19:21:40] -!- maZer`- has quit [Remote host closed the connection]
[19:22:32] -!- ve7it has quit [Remote host closed the connection]
[19:24:47] -!- trshfx has quit [Ping timeout: 245 seconds]
[19:26:42] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[19:26:52] -!- kfoltman has quit [Ping timeout: 245 seconds]
[19:26:52] -!- fogl has quit [Ping timeout: 245 seconds]
[19:31:29] <ybon> karlwettin: ok for attribution, I'm doing it right away :)
[19:38:22] <ybon> karlwettin: done!
[19:42:38] -!- Komzzpa [Komzzpa!~kom@93.84.31.252] has joined #leaflet
[19:46:03] -!- i_tarzan has quit [Ping timeout: 240 seconds]
[19:46:13] -!- dybskiy [dybskiy!~dybskiy@198.102.62.247] has joined #leaflet
[19:53:20] -!- skunkworks_ has quit [Ping timeout: 240 seconds]
[19:54:04] -!- skunkworks has quit [Read error: Connection reset by peer]
[20:06:03] -!- tinkerer has quit [Ping timeout: 240 seconds]
[20:14:52] -!- skorasaurus2 [skorasaurus2!~skors@192.171.20.163] has joined #leaflet
[20:18:08] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[20:18:45] -!- larryone [larryone!~larryone@89.100.23.131] has joined #leaflet
[20:21:00] -!- larryone has quit [Client Quit]
[20:26:00] -!- skors [skors!~skors@127.sub-70-194-192.myvzw.com] has joined #leaflet
[20:28:19] -!- syyl_ws has quit [Quit: Verlassend]
[20:29:24] -!- skorasaurus2 has quit [Ping timeout: 255 seconds]
[20:30:47] -!- skorasaurus [skorasaurus!~skors@118.sub-70-194-199.myvzw.com] has joined #leaflet
[20:31:09] -!- skors has quit [Ping timeout: 272 seconds]
[20:32:33] -!- Komzzpa has quit [Ping timeout: 255 seconds]
[20:33:27] -!- skors [skors!~skors@165.sub-70-194-204.myvzw.com] has joined #leaflet
[20:35:33] -!- skorasaurus has quit [Ping timeout: 240 seconds]
[20:51:25] -!- miss0r has quit [Ping timeout: 272 seconds]
[21:01:57] -!- dybskiy has quit [Remote host closed the connection]
[21:04:34] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[21:05:04] -!- rob_h has quit [Read error: Connection reset by peer]
[21:05:51] -!- skors has quit [Ping timeout: 255 seconds]
[21:10:40] -!- mapitpk has quit [Ping timeout: 264 seconds]
[21:11:31] -!- Deejay has quit [Quit: bye]
[21:12:17] -!- tinkerer has quit [Ping timeout: 245 seconds]
[21:16:39] -!- dybskiy [dybskiy!~dybskiy@198.102.62.247] has joined #leaflet
[21:28:33] -!- aniM has quit [Ping timeout: 240 seconds]
[21:29:33] -!- Lathe_newbie has quit [Ping timeout: 240 seconds]
[21:34:20] -!- larryone [larryone!~larryone@176.61.1.155] has joined #leaflet
[21:39:23] -!- Loetmichel has quit [Ping timeout: 252 seconds]
[21:42:08] -!- Komzzpa [Komzzpa!~kom@mm-71-245-57-86.leased.line.mgts.by] has joined #leaflet
[21:43:45] -!- aniM [aniM!~aniM@cpe-71-67-103-164.cinci.res.rr.com] has joined #leaflet
[21:46:49] -!- jduhls [jduhls!~jduhls@75.76.125.132] has joined #leaflet
[21:50:44] -!- patrickarlt has quit [Remote host closed the connection]
[21:51:09] -!- mapitpk [mapitpk!~chatzilla@146.129.24.2] has joined #leaflet
[21:51:18] -!- patrickarlt [patrickarlt!~patrickar@12.180.47.153] has joined #leaflet
[21:51:20] -!- fogl has quit [Ping timeout: 240 seconds]
[21:55:24] -!- patrickarlt has quit [Ping timeout: 244 seconds]
[22:04:58] -!- jduhls has quit [Remote host closed the connection]
[22:05:32] -!- jduhls [jduhls!~jduhls@75.76.125.132] has joined #leaflet
[22:09:22] -!- tinkerer has quit [Quit: Leaving.]
[22:10:11] -!- jduhls has quit [Ping timeout: 252 seconds]
[22:18:26] -!- Komzzpa has quit [Ping timeout: 252 seconds]
[22:19:00] -!- JT-Shop has quit [Quit: Ex-Chat]
[22:19:26] -!- jduhls [jduhls!~jduhls@75.76.125.132] has joined #leaflet
[22:19:33] -!- ler_hydra has quit [Remote host closed the connection]
[22:20:07] -!- jduhls has quit [Client Quit]
[22:21:33] -!- rob_h has quit [Ping timeout: 240 seconds]
[22:25:20] -!- skors [skors!~skors@cpe-75-187-158-200.neo.res.rr.com] has joined #leaflet
[22:28:07] -!- aniM has quit [Remote host closed the connection]
[22:31:22] -!- theorbtwo has quit [Remote host closed the connection]
[22:34:52] -!- patrickarlt [patrickarlt!~patrickar@c-50-139-80-222.hsd1.or.comcast.net] has joined #leaflet
[22:35:34] -!- bertrik has quit [Remote host closed the connection]
[22:36:18] -!- larryone has quit [Quit: This computer has gone to sleep]
[22:37:03] -!- Einar1 has quit [Quit: Leaving.]
[22:41:50] -!- FreezingCold has quit [Ping timeout: 240 seconds]
[22:49:34] -!- mapitpk_ [mapitpk_!~chatzilla@146.129.24.2] has joined #leaflet
[22:49:39] -!- FrankZappa has quit [Ping timeout: 244 seconds]
[22:52:30] -!- mapitpk has quit [Ping timeout: 255 seconds]
[22:54:56] -!- dybskiy has quit [Remote host closed the connection]
[22:55:01] -!- mapitpk [mapitpk!~chatzilla@146.129.24.2] has joined #leaflet
[22:55:32] -!- dybskiy [dybskiy!~dybskiy@198.102.62.247] has joined #leaflet
[22:56:11] -!- mapitpk_ has quit [Ping timeout: 272 seconds]
[22:56:43] -!- mapitpk_ [mapitpk_!~chatzilla@146.129.24.2] has joined #leaflet
[22:56:54] -!- mapitpk_ has quit [Remote host closed the connection]
[22:57:45] -!- dybskiy_ [dybskiy_!~dybskiy@198.102.62.247] has joined #leaflet
[22:59:59] -!- mapitpk has quit [Ping timeout: 272 seconds]
[23:00:09] -!- dybskiy has quit [Ping timeout: 255 seconds]
[23:37:30] -!- AR_ has quit [Ping timeout: 255 seconds]
[23:38:16] -!- syyl_ has quit [Ping timeout: 264 seconds]
[23:49:14] -!- tris has quit [Read error: Connection reset by peer]
[23:55:10] -!- pbryan_ [pbryan_!~pbryan@204.14.239.147] has joined #leaflet
[23:56:07] <pbryan_> What's the best way to plot a line on a map from a given point, in a given compass bearing, for a given length? I assume worst case is I have to calculate the end point myself using some transformation
[23:59:23] amnesic_away is now known as amnesic