Back
[00:09:35] -!- sumpfralle1 has quit [Ping timeout: 245 seconds]
[00:31:09] -!- grummund has quit [Read error: Operation timed out]
[00:35:12] -!- sirdancealo2 has quit [Read error: Connection reset by peer]
[00:39:09] -!- grummund has quit [Changing host]
[00:39:29] -!- thomaslindstr_m has quit [Quit: Leaving...]
[00:43:56] -!- The_Ball has quit [Ping timeout: 245 seconds]
[01:04:24] -!- maximilian_h has quit [Quit: Leaving.]
[01:13:20] -!- exco has quit [Remote host closed the connection]
[01:37:14] -!- andypugh has quit [Quit: andypugh]
[01:53:53] -!- geografa has quit [Ping timeout: 272 seconds]
[02:06:45] -!- cwmma [cwmma!~cwmma@c-98-229-58-62.hsd1.ma.comcast.net] has joined #leaflet
[02:22:05] -!- c-bob has quit [Ping timeout: 245 seconds]
[02:37:39] -!- asdfasd has quit [Ping timeout: 246 seconds]
[02:43:46] -!- sudobangbang_ has quit [Ping timeout: 265 seconds]
[02:45:17] -!- sudobangbang_ [sudobangbang_!~chatzilla@75-151-97-182-Washington.hfc.comcastbusiness.net] has joined #leaflet
[03:08:37] -!- Demiurge_ has quit [Ping timeout: 272 seconds]
[03:10:00] -!- cwmma has quit [Quit: cwmma]
[03:12:14] -!- cwmma [cwmma!~cwmma@c-98-229-58-62.hsd1.ma.comcast.net] has joined #leaflet
[03:12:19] -!- cwmma has quit [Client Quit]
[03:27:42] -!- AR_ has quit [Ping timeout: 246 seconds]
[03:34:51] -!- atom1 has quit [Client Quit]
[03:36:08] -!- lyzidiamond has quit [Quit: lyzidiamond]
[03:37:49] -!- paideia has quit [Quit: Leaving]
[03:42:13] -!- archivist_herron has quit [Ping timeout: 246 seconds]
[04:10:17] -!- sudobangbang_ has quit [Ping timeout: 265 seconds]
[04:15:05] -!- loki_ [loki_!4f7a8406@gateway/web/freenode/ip.79.122.132.6] has joined #leaflet
[04:15:30] <loki_> привет
[04:18:03] <loki_> подскажите как можно организовать динамическое обновление маркеров на карте?
[04:21:43] -!- sumpfralle has quit [Quit: Leaving.]
[04:27:50] -!- skorasaurus has quit [Ping timeout: 264 seconds]
[04:29:37] <loki_> hello
[04:30:23] -!- sumpfralle has quit [Read error: Operation timed out]
[04:41:40] -!- ve7it has quit [Remote host closed the connection]
[04:53:56] -!- Nekosan has quit [Ping timeout: 245 seconds]
[05:04:14] -!- Tecan has quit [Ping timeout: 240 seconds]
[05:04:38] -!- voxadam has quit [Ping timeout: 240 seconds]
[05:14:58] -!- FinboySlick has quit [Quit: Leaving.]
[05:38:14] -!- dgarr has quit [Ping timeout: 240 seconds]
[05:53:19] -!- Felix29 has quit []
[06:01:40] -!- Fox_Muldr has quit [Ping timeout: 245 seconds]
[06:02:17] -!- kiw [kiw!~Thunderbi@can59-6-78-242-55-183.fbx.proxad.net] has joined #leaflet
[06:08:31] -!- kiw has quit [Ping timeout: 246 seconds]
[06:10:19] -!- paul0 [paul0!~paul0@187.112.76.236] has joined #leaflet
[06:10:56] -!- psha[work] [psha[work]!~psha@psha.org.ru] has joined #leaflet
[06:15:41] -!- FreezingCold has quit [Ping timeout: 246 seconds]
[06:15:50] -!- racicot [racicot!~racicot@osgeo/member/racicot] has joined #leaflet
[06:37:05] -!- lyzidiamond [lyzidiamond!~lyzi@c-24-21-210-23.hsd1.or.comcast.net] has joined #leaflet
[06:38:25] <paul0> someone can explain me what I am doing wrong? My map doesn't render,
http://habitarhabitat.com.br/mapa/
[06:42:25] <racicot> paul0, you are not setting any "layers" in your map
[06:43:13] <racicot> scroll down to "Setting up the map" in the quick start guide for an example of adding a base map:
http://leafletjs.com/examples/quick-start.html
[06:43:58] <paul0> oh, god
[06:44:07] <paul0> racicot, thanks
[06:44:20] <paul0> I was trying to figure out what was wrong for 4 hours
[06:44:27] <racicot> no problem... hope it gets you moving
[06:51:45] -!- FreezingCold has quit [Ping timeout: 252 seconds]
[07:03:20] -!- The_Ball has quit [Ping timeout: 245 seconds]
[07:05:35] -!- kiw [kiw!~Thunderbi@can59-6-78-242-55-183.fbx.proxad.net] has joined #leaflet
[07:16:03] -!- cmorley has quit [Ping timeout: 260 seconds]
[07:24:07] -!- kiw has quit [Ping timeout: 246 seconds]
[07:33:37] -!- uw has quit [Quit: Leaving]
[07:33:56] -!- archivist_herron has quit [Ping timeout: 245 seconds]
[07:57:24] <loki_> hello
[07:57:56] <loki_> how I can dynamic refresh markers
[07:57:59] <loki_> ???
[08:06:50] -!- NickParker has quit [Ping timeout: 264 seconds]
[08:15:06] -!- lyzidiamond has quit [Quit: lyzidiamond]
[08:15:58] <perl> loki_: pretty sure the answer is yes
[08:16:22] <perl> loki_: even though I'm not sure exactly what you mean by "dynamic refresh"
[08:16:53] <perl> loki_: if you want to move the markers after they're added, it can be done
[08:17:35] <perl> loki_: L.Marker has a setLatLng method
[08:17:44] putnik_ is now known as putnik
[08:17:46] <perl> loki_:
http://leafletjs.com/reference.html#marker
[08:23:03] -!- tjb11 has quit [Ping timeout: 252 seconds]
[08:23:47] <loki_> perl: I did it, but I want reload markers after change in BD.
[08:24:15] <perl> loki_: ok, reload or just update locations?
[08:24:51] <perl> loki_: keep track of the marker instances, for example in a hash, and just call setLatLng when you get the updates from the db
[08:31:47] <loki_> perl: my english bad
[08:32:02] -!- juanluisrp [juanluisrp!~juanluisr@85.136.157.153.dyn.user.ono.com] has joined #leaflet
[08:46:17] -!- billc has quit [Read error: Connection reset by peer]
[08:46:48] cevad is now known as Guest90894
[08:49:38] <loki_> perl: My markers must change icon after change in DB, how I must use setIcon?
[08:50:03] _BJFreeman is now known as BJfreeman
[08:54:40] -!- BJfreeman has quit [Quit: had a good time]
[08:57:29] -!- odogono [odogono!~odogono@cpc14-king9-2-0-cust212.19-1.cable.virginm.net] has joined #leaflet
[09:03:52] -!- md-2 [md-2!~md-2@host81-159-9-237.range81-159.btcentralplus.com] has joined #leaflet
[09:03:55] -!- mle [mle!~mle@mir31-1-82-224-13-158.fbx.proxad.net] has joined #leaflet
[09:16:37] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[09:37:59] <loki_> perl: thanks
[09:38:10] -!- Tecan has quit [Quit: Live Long And Phosphor!]
[09:47:25] -!- HK_ [HK_!599c44b8@gateway/web/freenode/ip.89.156.68.184] has joined #leaflet
[09:51:28] -!- HK_ has quit [Client Quit]
[09:59:04] -!- loki_ has quit [Quit: Page closed]
[10:04:20] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[10:04:32] -!- b_b has quit [Changing host]
[10:04:32] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[10:23:55] -!- DennisL [DennisL!~OSRM@irasquid.ira.uni-karlsruhe.de] has joined #leaflet
[10:28:51] -!- ktchk has quit [Read error: Connection reset by peer]
[10:34:07] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[10:34:10] -!- juanluisrp has quit [Quit: Saliendo]
[10:40:21] -!- juanluisrp [juanluisrp!~juanluisr@85.136.157.153.dyn.user.ono.com] has joined #leaflet
[10:45:50] -!- archivist_herron has quit [Ping timeout: 264 seconds]
[10:57:13] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@37-46-176-106.customers.ownit.se] has joined #leaflet
[10:59:16] -!- _DJ_ has quit [Remote host closed the connection]
[11:09:32] -!- Valen has quit [Quit: Leaving.]
[11:10:02] -!- freeform has quit [Ping timeout: 246 seconds]
[11:22:21] -!- DennisL has quit [Ping timeout: 252 seconds]
[11:26:55] -!- Komzpa [Komzpa!~kom@178.154.8.120] has joined #leaflet
[11:32:45] -!- skunkworks has quit [Ping timeout: 272 seconds]
[11:52:51] -!- jlrodriguez [jlrodriguez!~juanluisr@85.136.157.153.dyn.user.ono.com] has joined #leaflet
[11:56:34] -!- DennisL [DennisL!~OSRM@irasquid.ira.uni-karlsruhe.de] has joined #leaflet
[11:57:39] -!- voxadam_ has quit [Ping timeout: 240 seconds]
[11:57:40] -!- grummund has quit [Ping timeout: 240 seconds]
[11:57:40] -!- pcw_home has quit [Ping timeout: 240 seconds]
[11:57:41] -!- juanluisrp has quit [Ping timeout: 240 seconds]
[11:57:43] -!- toastyde1th has quit [Ping timeout: 240 seconds]
[11:57:44] -!- slide has quit [Ping timeout: 240 seconds]
[11:57:44] -!- jst_ has quit [Ping timeout: 240 seconds]
[11:57:47] -!- Connor has quit [Ping timeout: 240 seconds]
[11:57:51] -!- marvi has quit [Ping timeout: 240 seconds]
[11:57:53] pcw_home_ is now known as pcw_home
[11:57:58] -!- voxadam has quit [Changing host]
[11:58:53] -!- slide [slide!~slide@unaffiliated/slide] has joined #leaflet
[12:00:09] -!- dway [dway!~dway@gas45-2-82-239-0-32.fbx.proxad.net] has joined #leaflet
[12:00:43] -!- marvi [marvi!~marvi@pdpc/supporter/active/marvi] has joined #leaflet
[12:09:43] -!- vladimirek has quit [Remote host closed the connection]
[12:22:29] -!- cwmma [cwmma!~cwmma@64.206.13.2] has joined #leaflet
[12:23:32] -!- sumpfralle has quit [Ping timeout: 246 seconds]
[12:28:21] -!- sumpfralle1 has quit [Ping timeout: 248 seconds]
[13:03:45] -!- Komzpa has quit [Ping timeout: 245 seconds]
[13:04:04] -!- pingufan has quit [Quit: Konversation terminated!]
[13:06:05] -!- jzelori has quit [Quit: Konversation terminated!]
[13:10:49] -!- The_Ball has quit [Remote host closed the connection]
[13:12:11] -!- psha[work] has quit [Quit: Lost terminal]
[13:15:27] -!- pimperle has quit [Quit: WeeChat 0.3.7]
[13:23:49] mogolico01 is now known as krusty_ar
[13:27:38] -!- The_Ball has quit [Remote host closed the connection]
[13:27:45] -!- syyl-- has quit [Ping timeout: 252 seconds]
[13:29:02] -!- ravenlock has quit [Quit: Leaving]
[13:30:34] -!- pingufan has quit [Quit: Konversation terminated!]
[13:41:41] -!- Valen has quit [Quit: Leaving.]
[13:48:06] -!- mackerski has quit [Ping timeout: 245 seconds]
[13:48:17] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[13:53:17] -!- Komzpa [Komzpa!~kom@185.6.25.92] has joined #leaflet
[13:55:15] -!- adb has quit [Ping timeout: 252 seconds]
[13:56:21] -!- schue has quit [Ping timeout: 248 seconds]
[14:02:58] <paul0> I have a map where some items are in the same geolocation, how can I list them in this situation?
[14:03:56] <ybon> you can use leaflet.markercluster plugin to get the spiderfy
[14:03:59] <ybon> https://github.com/Leaflet/Leaflet.markercluster
[14:10:23] <paul0> ybon, thanks, I'll that
[14:36:03] -!- denics [denics!~denix@http-hide.unesco.org] has joined #leaflet
[14:37:54] -!- `NeroDEAD has quit [Remote host closed the connection]
[14:40:42] -!- Komzpa has quit [Ping timeout: 246 seconds]
[14:42:12] -!- `Nerobro has quit [Ping timeout: 240 seconds]
[14:43:09] <denics> Hi guys
[14:43:12] <denics> mi first time here
[14:43:35] <denics> I have a maybe dumb question, but I did not find any example around
[14:44:07] <denics> I'm using leaflet with drupal and I would like to highlight a country when a news come from a specified country
[14:44:45] <denics> everything works fine, and I am able to put a pin in the capital in the map, but I am unable to colour the whole country :(
[14:45:14] <ybon> do you have the polygon?
[14:46:42] -!- arkgis [arkgis!54d786f8@gateway/web/freenode/ip.84.215.134.248] has joined #leaflet
[14:47:28] <arkgis> why does toGeoJSON() return Point as feature type for circles? I need to differentiate between circle and points when saving leaflet draw features. :/
[14:47:47] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[14:48:01] <arkgis> it's even noted in the documentation, any reason this hasn't been implemented as circle?
[14:48:31] -!- `Nerobro has quit [Ping timeout: 252 seconds]
[14:48:45] <ybon> circle isn't a valid geojson type
[14:49:24] <denics> hey ybon, how can I get the polygons of all the world countries?
[14:50:16] <b_b> http://www.naturalearthdata.com/ Demiurge
[14:50:20] <b_b> oops denics
[14:50:29] <Demiurge> thx
[14:50:44] <ybon> or
https://github.com/johan/world.geo.json/blob/master/countries.geo.json :)
[14:50:48] <b_b> https://github.com/mledoze/countries/blob/master/countries.json
[14:50:51] <ybon> or many other places of the Internets ;)
[14:51:04] <b_b> hehe, hi ybon :)
[14:51:08] <ybon> hi b_b :)
[14:51:29] <b_b> a good choice is to take naturalearth data in simplified format
[14:51:31] <arkgis> ybon: ok. but leaflet.js doesn't want to implement save for circles? is there a hack already available that you know of, or must i write my own ?
[14:51:35] <b_b> to get a lighter json
[14:51:45] <b_b> or you can reduce it with mapshapper or gdal
[14:51:54] <denics> thanks guys, and do you have an example of the implementation?
[14:52:14] <b_b> http://geojson.org/geojson-spec.html#geometry-objects
[14:52:22] <ybon> arkgis: sorry, I don't know any myself
[14:52:24] <b_b> there is no circle object in the specs arkgis
[14:53:13] <b_b> https://github.com/Leaflet/Leaflet/pull/1877
[14:53:36] <b_b> It's not in the GeoJSON spec so I can't accept that unfortunately. However you can do something similar by using pointToLayer option and turning point features into circles, using the radius from feature.properties.
[14:53:41] <b_b> as said mourner
[14:58:12] <arkgis> b_b, ybon: thanks a lot
[14:58:24] <b_b> u're welcome
[14:59:51] <denics> yes, b_b, ybon: thanks a lot
[15:00:14] <ybon> ;)
[15:04:27] -!- tom_o_t [tom_o_t!tom_o_t@drupal.org/user/125573/view] has joined #leaflet
[15:16:03] -!- lotte has quit [Quit: Leaving]
[15:21:24] -!- _DJ_ has quit [Quit: w.e.c.h.]
[15:25:26] -!- MattyMatt has quit [Ping timeout: 264 seconds]
[15:28:07] -!- tmcw_ [tmcw_!~tmcw@c-68-50-174-188.hsd1.dc.comcast.net] has joined #leaflet
[15:34:19] -!- tmcw_ has quit []
[15:48:27] -!- Lars_ [Lars_!5768ec02@gateway/web/freenode/ip.87.104.236.2] has joined #leaflet
[15:48:40] <Lars_> Hi
[15:49:26] -!- mle has quit [Ping timeout: 264 seconds]
[15:51:34] <Lars_> I have 1000 icons - and i don't want to load content on map creation. Looking for a way to update the Marker popUp content via a ajax call when clicked.
[15:53:50] <angezanetti> Lars_: why you don't want to load it ?
[15:56:07] <Lars_> 1000 Markers Content will get large. (Only load what you see...) Loading it later will also give me the possibility to have a large content.
[15:56:39] JesusAlos_ is now known as JeAl
[15:59:10] -!- cwmma_ [cwmma_!~cwmma@50-199-248-46-static.hfc.comcastbusiness.net] has joined #leaflet
[16:00:31] -!- geografa [geografa!~textual@c-50-139-26-143.hsd1.or.comcast.net] has joined #leaflet
[16:01:27] -!- cwmma has quit [Ping timeout: 260 seconds]
[16:01:28] cwmma_ is now known as cwmma
[16:03:27] -!- geografa has quit [Client Quit]
[16:09:44] <Lars_> Anyone on how to dynamically load a markers popup content when clicked ?
[16:10:56] <ybon> Lars_: not sure to get the problem, you can do whatever you wan't onclick
[16:11:06] <angezanetti> Lars_: fire a Ajax call when the popup opens with this
http://leafletjs.com/reference.html#popup-event
[16:11:13] <angezanetti> but expected some delay
[16:15:27] -!- tvc has quit [Ping timeout: 250 seconds]
[16:17:16] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[16:20:48] -!- freeform has quit [Read error: Connection reset by peer]
[16:22:00] -!- Demiurge has quit [Quit: Demiurge]
[16:25:51] -!- tvc has quit [Ping timeout: 250 seconds]
[16:28:25] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[16:36:58] grummund_ is now known as grummund
[16:38:57] <Lars_> angezanetti: ok like this
http://jsfiddle.net/lmojo/fAUS9/2/ - but how do I get an ID from the marker ?
[16:39:20] Gabriel__ is now known as Guest41827
[16:52:11] -!- denics [denics!~denix@http-hide.unesco.org] has parted #leaflet
[16:55:36] <Lars_> You could hide an ID in the content - Is this really the way to do it ?
[16:56:43] -!- Aero-Tec2 has quit [Ping timeout: 246 seconds]
[17:02:59] -!- geografa [geografa!~textual@198.0.34.86] has joined #leaflet
[17:06:44] -!- AnimalFarmPig [AnimalFarmPig!~afp@unaffiliated/animalfarmpig] has joined #leaflet
[17:07:47] -!- md-2 has quit [Ping timeout: 272 seconds]
[17:15:29] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[17:16:08] -!- Guest41827 has quit [Ping timeout: 246 seconds]
[17:19:38] <racicot> Lars_: not sure what you need the ID for... but you can stamp objects with
http://leafletjs.com/reference.html#util-stamp
[17:28:21] -!- thomaslindstr_m has quit [Quit: Leaving...]
[17:33:58] <Lars_> racicot: I need the ID to load the right content with my ajax call..
[17:34:32] <racicot> well, then stamp might do what you want then
[17:36:47] -!- sumpfralle has quit [Ping timeout: 246 seconds]
[17:37:13] -!- mackerski has quit [Quit: mackerski]
[17:43:53] -!- jfire [jfire!~Adium@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[17:45:31] -!- AnimalFarmPig [AnimalFarmPig!~afp@unaffiliated/animalfarmpig] has parted #leaflet
[17:54:36] -!- dway has quit [Quit: NOOOOOOooooooooo……]
[17:57:32] -!- cwmma has quit [Quit: cwmma]
[17:59:57] -!- cwmma [cwmma!~cwmma@50-199-248-46-static.hfc.comcastbusiness.net] has joined #leaflet
[18:08:52] -!- DennisL has quit [Ping timeout: 264 seconds]
[18:09:58] -!- Tecan has quit [Changing host]
[18:13:32] -!- gimpspace has quit []
[18:19:43] -!- md-2 has quit [Remote host closed the connection]
[18:31:40] -!- chillly [chillly!~chris@adsl-178-78-91-198.karoo.kcom.com] has joined #leaflet
[18:36:13] -!- almccon [almccon!~Adium@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[18:45:27] -!- freeform has quit [Ping timeout: 240 seconds]
[18:46:09] <Lars_> racicot: L.stamp Applies a unique key to the object and returns that key. Not my own key.
[18:47:25] -!- Demiurge has quit [Quit: Demiurge]
[18:47:37] <b_b> i'm doing something like this here Lars_
[18:47:43] <b_b> https://github.com/brunob/geodiversite/blob/master/geodiversite/javascript/leaflet.geodiv.js.html#L89
[18:47:52] <b_b> i'm parsing a json get with ajax
[18:48:11] <b_b> in my parsing function i'm manually applying *my* personnal id to the marker
[18:48:16] <b_b> https://github.com/brunob/geodiversite/blob/master/geodiversite/javascript/leaflet.geodiv.js.html#L103
[18:48:31] <b_b> maybe this will be usefull...
[18:48:58] -!- Loetmichel has quit [Ping timeout: 265 seconds]
[18:50:35] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[18:54:36] -!- Reventlov [Reventlov!~my@unaffiliated/reventlov] has joined #leaflet
[18:54:38] <Reventlov> Hello.
[18:55:19] <Reventlov> Any idea on how to avoid this (
http://docs.volcanis.me/2013-12-02-195229_1098x410_scrot.png ) when adding point to a polyline ?
[18:56:58] -!- PetefromTn has quit [Remote host closed the connection]
[18:58:03] <tom_o_t> Have you looked at
http://leafletjs.com/reference.html#latlng-wrap ?
[18:58:08] -!- Valen has quit [Client Quit]
[18:58:11] <tom_o_t> Reventlov, ^
[18:58:43] <Reventlov> nope, didn't know it existed.
[18:58:57] Cylly is now known as Loetmichel
[18:59:44] <Reventlov> « Returns a new LatLng object with the longitude wrapped around left and right boundaries (-180 to 180 by default). »
[18:59:56] <Reventlov> I'm not exactly sure I understand what it does
[19:00:26] -!- lyzidiamond [lyzidiamond!~lyzi@c-24-21-210-23.hsd1.or.comcast.net] has joined #leaflet
[19:03:38] -!- geografa has quit [Quit: Computer has gone to sleep.]
[19:06:24] -!- adb has quit [Ping timeout: 246 seconds]
[19:13:48] <tom_o_t> Me neither, but reading
https://github.com/Leaflet/Leaflet/issues/82 - that was the solution.
[19:13:58] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[19:14:42] <Lars_> b_b: Very usefull - thx - I have decided not to use MarkerCluster - I just added the id to my popup object - and it was there map.on('popupopen') event
[19:15:06] -!- jfire has quit [Quit: Leaving.]
[19:15:10] <b_b> u're welcome
[19:16:20] -!- syyl_ws has quit [Quit: Verlassend]
[19:18:34] -!- jfire [jfire!~Adium@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[19:21:36] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[19:23:54] -!- md-2 has quit [Ping timeout: 246 seconds]
[19:24:11] -!- maximilian_h has quit [Client Quit]
[19:26:08] -!- skorasaurus [skorasaurus!~skors@adsl-75-10-142-198.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[19:28:20] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[19:28:44] -!- geografa [geografa!~textual@c-50-139-26-143.hsd1.or.comcast.net] has joined #leaflet
[19:34:21] -!- wboykinm [wboykinm!~wboykinm@65-183-134-62-dhcp.burlingtontelecom.net] has joined #leaflet
[19:34:52] <racicot> not sure who has seen this... but this is a little hack project our local Open Source GIS group (
http://cugos.org/) has been working on... uses Leaflet and might be useful for folks:
http://bboxfinder.com/
[19:37:45] <patrickarlt> racicot: sweet that is really helpful
[19:38:08] <racicot> coolio
[19:39:00] <Reventlov> what is the aim of this map, racicot ?
[19:41:38] <racicot> get the mapview extent, bbox of shapes you draw or import, center point and zoom level... all in different projections for use in any GIS related activity you are doing...
[19:41:49] <racicot> and for our group to learn... that was the main point
[19:43:59] -!- tomkralidis [tomkralidis!~tomkralid@osgeo/member/tomkralidis] has joined #leaflet
[19:45:44] -!- glangaas [glangaas!6df717c9@gateway/web/freenode/ip.109.247.23.201] has joined #leaflet
[19:45:55] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[19:47:25] -!- kiw [kiw!~Thunderbi@can59-6-78-242-55-183.fbx.proxad.net] has joined #leaflet
[19:56:07] -!- patrickarlt has quit [Read error: Connection reset by peer]
[19:56:34] -!- beawesomeinstead has quit [Ping timeout: 260 seconds]
[19:56:34] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[19:56:45] -!- beawesomeinstead [beawesomeinstead!sid1643@gateway/web/irccloud.com/x-ytrifezwohindqmu] has joined #leaflet
[20:01:15] -!- pcw_home has quit [Ping timeout: 245 seconds]
[20:03:11] -!- Lars_ [Lars_!5768ec02@gateway/web/freenode/ip.87.104.236.2] has parted #leaflet
[20:04:53] -!- _DJ_ has quit [Disconnected by services]
[20:04:56] _DJ__ is now known as _DJ_
[20:06:23] -!- freeform has quit [Write error: Connection reset by peer]
[20:07:27] -!- NickParker|2 has quit [Ping timeout: 260 seconds]
[20:10:51] -!- kanzure has quit [Ping timeout: 258 seconds]
[20:10:51] -!- arekm has quit [Remote host closed the connection]
[20:10:52] -!- `Nerobro_ has quit [Ping timeout: 260 seconds]
[20:10:52] -!- mackerski [mackerski!~dermot@89.101.4.88] has joined #leaflet
[20:12:33] -!- mackerski has quit [Client Quit]
[20:12:49] -!- mackerski [mackerski!~dermot@89.101.4.88] has joined #leaflet
[20:15:32] -!- JeAl has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
[20:18:02] arekm_ is now known as arekm
[20:19:40] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[20:21:19] -!- mhaberler has quit [Quit: mhaberler]
[20:25:58] -!- lyzidiamond has quit [Quit: lyzidiamond]
[20:29:24] -!- md-2 has quit [Remote host closed the connection]
[20:30:10] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[20:30:53] -!- the_wench has quit [Excess Flood]
[20:31:40] -!- PCW has quit [Ping timeout: 260 seconds]
[20:31:44] PCW_ is now known as PCW
[20:34:59] -!- md-2 has quit [Ping timeout: 272 seconds]
[20:47:55] -!- Demiurge has quit [Ping timeout: 272 seconds]
[20:49:11] -!- |1li has quit [Quit: Leaving]
[20:50:55] -!- oddover__ [oddover__!~oddover@ucb-np1-20.colorado.edu] has joined #leaflet
[20:51:11] <oddover__> hi all. Has anyone here used the leaflet-rails gem?
[20:53:11] <oddover__> specifically with the bootstrap gem
[20:55:01] -!- terabyte- has quit [Quit: terabyte-]
[20:55:08] -!- sudobangbang_ [sudobangbang_!~chatzilla@75-151-97-182-Washington.hfc.comcastbusiness.net] has joined #leaflet
[20:55:50] -!- patrickarlt has quit [Read error: Connection reset by peer]
[20:56:16] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[20:57:12] -!- Komzpa [Komzpa!~kom@178.124.110.254] has joined #leaflet
[21:00:58] -!- jfire1 [jfire1!~Adium@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[21:01:12] -!- tomkralidis [tomkralidis!~tomkralid@osgeo/member/tomkralidis] has parted #leaflet
[21:02:12] -!- FreezingCold has quit [Ping timeout: 246 seconds]
[21:03:29] -!- jfire has quit [Ping timeout: 272 seconds]
[21:04:53] -!- skunkworks has quit [Quit: Leaving]
[21:08:42] -!- jasen_ has quit [Quit: Page closed]
[21:11:08] <arkgis> i want to learn to write javascript like L.Draw.Circle = L.Draw.SimpleShape.extend({ etc.. creating an api and extending classes. any good tutorials or online guides to start out with to write beautiful, powerful js? sorry if off topic
[21:11:41] -!- freeform has quit [Ping timeout: 252 seconds]
[21:14:40] -!- Komzpa has quit [Ping timeout: 246 seconds]
[21:15:42] <Reventlov> Any idea on "how" to represent (in an ellipse) who can see one satellite ?
[21:16:01] <Reventlov> I think the
http://wiki.openstreetmap.org/wiki/EPSG:3857 breaks things
[21:16:37] <oddover__> for anyone who cares about what I was talking about:
https://github.com/axyjo/leaflet-rails/issues/18
[21:20:37] -!- uw has quit [*.net *.split]
[21:20:38] -!- skorasaurus has quit [*.net *.split]
[21:20:38] -!- Tecan has quit [*.net *.split]
[21:20:38] -!- syyl- has quit [*.net *.split]
[21:23:50] -!- `Nerobro_ has quit [Remote host closed the connection]
[21:26:17] -!- sumpfralle1 has quit [Ping timeout: 272 seconds]
[21:27:58] -!- skorasaurus [skorasaurus!~skors@adsl-75-10-142-198.dsl.bcvloh.sbcglobal.net] has joined #leaflet
[21:30:15] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[21:31:43] <arkgis> how can i draw a circle "programmatically" with Leaflet.Draw ?
[21:31:59] <arkgis> (that is subsequently "editable" with the toolbar)
[21:33:43] -!- cwmma has quit [Ping timeout: 260 seconds]
[21:35:13] -!- jfire1 has quit [Quit: Leaving.]
[21:35:16] -!- md-2 has quit [Ping timeout: 264 seconds]
[21:35:53] -!- odogono has quit [Quit: odogono]
[21:38:02] <Reventlov> Any idea ? Or is this not "relevant" ?
[21:43:09] <arkgis> Reventlov: it's relevant, but i think it's pretty empty here now. try again in 18h
[21:43:38] -!- Demiurge [Demiurge!~Demiurge@198.0.135.150] has joined #leaflet
[21:43:49] <Reventlov> in 18h, hmm
[21:44:08] <Reventlov> so, at 17h in france :) Ok, cya, will try again.
[21:45:00] -!- jfire [jfire!~Adium@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[21:45:56] <arkgis> Reventlov: yeah, US business hours ;)
[21:46:30] <arkgis> Reventlov: you can also try #mapbox
[21:46:39] <Reventlov> ok, ty
[21:48:18] -!- terabyte- has quit [Client Quit]
[21:50:39] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[21:56:30] -!- sudobangbang_ has quit [Ping timeout: 265 seconds]
[21:58:29] -!- patrickarlt has quit [Read error: Connection reset by peer]
[21:58:47] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[22:02:35] <racicot> arkgis: I don't think drawing programmatically is very well baked into Leaflet.Draw, but I just did this in a debugger and it can draw a circle that is editable with Leaflet.Draw...
https://gist.github.com/aaronr/1675c409e4cd07e890f0
[22:02:46] -!- afiber__ has quit [Quit: Konversation terminated!]
[22:05:52] <arkgis> racicot: beautiful, thanks! :)
[22:06:21] <patrickarlt> you can also use the handlers programatically
https://gist.github.com/patrickarlt/7759935
[22:06:49] -!- FinboySlick has quit [Quit: Leaving.]
[22:06:55] <patrickarlt> and enable.disable them when you want the user to start.stop drawing
[22:07:47] <racicot> adding programatic editing as a first class operation might be a good little hack project to do...
[22:07:56] * racicot puts it on the list
[22:10:05] <patrickarlt> its pretty first class i just think it needs some doc
[22:23:50] -!- md-2 has quit [Ping timeout: 240 seconds]
[22:24:16] -!- md-2 [md-2!~md-2@host86-181-182-34.range86-181.btcentralplus.com] has joined #leaflet
[22:27:37] -!- md-2 has quit [Client Quit]
[22:32:21] <arkgis> patrickarlt: thanks a bunch
[22:35:58] <arkgis> patrickarlt: is that enable() for editing or on the toolbar?
[22:36:15] <patrickarlt> no enable just makes that tool active on the map
[22:36:29] <patrickarlt> so you can use the tool without the toolbar
[22:37:28] <arkgis> patrickarlt: right, thanks!
[22:40:32] -!- chillly has quit [Quit: Leaving]
[22:45:17] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@c80-216-4-133.bredband.comhem.se] has joined #leaflet
[22:46:55] -!- mackerski has quit [Quit: mackerski]
[22:48:07] -!- kiw has quit [Ping timeout: 246 seconds]
[22:49:22] -!- patrickarlt has quit [Read error: Connection reset by peer]
[22:49:29] -!- _DJ_ has quit [Quit: bye]
[22:49:47] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[22:51:11] -!- adb has quit [Ping timeout: 260 seconds]
[22:58:43] -!- skorasaurus has quit [Quit: WeeChat 0.4.2]
[23:03:47] -!- motioncontrol has quit [Quit: Sto andando via]
[23:05:41] -!- patrickarlt has quit [Read error: No route to host]
[23:07:16] -!- patrickarlt [patrickarlt!~patrickar@198.102.43.49] has joined #leaflet
[23:15:45] -!- IrrerIvan has quit [Ping timeout: 272 seconds]
[23:18:20] -!- ler_hydra has quit [Remote host closed the connection]
[23:19:31] -!- lyzidiamond [lyzidiamond!~lyzi@71.216.18.102] has joined #leaflet
[23:20:02] -!- mozmck has quit [Ping timeout: 264 seconds]
[23:24:05] -!- lyzidiamond has quit [Remote host closed the connection]
[23:30:48] -!- micges has quit [Quit: Leaving]
[23:40:54] -!- sudobangbang has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
[23:41:36] -!- sudobangbang [sudobangbang!~chatzilla@75-151-97-182-Washington.hfc.comcastbusiness.net] has joined #leaflet
[23:46:10] <arkgis> patrickarlt: x._fireCreatedEvent() seems to be creating an additional Circle... that is, drawCircle creates a circle that's not editable, and fireCreatedEvent adds an editable one. why are there two instances of new L.Circle? Any idea?
https://github.com/Leaflet/Leaflet.draw/blob/master/src/draw/handler/Draw.Circle.js#L40
[23:55:00] <patrickarlt> arkgis: humm can you send me a gist or fiddle with your code?
[23:58:19] <arkgis> patrickarlt:
https://gist.github.com/knutole/318b9e25c3d2b43d12db
[23:59:08] <arkgis> patrickarlt: i'm experimenting, but line 40 is what creates two circles, line 41 has typo ;)