#leaflet | Logs for 2013-02-16

Back
[00:05:58] <nOStahl> phillipadsmith: do I add the code within my function initmap()
[00:06:08] <nOStahl> or outside of the function
[00:06:15] <phillipadsmith> I don't know why you're using initmap()
[00:06:27] <nOStahl> why not?
[00:06:31] <phillipadsmith> why?
[00:06:39] <phillipadsmith> Where are you calling it from?
[00:06:45] <nOStahl> a div
[00:06:54] <phillipadsmith> I mean, I dunno, I don't use such a function
[00:07:05] <phillipadsmith> I just use a <div id="map">
[00:07:20] <phillipadsmith> and in my .js I have var map = L.map('map', {}); etc.
[00:07:22] <nOStahl> is it proper to add the geosearch provider code within the initmap() function though
[00:07:28] -!- Tecan has quit [Quit: Ex-Chat]
[00:07:48] -!- Tecan has quit [Changing host]
[00:08:43] <phillipadsmith> No idea… if you put the example I pasted into a .js file and load it into a HTML page with a <div id="map"> it'll work…
[00:09:21] <phillipadsmith> Hopefully that'll be enough to build on top of :)
[00:09:30] <phillipadsmith> Start simple, then expand
[00:15:16] -!- mendes [mendes!d981e32a@gateway/web/freenode/ip.217.129.227.42] has joined #leaflet
[00:15:30] -!- mendes has quit [Client Quit]
[00:16:44] <nOStahl> thats what I'm doing
[00:16:52] <nOStahl> but its throwing all kinds of oddities hehe
[00:17:19] <nOStahl> seem to be making progress though
[00:17:19] <nOStahl> Uncaught TypeError: Property '$' of object [object Window] is not a function l.control.geosearch.js:42
[00:17:19] <nOStahl> L.Control.GeoSearch.L.Control.extend.onAdd l.control.geosearch.js:42
[00:17:19] <nOStahl> n.Control.n.Class.extend.addTo
[00:17:20] -!- cmorley1 has quit [Ping timeout: 255 seconds]
[00:20:06] -!- micges has quit [Quit: Leaving]
[00:22:38] Tom_sbc is now known as Tom_itx
[00:29:11] -!- wildbilldonovan has quit [Read error: Connection reset by peer]
[00:30:17] <nOStahl> woot phillipadsmith got it working
[00:30:30] <nOStahl> digging through the files… I noticed it needs jquery...
[00:30:41] <nOStahl> so I had to include jquery in my plugin lol
[00:31:24] <phillipadsmith> heh
[00:31:31] <nOStahl> now next problem lol
[00:31:48] <nOStahl> I'm adding this to a custom meta box in wordpress custom post type
[00:32:08] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[00:32:14] <nOStahl> if I enter search term and hit enter.. it seems the focus is not on the search box but on the publish post button
[00:32:28] <nOStahl> so it dosnt search but instead updates the post instead lol
[00:35:45] -!- wildbilldonovan [wildbilldonovan!~anonymous@cpe-72-177-39-147.austin.res.rr.com] has joined #leaflet
[00:41:56] toudi_ is now known as micges
[00:47:46] -!- wildbilldonovan has quit [Quit: EOT]
[00:54:05] -!- mephux has quit [Excess Flood]
[00:55:38] -!- mephux [mephux!~mephux@unaffiliated/mephux] has joined #leaflet
[00:57:55] -!- Nick001-Shop has quit [Remote host closed the connection]
[00:59:18] -!- asdfasd has quit [Ping timeout: 248 seconds]
[01:00:23] -!- micges has quit [Quit: Leaving]
[01:02:32] toudi_ is now known as micges
[01:06:42] -!- bedah has quit [Remote host closed the connection]
[01:07:02] -!- Brandonian has quit [Quit: Brandonian]
[01:07:43] -!- snkashis has quit [Quit: Page closed]
[01:22:54] -!- Tecan has quit [Quit: Ex-Chat]
[01:22:56] -!- jp_ has quit [Ping timeout: 245 seconds]
[01:25:46] -!- PCW has quit [Remote host closed the connection]
[01:33:42] -!- skorasaurus has quit [Quit: left the building.]
[01:35:13] -!- rob__H has quit [Ping timeout: 240 seconds]
[01:37:15] -!- TheLargeRod has quit [Quit: Leaving.]
[01:43:50] -!- plushy has quit [Quit: Leaving.]
[01:52:13] -!- mozmck has quit [Quit: Leaving.]
[01:53:39] -!- V0idExp1 has quit [Quit: Leaving.]
[01:54:37] -!- FinboySlick has quit [Quit: Leaving.]
[01:55:13] -!- cmorley has quit [Ping timeout: 248 seconds]
[02:00:05] -!- jst has quit [Read error: Operation timed out]
[02:07:32] -!- Tecan has quit [Changing host]
[02:10:32] -!- Servos4ever has quit [Quit: ChatZilla 0.9.89 [SeaMonkey 2.14.1/20121129191050]]
[02:39:10] -!- adb has quit [Read error: Connection reset by peer]
[02:49:45] -!- micges has quit [Quit: Leaving]
[02:51:25] -!- ve7it has quit [Remote host closed the connection]
[02:52:53] -!- cmorley1 has quit [Ping timeout: 252 seconds]
[02:54:56] -!- andypugh has quit [Quit: andypugh]
[02:55:58] -!- cmorley has quit [Ping timeout: 256 seconds]
[03:02:13] -!- cmorley1 has quit [Ping timeout: 240 seconds]
[03:05:56] -!- Wildhoney has quit [Ping timeout: 252 seconds]
[03:18:33] -!- sumpfralle has quit [Read error: Operation timed out]
[03:22:28] -!- dr00bie has quit [Read error: Connection reset by peer]
[03:43:50] -!- cmorley has quit [Ping timeout: 256 seconds]
[03:49:13] -!- nOStahl has quit [Quit: nOStahl]
[03:50:38] -!- cmorley1 has quit [Ping timeout: 256 seconds]
[03:56:01] -!- nOStahl [nOStahl!~nOStahl@99-72-244-228.lightspeed.mdsnwi.sbcglobal.net] has joined #leaflet
[03:57:13] -!- nOStahl has quit [Read error: Connection reset by peer]
[04:22:23] -!- cevad has quit [Quit: Leaving]
[04:43:47] -!- ravenlock has quit [Ping timeout: 248 seconds]
[04:50:55] -!- cmorley has quit [Ping timeout: 260 seconds]
[05:06:38] -!- AR_ has quit [Ping timeout: 252 seconds]
[05:43:34] -!- tayy [tayy!~tayy@cm131.eta146.maxonline.com.sg] has joined #leaflet
[05:45:15] -!- Keknom has quit [Quit: Leaving.]
[05:45:20] -!- FinboySlick has quit [Quit: Leaving.]
[05:45:31] -!- [Chance] has quit [Ping timeout: 260 seconds]
[05:56:01] -!- mhaberler has quit [Quit: mhaberler]
[05:59:47] -!- AR__ has quit [Ping timeout: 255 seconds]
[06:01:40] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[06:15:36] -!- cmorley1 has quit [Quit: Leaving.]
[07:07:11] -!- tayy has quit [Remote host closed the connection]
[07:16:10] -!- ktchk has quit [Client Quit]
[07:27:02] frewsxcv is now known as frewsxcv94709
[07:32:41] -!- DaveCVI has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Organize your IRC]
[08:47:27] -!- [Chance] has quit [Ping timeout: 244 seconds]
[09:08:04] -!- racycle has quit [Quit: racycle]
[09:32:30] -!- vladimirek has quit [Remote host closed the connection]
[09:55:58] -!- Wildhoney [Wildhoney!~Wildhoney@cpc1-stap3-0-0-cust930.12-2.cable.virginmedia.com] has joined #leaflet
[10:04:49] -!- Wildhoney has quit [Ping timeout: 248 seconds]
[10:08:36] -!- mattions_ [mattions_!~mattions@cpc3-cmbg14-2-0-cust202.5-4.cable.virginmedia.com] has joined #leaflet
[10:08:41] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust202.5-4.cable.virginmedia.com] has joined #leaflet
[10:34:35] -!- psha has quit [Quit: Lost terminal]
[10:38:36] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[10:46:52] -!- mattions_ has quit [Quit: Leaving]
[10:50:40] -!- mattions has quit [Remote host closed the connection]
[10:51:00] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust202.5-4.cable.virginmedia.com] has joined #leaflet
[10:59:59] -!- pjm_ has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
[11:15:43] -!- micges has quit [Quit: Leaving]
[11:15:45] -!- motioncontrol has quit [Client Quit]
[11:26:33] -!- hdokes has quit [Quit: When the chips are down, well, the buffalo is empty]
[11:34:51] -!- micges has quit [Quit: Leaving]
[11:41:29] -!- syyl has quit [Ping timeout: 256 seconds]
[11:45:11] -!- sumpfralle has quit [Ping timeout: 244 seconds]
[12:06:58] -!- phantoxeD has quit [Read error: Operation timed out]
[12:34:54] -!- cmorley has quit [Ping timeout: 264 seconds]
[14:26:11] -!- bedah has quit [Ping timeout: 248 seconds]
[14:33:36] -!- skorasaurus [skorasaurus!~blahblahb@65.185.64.11] has joined #leaflet
[14:44:42] -!- Wildhoney [Wildhoney!Wildhoney@cpc1-stap3-0-0-cust930.12-2.cable.virginmedia.com] has joined #leaflet
[14:50:05] -!- gimps has quit []
[15:00:54] -!- jp__ has quit [Read error: Connection reset by peer]
[15:08:26] -!- wildbilldonovan [wildbilldonovan!~anonymous@cpe-72-177-39-147.austin.res.rr.com] has joined #leaflet
[15:23:19] -!- Wildhoney has quit []
[15:30:42] -!- bedah2 has quit [Quit: bye]
[15:33:39] -!- nOStahl [nOStahl!~nOStahl@99-72-244-228.lightspeed.mdsnwi.sbcglobal.net] has joined #leaflet
[15:37:40] -!- motioncontrol has quit [Quit: Sto andando via]
[15:44:15] -!- [Chance] has quit []
[15:58:30] -!- stsydow [stsydow!~stsydow@p4FC19DD9.dip.t-dialin.net] has joined #leaflet
[15:59:18] -!- kwallace has quit [Ping timeout: 252 seconds]
[16:13:28] -!- skorasaurus has quit [Ping timeout: 245 seconds]
[16:22:54] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[16:29:22] -!- skorasaurus [skorasaurus!~blahblahb@108.94.129.129] has joined #leaflet
[16:41:58] -!- firephoto has quit [Quit: ZNC - http://znc.in]
[16:42:40] -!- hashfail has quit [Read error: Connection reset by peer]
[16:48:20] firephoto_ is now known as firephoto
[16:55:35] -!- skorasaurus has quit [Quit: left the building.]
[17:10:46] -!- Wildhoney [Wildhoney!~Wildhoney@cpc1-stap3-0-0-cust930.12-2.cable.virginmedia.com] has joined #leaflet
[17:15:57] -!- ve7it has quit [Remote host closed the connection]
[17:18:55] -!- jpk [jpk!~jpk@unaffiliated/vorondil] has joined #leaflet
[17:23:47] -!- mattions has quit [Ping timeout: 248 seconds]
[17:42:25] -!- hdokes has quit [Ping timeout: 248 seconds]
[17:54:31] -!- skorasaurus [skorasaurus!~blahblahb@65.185.64.11] has joined #leaflet
[18:04:56] -!- snkashis [snkashis!~Adium@ool-44c5bcc5.dyn.optonline.net] has joined #leaflet
[18:23:51] -!- Loetmichel has quit [Ping timeout: 260 seconds]
[18:27:03] Cylly is now known as Loetmichel
[18:41:00] -!- mattions [mattions!~mattions@cpc3-cmbg14-2-0-cust202.5-4.cable.virginmedia.com] has joined #leaflet
[19:06:43] -!- jpk has quit [Ping timeout: 248 seconds]
[19:19:32] -!- sumpfralle has quit [Quit: Leaving.]
[19:33:26] -!- plushy has quit [Quit: Leaving.]
[19:43:46] -!- racycle has quit [Quit: racycle]
[19:44:45] -!- norbert has quit [Quit: Verlassend]
[19:55:00] -!- snkashis has quit [Quit: Leaving.]
[20:05:52] -!- mhaberler has quit [Read error: Operation timed out]
[20:09:55] -!- Adventsparky [Adventsparky!~kvirc@86-41-200-140-dynamic.b-ras1.lmk.limerick.eircom.net] has joined #leaflet
[20:09:56] -!- Adventsparky has quit [Client Quit]
[20:10:24] -!- nOStahl has quit [Quit: nOStahl]
[20:14:19] -!- plushy [plushy!~plushy@Wikipedia/Plushy] has joined #leaflet
[20:25:27] -!- L84Supper has quit [Quit: <puff of smoke>]
[20:31:36] -!- smsfail [smsfail!~smsfail@204.154.43.244] has joined #leaflet
[20:38:22] -!- holgi has quit [Quit: Bye]
[20:44:22] -!- micges has quit [Quit: Leaving]
[20:44:29] -!- motioncontrol has quit [Quit: Sto andando via]
[20:44:36] -!- nOStahl [nOStahl!~nOStahl@97-88-240-5.static.mdsn.wi.charter.com] has joined #leaflet
[21:14:15] -!- nOStahl has quit [Ping timeout: 252 seconds]
[21:21:21] -!- nOStahl [nOStahl!~nOStahl@97-88-240-3.static.mdsn.wi.charter.com] has joined #leaflet
[21:23:19] -!- bedah has quit [Quit: bye]
[21:27:54] -!- psha has quit [Quit: Lost terminal]
[21:42:01] -!- zzolo [zzolo!~zzolo@c-75-72-215-115.hsd1.mn.comcast.net] has joined #leaflet
[21:57:02] -!- heyapple [heyapple!5916abea@gateway/web/freenode/ip.89.22.171.234] has joined #leaflet
[22:05:11] -!- DJ9DJ has quit [Quit: bye]
[22:10:27] -!- nOStahl has quit [Quit: nOStahl]
[22:10:29] -!- Thetawaves_ has quit [Quit: This computer has gone to sleep]
[22:15:25] -!- zzolo has quit [Quit: zzolo]
[22:33:49] -!- racycle [racycle!~racycle@75-25-129-128.lightspeed.sjcpca.sbcglobal.net] has joined #leaflet
[22:35:18] -!- wildbilldonovan has quit [Quit: EOT]
[22:41:02] -!- nOStahl [nOStahl!~nOStahl@99-72-244-228.lightspeed.mdsnwi.sbcglobal.net] has joined #leaflet
[22:46:46] -!- nOStahl has quit [Quit: nOStahl]
[22:50:17] -!- nOStahl [nOStahl!~nOStahl@99-72-244-228.lightspeed.mdsnwi.sbcglobal.net] has joined #leaflet
[23:10:22] -!- jmk-mcfaul has quit [Quit: Ex-Chat]
[23:17:15] -!- mhaberler has quit [Quit: mhaberler]
[23:22:04] cevad is now known as davec
[23:35:28] -!- heyapple has quit [Ping timeout: 245 seconds]