[03:12:34] | * localisticepicur has quit (*.net *.split) |
[03:12:34] | * dazinism has quit (*.net *.split) |
[03:23:04] | * localisticepicur has joined #farmos |
[03:23:04] | * dazinism has joined #farmos |
[03:25:57] | * paul121[m] has quit (Ping timeout: 240 seconds) |
[03:26:14] | * localisticepicur has quit (Ping timeout: 258 seconds) |
[03:26:15] | * abinash[m] has quit (Ping timeout: 246 seconds) |
[03:26:16] | * zedrckr[m] has quit (Ping timeout: 250 seconds) |
[03:26:17] | * JulianF has quit (Ping timeout: 246 seconds) |
[03:26:17] | * calbasi_matrix has quit (Ping timeout: 250 seconds) |
[03:26:17] | * trishlatalera[m] has quit (Ping timeout: 250 seconds) |
[03:26:19] | * braught[m] has quit (Ping timeout: 244 seconds) |
[03:26:19] | * dge[m] has quit (Ping timeout: 244 seconds) |
[03:26:19] | * symbioquine[m] has quit (Ping timeout: 244 seconds) |
[03:26:20] | * naveenls[m] has quit (Ping timeout: 244 seconds) |
[03:26:20] | * rocoroc[m] has quit (Ping timeout: 244 seconds) |
[03:26:21] | * todrobbins[m] has quit (Ping timeout: 244 seconds) |
[03:26:21] | * kunigunde[m] has quit (Ping timeout: 250 seconds) |
[03:26:40] | * arvidsjaur[m] has quit (Ping timeout: 268 seconds) |
[03:26:40] | * mstenta[m] has quit (Ping timeout: 268 seconds) |
[03:26:40] | * botlfarm[m] has quit (Ping timeout: 268 seconds) |
[03:26:45] | * farmtech[m] has quit (Ping timeout: 265 seconds) |
[03:26:45] | * gabriel_renoir[m has quit (Ping timeout: 265 seconds) |
[03:26:45] | * generalredneck[m has quit (Ping timeout: 265 seconds) |
[03:26:45] | * jgaehring[m] has quit (Ping timeout: 265 seconds) |
[03:26:45] | * wombat83[m] has quit (Ping timeout: 265 seconds) |
[03:26:46] | * linus0[m] has quit (Ping timeout: 265 seconds) |
[03:29:18] | * dazinism has quit (Ping timeout: 258 seconds) |
[04:24:28] | * jgaehring[m] has joined #farmos |
[04:24:35] | * dazinism has joined #farmos |
[05:02:51] | * calbasi_matrix has joined #farmos |
[05:02:51] | * linus0[m] has joined #farmos |
[05:02:51] | * todrobbins[m] has joined #farmos |
[05:02:51] | * kunigunde[m] has joined #farmos |
[05:02:51] | * JulianF has joined #farmos |
[05:02:51] | * dge[m] has joined #farmos |
[05:02:51] | * localisticepicur has joined #farmos |
[05:02:52] | * rocoroc[m] has joined #farmos |
[05:02:52] | * abinash[m] has joined #farmos |
[05:02:56] | * paul121[m] has joined #farmos |
[05:02:57] | * wombat83[m] has joined #farmos |
[05:02:57] | * trishlatalera[m] has joined #farmos |
[05:02:57] | * generalredneck[m has joined #farmos |
[05:02:57] | * botlfarm[m] has joined #farmos |
[05:02:58] | * arvidsjaur[m] has joined #farmos |
[05:02:58] | * naveenls[m] has joined #farmos |
[05:02:58] | * symbioquine[m] has joined #farmos |
[05:02:59] | * braught[m] has joined #farmos |
[05:02:59] | * mstenta[m] has joined #farmos |
[05:02:59] | * zedrckr[m] has joined #farmos |
[05:03:03] | * gabriel_renoir[m has joined #farmos |
[05:07:25] | * farmtech[m] has joined #farmos |
[11:15:26] | * mstenta[m] has quit (Ping timeout: 240 seconds) |
[11:15:26] | * trishlatalera[m] has quit (Ping timeout: 240 seconds) |
[11:15:26] | * generalredneck[m has quit (Ping timeout: 240 seconds) |
[11:15:26] | * localisticepicur has quit (Ping timeout: 240 seconds) |
[11:15:55] | * botlfarm[m] has quit (Ping timeout: 272 seconds) |
[11:16:14] | * generalredneck[m has joined #farmos |
[11:16:15] | * trishlatalera[m] has joined #farmos |
[11:16:16] | * mstenta[m] has joined #farmos |
[11:16:44] | * localisticepicur has joined #farmos |
[11:17:39] | * botlfarm[m] has joined #farmos |
[11:28:26] | * generalredneck[m has quit (Ping timeout: 240 seconds) |
[11:41:37] | * generalredneck[m has joined #farmos |
[12:06:45] | * DirtyGiraffe has joined #farmos |
[12:14:17] | * The_Kingdutch has joined #farmos |
[12:15:44] | * DirtyG has joined #farmos |
[12:18:51] | * Kingdutch has quit (*.net *.split) |
[12:19:26] | * DirtyGiraffe has quit (Ping timeout: 240 seconds) |
[12:21:20] | * Kingdutch has joined #farmos |
[12:22:30] | * Kingdutch has quit (Ping timeout: 254 seconds) |
[12:25:43] | * farmtech[m] has quit (Ping timeout: 244 seconds) |
[12:26:07] | * farmtech[m] has joined #farmos |
[12:26:15] | * symbioquine[m] has quit (Ping timeout: 244 seconds) |
[12:26:15] | * dge[m] has quit (Ping timeout: 244 seconds) |
[12:26:16] | * jgaehring[m] has quit (Ping timeout: 244 seconds) |
[12:26:16] | * abinash[m] has quit (Ping timeout: 244 seconds) |
[12:28:26] | * symbioquine[m] has joined #farmos |
[12:29:01] | * jgaehring[m] has joined #farmos |
[12:29:52] | <zedrckr[m]> | Hi mstenta I'm still integrating the farmos-map.js in my application, to use this button |
[12:30:24] | <zedrckr[m]> | ACTION uploaded an image: image.png (17KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/mvogvWczirAewLRD... > |
[12:30:31] | <zedrckr[m]> | Is there any function or how could I replicate its working? |
[12:31:30] | <mstenta[m]> | zedrckr: That button comes from farmOS/Drupal - farmOS-map has not knowledge/interaction with it... other than when it is clicked the map is refreshed to use the new WKT |
[12:31:59] | <mstenta[m]> | That functionality is provided by the Geofield and Geocoder Drupal modules |
[12:32:00] | <mstenta[m]> | https://drupal.org/project/geofield |
[12:32:03] | <mstenta[m]> | https://drupal.org/project/geocoder |
[12:32:35] | <mstenta[m]> | So it is PHP, not JS |
[12:32:35] | <mstenta[m]> | What kind of app are you writing? Is it a JS app? |
[12:33:08] | <zedrckr[m]> | Exactly but should I destroy the map and create a new one with the new WTK or how does it work? |
[12:33:29] | <zedrckr[m]> | <mstenta[m] "What kind of app are you writing"> PHP with JS |
[12:35:01] | <mstenta[m]> | If I remember correctly... the way it works now is: when the button is clicked, it performs a Drupal AJAX request and replaces the entire form widget (map included) |
[12:35:55] | <mstenta[m]> | (That's in farmOS 1.x... it may be different in 2.x - I forget... paul121 might know) |
[12:36:37] | <zedrckr[m]> | <mstenta[m] "If I remember correctly... the w"> Ohh ya, you pretty much have to destroy everything and recreate the map and wkt. |
[12:36:37] | <mstenta[m]> | paul121: does the whole field get replaced via AJAX in 2.x? Or is it smarter about just changing the map layer itself? I forget |
[12:37:09] | <paul121[m]> | I'm not very familiar with the Find using Files button.. |
[12:37:21] | <mstenta[m]> | Ooh right.. we don't have that in 2.x yet do we? :-) |
[12:37:36] | <paul121[m]> | oh and yea, not in 2.x yet |
[12:37:50] | <symbioquine[m]> | <zedrckr[m] "Ohh ya, you pretty much have to "> You wouldn't have to, but that might be the simplest route if you don't want to dive too deep into the Javascript/OpenLayers part |
[12:42:37] | * dge[m] has joined #farmos |
[12:43:08] | * abinash[m] has joined #farmos |
[12:43:28] | <zedrckr[m]> | <symbioquine[m] "You wouldn't have to, but that m"> Ok, thank you |
[12:43:51] | <zedrckr[m]> | I will try |
[12:56:18] | * D1rtyGiraffe has joined #farmos |
[12:58:48] | * DirtyGiraffe has joined #farmos |
[13:02:00] | * D1rtyGiraffe has quit (Ping timeout: 258 seconds) |
[13:02:51] | * DirtyG has quit (Ping timeout: 246 seconds) |
[14:20:29] | * rationaljohn[m] has joined #farmos |
[14:36:35] | * mmn has quit (*.net *.split) |
[14:40:10] | * mmn has joined #farmos |
[15:41:10] | * DirtyG has joined #farmos |
[15:44:16] | * DirtyGiraffe has quit (Ping timeout: 240 seconds) |