tag:blogger.com,1999:blog-1939333832690092190.comments2023-11-24T11:46:52.583-07:00Geospatial ScottScott Davishttp://www.blogger.com/profile/17083267873910488816noreply@blogger.comBlogger150125tag:blogger.com,1999:blog-1939333832690092190.post-50376373869637936212017-10-11T18:43:00.934-06:002017-10-11T18:43:00.934-06:00It works, I got these images in sdcard using file ...It works, I got these images in sdcard using file protocol. The issue I ran across was that when I tried to get the images using file protocol the browser showed cors error message, but it was just a seetting of properties in openlayers plugin.<br /><br />Thank you very much.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-28496813992319277802017-10-03T14:09:27.676-06:002017-10-03T14:09:27.676-06:00Actually I didin't try this way but I think th...Actually I didin't try this way but I think that browser will not be allowed to take files from user's device, it will? or in this case FILE API solve this problem?<br /><br />Thanks for your attention Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-81701002542056480592017-10-03T13:10:43.485-06:002017-10-03T13:10:43.485-06:00I'm not sure. What about a file-based url? Do ...I'm not sure. What about a file-based url? Do those work for open layers?Scott Davishttps://www.blogger.com/profile/17083267873910488816noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-27378542458191714722017-10-03T12:03:32.474-06:002017-10-03T12:03:32.474-06:00Hello guys, its a great approach, but in my case I...Hello guys, its a great approach, but in my case I'm working with openlayers(http://openlayers.org/) and I have to show aerial images that are stored inside the user's device. I've been searching and I can't find a solution yet because the openlayers just works if we pass a url like this "https://localhost:8080/{z}/{x}/{y}.png" but considering we're working with mobile device It don't have your own web server so I can't access the tile images just passing a localhost url right?<br /><br /><br />Do you know any approach in this case? Is it right create a web server on client device to take this tile images, my problem here is just to take the tiles from device.<br /><br />Thanks in advance.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-10893939278910062562017-05-15T12:50:25.127-06:002017-05-15T12:50:25.127-06:00Hey Judson,
That script is long gone. Sorry! Did ...Hey Judson,<br /><br />That script is long gone. Sorry! Did you have any specific questions?Scott Davishttps://www.blogger.com/profile/17083267873910488816noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-37085769315547914782017-05-15T11:52:39.653-06:002017-05-15T11:52:39.653-06:00Hi Scott,
Can you possibly re-host the full scrip...Hi Scott,<br /><br />Can you possibly re-host the full script? I am looking to do something similar and it would be helpful if I can look at your example.<br /><br />Thanks!<br />JudsonJudsonhttps://www.blogger.com/profile/16477163855757366404noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-65640756382954557572016-12-13T11:33:59.431-07:002016-12-13T11:33:59.431-07:00This comment has been removed by the author.awarrenhttps://www.blogger.com/profile/09499780012073960090noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-56538119818182693332016-09-14T11:38:27.974-06:002016-09-14T11:38:27.974-06:00Probably too late to help anybody but just in case...Probably too late to help anybody but just in case I was able to do this using wpf dockable window. I accomplished this by changing "private System.Windows.Forms.Integration.ElementHost m_windowUI; ' to 'public System.Windows.Forms.Integration.ElementHost m_windowUI; ' in the user control declaration.<br /><br />I then was able to get the dockable user control from another class by using: <br /><br />var winImp = ESRI.ArcGIS.Desktop.AddIns.AddIn.FromID(ThisAddIn.IDs.CurrentSheet);<br /> CurrentSheet cs = (AssessorEditTools.CurrentSheet)winImp.m_windowUI.Child;Anonymoushttps://www.blogger.com/profile/15185179791751788141noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-38328674866417264082016-07-15T05:04:40.991-06:002016-07-15T05:04:40.991-06:00Beautiful explanation. Thanks and I really appreci...Beautiful explanation. Thanks and I really appreciate your efforts.<br /><br />It is indeed a headache to deal with dojo build system. And even more pain in case of working with ESRI JSAPI.<br /><br />Great work!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-52566507584312907202016-01-29T01:22:48.054-07:002016-01-29T01:22:48.054-07:00I am using this as a reference for in my phonegap ...I am using this as a reference for in my phonegap android application. The probelm is that leaflet is loaded with blank image.<br /><br />Can you gess the reason. Please help.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-14106658210462964462015-12-22T04:02:00.897-07:002015-12-22T04:02:00.897-07:00Please help me in above issue. ThanksPlease help me in above issue. ThanksSaurabhhttps://www.blogger.com/profile/01653927544410096459noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-59356660227783339812015-12-21T19:18:18.052-07:002015-12-21T19:18:18.052-07:00please help, how can i make this dockable window n...please help, how can i make this dockable window non resizable.<br />here is my complete post<br />https://geonet.esri.com/thread/166202Saurabhhttps://www.blogger.com/profile/01653927544410096459noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-45633338511408558242015-12-11T06:28:44.070-07:002015-12-11T06:28:44.070-07:00Hi Scott. Thank you very much for this post. I ...Hi Scott. Thank you very much for this post. I got a couple of headaches trying to figure this out using ESRI's resources. Really shaking my head about why your method is not how ESRI implemented it in the first place, as it lets you access the dockable window like a windows form. My ArcGIS addins are MUCH more robust now with far fewer headaches. I had been using timers and user settings to exchange data.<br /><br />For anyone still stuck, I followed Scott's instructions to the letter. Where I deviated is that I first declared (but did not initialize) the dockable window as an instance variable (accessible everywhere) in the tool I was calling the window from:<br /> public class Tool_AddProject : ESRI.ArcGIS.Desktop.AddIns.Tool<br /> {<br /> DockableWindow_Projects dockWin;<br /> DockableWindow_Projects.AddinImpl winImpl;<br /> <br />, and then initialized it as he indicated in the tool's constructor (sorry about the formatting):<br /> public Tool_AddPoint()<br /> {<br /> winImpl = AddIn.FromID (ThisAddIn.IDs.DockableWindow_Projects);<br /> dockWin = winImpl.UI;<br /> dockWin.Show();<br /><br />By declaring it first, you can access the dockable window from any method in your tool class. Scott's method is a significant improvement over using the UserData object (which, admittedly, I never figured out).Corey Smoliknoreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-24225091211795480422015-12-01T01:08:05.887-07:002015-12-01T01:08:05.887-07:00please help, how can i make this dockable window ...please help, how can i make this dockable window non resizable.<br />here is my complete post<br />https://geonet.esri.com/thread/166202Saurabhhttps://www.blogger.com/profile/01653927544410096459noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-87700801907889685082015-10-31T16:31:16.798-06:002015-10-31T16:31:16.798-06:00Thank you very muchThank you very muchBebek Alışveriş Sielerihttp://bebekalisverissiteleri.com/noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-75081351254792095492015-09-23T10:25:49.933-06:002015-09-23T10:25:49.933-06:00Thanks Scott! Here's the issue:
https://gith...Thanks Scott! Here's the issue:<br /><br />https://github.com/agrc/StubModule/issues/7<br /><br />As you'll see, I think I figured out what's going on. Now I'm just not sure what the best solution is.Mark Rubelmannhttps://www.blogger.com/profile/02081173667840890770noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-76764518731749713732015-09-23T07:35:27.486-06:002015-09-23T07:35:27.486-06:00I don't think that I've done it with Inter...I don't think that I've done it with Intern before but I don't see any reason why it wouldn't work. Open a new issue in GitHub with the specifics of your problem and maybe we can figure out what's going on.<br /><br />https://github.com/agrc/StubModule/issues Anonymoushttps://www.blogger.com/profile/11412898511978192468noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-69229006897470000632015-09-22T15:20:55.943-06:002015-09-22T15:20:55.943-06:00Wow, this is exactly what I've been hunting fo...Wow, this is exactly what I've been hunting for for days now! The only problem is that I can't get it to work. So far I've only tried it in Intern though. I saw an older post of yours that said you've only used it in Jasmine. Is that still the case or have you gotten it running in anything else?Mark Rubelmannhttps://www.blogger.com/profile/02081173667840890770noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-17111204398543042572015-01-27T06:43:37.054-07:002015-01-27T06:43:37.054-07:00Hi Scott
I have develop offline map App in phonega...Hi Scott<br />I have develop offline map App in phonegap.<br />I tried to modify your core.js (below). I want a local Database.db file<br />since I got already a lot of them :-) -- without downloading. <br /><br />function buildMap() {<br /> var db = window.sqlitePlugin.openDatabase({<br /> name : "Database"<br /> });<br /> <br /> var map = new L.Map('map', {<br /> center : new L.LatLng(41.311000, -72.927000),<br /> zoom : 14<br /> });<br /><br /> var lyr = new L.TileLayer.MBTiles('', {<br /> maxZoom : 17,<br /> scheme : 'tms'<br /> }, db);<br /> <br /> map.addLayer(lyr);<br />}<br />I got error.<br /><br />[Switching to process 392 thread 0x2303]<br />[Switching to process 392 thread 0x207]JavaScript Tutorialshttps://www.blogger.com/profile/18443358700094121393noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-37063145343439780922015-01-22T05:59:49.159-07:002015-01-22T05:59:49.159-07:00Thank you very much!Thank you very much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-74033043675195622422015-01-07T15:25:01.044-07:002015-01-07T15:25:01.044-07:00Thank you very much. You saved my day.Thank you very much. You saved my day.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-63308815246272580072014-12-15T07:17:27.652-07:002014-12-15T07:17:27.652-07:00Yes, I believe that you could do something similar...Yes, I believe that you could do something similar with IndexedDB. However there are size restrictions on that database that you would have to check.Scotthttps://www.blogger.com/profile/14763141078260627622noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-58939079075439041332014-12-12T22:07:48.854-07:002014-12-12T22:07:48.854-07:00Hello Scott,
I have to develop an application in ...Hello Scott,<br /><br />I have to develop an application in html5 that can serve maps in offline mode. My question is: Is it mandatory to use phonegap? Could I develop an application in html5 that synchronizes the tiles when online and then serves the maps locally?<br /><br />Anonymoushttps://www.blogger.com/profile/15344390597437198771noreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-90699516696919517902014-07-24T12:45:00.385-06:002014-07-24T12:45:00.385-06:00I have tried with Cordova as Christophe suggested,...I have tried with Cordova as Christophe suggested, but it seems leaflet is not able to load the tiles from the web directory. Did anyone got this to work with Cordova?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1939333832690092190.post-68912159952520045032014-05-05T06:56:19.210-06:002014-05-05T06:56:19.210-06:00I'm not an expert with Java and am booked for ...I'm not an expert with Java and am booked for the next six months. All the best in your efforts.Scotthttps://www.blogger.com/profile/14763141078260627622noreply@blogger.com