< 182021-02-19⋎20 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
08:12*localisticepicur has quit (*.net *.split)
08:12*dazinism has quit (*.net *.split)
08:23*localisticepicur has joined
08:23*dazinism has joined
08:25*paul121[m] has quit (Ping timeout: 240 seconds)
08:26*localisticepicur has quit (Ping timeout: 258 seconds)
08:26*abinash[m] has quit (Ping timeout: 246 seconds)
08:26*zedrckr[m] has quit (Ping timeout: 250 seconds)
08:26*JulianF has quit (Ping timeout: 246 seconds)
08:26*calbasi_matrix has quit (Ping timeout: 250 seconds)
08:26*trishlatalera[m] has quit (Ping timeout: 250 seconds)
08:26*braught[m] has quit (Ping timeout: 244 seconds)
08:26*dge[m] has quit (Ping timeout: 244 seconds)
08:26*symbioquine[m] has quit (Ping timeout: 244 seconds)
08:26*naveenls[m] has quit (Ping timeout: 244 seconds)
08:26*rocoroc[m] has quit (Ping timeout: 244 seconds)
08:26*todrobbins[m] has quit (Ping timeout: 244 seconds)
08:26*kunigunde[m] has quit (Ping timeout: 250 seconds)
08:26*arvidsjaur[m] has quit (Ping timeout: 268 seconds)
08:26*mstenta[m] has quit (Ping timeout: 268 seconds)
08:26*botlfarm[m] has quit (Ping timeout: 268 seconds)
08:26*farmtech[m] has quit (Ping timeout: 265 seconds)
08:26*gabriel_renoir[m has quit (Ping timeout: 265 seconds)
08:26*generalredneck[m has quit (Ping timeout: 265 seconds)
08:26*jgaehring[m] has quit (Ping timeout: 265 seconds)
08:26*wombat83[m] has quit (Ping timeout: 265 seconds)
08:26*linus0[m] has quit (Ping timeout: 265 seconds)
08:29*dazinism has quit (Ping timeout: 258 seconds)
09:24*jgaehring[m] has joined
09:24*dazinism has joined
10:02*calbasi_matrix has joined
10:02*linus0[m] has joined
10:02*todrobbins[m] has joined
10:02*kunigunde[m] has joined
10:02*JulianF has joined
10:02*dge[m] has joined
10:02*localisticepicur has joined
10:02*rocoroc[m] has joined
10:02*abinash[m] has joined
10:02*paul121[m] has joined
10:02*wombat83[m] has joined
10:02*trishlatalera[m] has joined
10:02*generalredneck[m has joined
10:02*botlfarm[m] has joined
10:02*arvidsjaur[m] has joined
10:02*naveenls[m] has joined
10:02*symbioquine[m] has joined
10:02*braught[m] has joined
10:02*mstenta[m] has joined
10:02*zedrckr[m] has joined
10:03*gabriel_renoir[m has joined
10:07*farmtech[m] has joined
16:15*mstenta[m] has quit (Ping timeout: 240 seconds)
16:15*trishlatalera[m] has quit (Ping timeout: 240 seconds)
16:15*generalredneck[m has quit (Ping timeout: 240 seconds)
16:15*localisticepicur has quit (Ping timeout: 240 seconds)
16:15*botlfarm[m] has quit (Ping timeout: 272 seconds)
16:16*generalredneck[m has joined
16:16*trishlatalera[m] has joined
16:16*mstenta[m] has joined
16:16*localisticepicur has joined
16:17*botlfarm[m] has joined
16:28*generalredneck[m has quit (Ping timeout: 240 seconds)
16:41*generalredneck[m has joined
17:06*DirtyGiraffe has joined
17:14*The_Kingdutch has joined
17:15*DirtyG has joined
17:18*Kingdutch has quit (*.net *.split)
17:19*DirtyGiraffe has quit (Ping timeout: 240 seconds)
17:21*Kingdutch has joined
17:22*Kingdutch has quit (Ping timeout: 254 seconds)
17:25*farmtech[m] has quit (Ping timeout: 244 seconds)
17:26*farmtech[m] has joined
17:26*symbioquine[m] has quit (Ping timeout: 244 seconds)
17:26*dge[m] has quit (Ping timeout: 244 seconds)
17:26*jgaehring[m] has quit (Ping timeout: 244 seconds)
17:26*abinash[m] has quit (Ping timeout: 244 seconds)
17:28*symbioquine[m] has joined
17:29*jgaehring[m] has joined
17:29zedrckr[m]Hi mstenta I'm still integrating the farmos-map.js in my application, to use this button
17:30*uploaded an image: image.png (17KiB) < matrix.org/_matrix/media/r0/download/mat >
17:30zedrckr[m]Is there any function or how could I replicate its working?
17:31mstenta[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
17:31mstenta[m]That functionality is provided by the Geofield and Geocoder Drupal modules
17:32mstenta[m]drupal.org/project/geofield
17:32mstenta[m]drupal.org/project/geocoder
17:32mstenta[m]So it is PHP, not JS
17:32mstenta[m]What kind of app are you writing? Is it a JS app?
17:33zedrckr[m]Exactly but should I destroy the map and create a new one with the new WTK or how does it work?
17:33zedrckr[m]<mstenta[m] "What kind of app are you writing"> PHP with JS
17:35mstenta[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)
17:35mstenta[m](That's in farmOS 1.x... it may be different in 2.x - I forget... paul121 might know)
17:36zedrckr[m]<mstenta[m] "If I remember correctly... the w"> Ohh ya, you pretty much have to destroy everything and recreate the map and wkt.
17:36mstenta[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
17:37paul121[m]I'm not very familiar with the Find using Files button..
17:37mstenta[m]Ooh right.. we don't have that in 2.x yet do we? :-)
17:37paul121[m]oh and yea, not in 2.x yet
17:37symbioquine[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
17:42*dge[m] has joined
17:43*abinash[m] has joined
17:43zedrckr[m]<symbioquine[m] "You wouldn't have to, but that m"> Ok, thank you
17:43zedrckr[m]I will try
17:56*D1rtyGiraffe has joined
17:58*DirtyGiraffe has joined
18:02*D1rtyGiraffe has quit (Ping timeout: 258 seconds)
18:02*DirtyG has quit (Ping timeout: 246 seconds)
19:20*rationaljohn[m] has joined
19:36*mmn has quit (*.net *.split)
19:40*mmn has joined
20:41*DirtyG has joined
20:44*DirtyGiraffe has quit (Ping timeout: 240 seconds)

< 182021-02-19⋏20 >