|
POST
|
You get to specify the parameter format. ?x1=123.123&y1=123.123&... ?extent=123.13,123.12,123.12,123.12 What I think you might have missed is the JS code that reads it in. //get the web map id from the url urlObject = esri.urlToObject(document.location.href); urlObject.query = urlObject.query || {}; if(urlObject.query && urlObject.query.webmap){ configOptions.webmap = urlObject.query.webmap; } You need to read the params off the url/query string and the do something with the values.
... View more
01-11-2016
10:35 AM
|
0
|
0
|
2116
|
|
POST
|
Could you have your JS code simply insert another row into the Legends Div with the Icon and Label you want?
... View more
01-11-2016
05:21 AM
|
1
|
1
|
2146
|
|
POST
|
Given that its the same code but different services - Seems like your issue is with the some difference in the services. Also, I thought that number was in pixels not feet. The number of px from your click to search so as to not be scale dependent. ( I didn't look it up so don't quote me )
... View more
01-11-2016
05:16 AM
|
1
|
1
|
735
|
|
POST
|
>> so my question is should i have to build a new website for myself?? I just wanted to make sure your question got answered. We got a little technical on you. In the same way that IIS or Apache server serve up HTML, ArcGis Server serves up maps. So to get your map on the web you need to talk to an ArcGis Server instance. This is where we "Make our new web side" except its a Map (or map services). In the same way your browser can talk to multiple web sites at the same time and merge them on a single page, Our browsing map clients can ingest multiple maps from multiple ArcGis Servers on the same screen/map. Some things you can try to get your map published on the web: -Get a trial version of ArcGis Server and try it out. -Ask your department, odds are your facility already has one setup that you might be able to use. -Use ArcMap to publish to an opensource map server service such as GeoServer (sorry for the heresy esri) Once you find an ArcGis Server you can publish to - the actual steps to publishing are fairly simple.
... View more
01-08-2016
06:13 AM
|
0
|
0
|
894
|
|
POST
|
This is Really fishing.... Long time ago, there was an issue printing custom graphics layers. The issues was that the web map formatted message it sent to the printing service did not include the local graphics info. The work around at the time was to create your own web map formatted message and send it to the print service yourself. Could the same type of bug exist with MapImageLayer? Perhaps a quick test of creating the Print message yourself with one image to eliminate that as an issue and narrow the problem down?
... View more
01-06-2016
04:55 AM
|
1
|
2
|
1162
|
|
POST
|
One thought for next time then... Some companies offer to embed your team into theirs during projects. It is not uncommon for me to work on a development project with a client team member also doing coding and our team providing mentoring and guidance. This leaves them in an excellent position to update and maintain their own system. So, just given this limited conversation ( 3 grains of salt needed ) I'd recommend - Adopting Web App Builder as the base platform. Develop, using internet training, team members in Map Creation/Publishing, JavaScript and the Esri JS SDK. Then contract out a custom widget with a trusted contractor and embed one or two of your team in development. imho.
... View more
01-06-2016
04:29 AM
|
1
|
0
|
1651
|
|
POST
|
Seems like the goal is to get the app out and not necessarily to learn or understand javaScript. You may want to consider the Web Application Builder (Web AppBuilder for ArcGIS | ArcGIS ) This will give you a very robust application w/o much, if any, coding. All of the standard mapping functions can be found in build in and 3rd party widgets. You could then write your own custom widget or contract it out.
... View more
01-05-2016
08:13 AM
|
2
|
0
|
2386
|
|
POST
|
w/o the errors, we are just guessing. But here is how I did it. I took a slightly different approach because I have to do this all the time. None of my clients let me go outside for much of anything. 1) Downloaded latest SDK from SDK Downloads | ArcGIS for Developers and placed in \scripts\libs\esri_3.15 2) Added the following to my resource bundle (I'm using APS.net MVC 4 as my base web project) bundles.Add(new ScriptBundle("~/bundles/esri") .IncludeDirectory("~/Scripts/libraries/esri_3.15", "*.js") ); 3) and the following to my .html. it places base url in a hidden field to be pulled out by the lib so I don't have to keep doing a search and replace every time I do this for another project @{string baseUrl = new Uri(Request.Url, Url.Content("~")).AbsoluteUri;} @Html.Hidden("hfBaseUrl", baseUrl) <script type="text/javascript"> window.hfBaseUrl = $("#hfBaseUrl").val().replace(/https*:\/\//gi, ""); </script> @Scripts.Render("~/bundles/esri"); 4) Replace the paths in the sdk with : baseUrl: (location.protocol === 'file:' ? 'http:' : location.protocol) + '//' + window.hfBaseUrl + "Scripts/libraries/esri_3.15/dojo", 5) Reference the CSS files (this might be why everything is blank for you) I pulled the css files out and placed them in my \css dir I then added them to my resource bundle and then on to the html.
... View more
01-05-2016
08:07 AM
|
0
|
0
|
2881
|
|
POST
|
I'm an old Flex guy. I've made the jump to JS and it was not terribly difficult. Your team will have the advantage of using an existing "framework" in the Web App Builder. There is a Tone of sample and professional widgets to look at and copy the patterns there. All of the concepts they are similar and exist with in the JS and Web App builder tools, ie Repeaters, Tables, Popups ect. All the Mapping functions are similar or identical. I would recommend getting a www.pluralsight.com account and turning them loose on that before getting specific map or JS training. Getting them up to speed in JS and the Esri JS SDK I think you can do on your own, then, if needed, do more specific training on the areas you need to be experts in. Odds are, if your team did it in flex, they can do it in JS. I do miss my compiler though ; )
... View more
01-05-2016
07:49 AM
|
1
|
0
|
1651
|
|
POST
|
lol, Me: Well that's a big flippn question! Gotta see what the answer is ; )
... View more
12-31-2015
08:18 AM
|
0
|
0
|
2695
|
|
POST
|
We add this to our main page to make it easy for the JS @{string userName = User.Identity.Name;} @Html.Hidden("hfUserName", userName)
... View more
12-31-2015
08:16 AM
|
0
|
0
|
1375
|
|
POST
|
I'm a C# kinda guy and I'm using ASP.net and a Web.config I needed to tell IIS that it is ok to use the other HTTP Verbs [ Post and Delete ] like this: <add name="Access-Control-Allow-Credentials" value="true" /> <add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" /> <add name="Access-Control-Allow-Headers" value="X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, X-Requested-With" /> More Context: <system.webServer> <handlers> <add name="LoggerHandler" verb="*" path="*.logger" type="JSNLog.LoggerHandler, JSNLog" resourceType="Unspecified" preCondition="integratedMode" /> <add name="LoggerHandler-Classic" path="*.logger" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode" /> </handlers> <httpProtocol> <customHeaders> <add name="Access-Control-Allow-Credentials" value="true" /> <add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" /> <add name="Access-Control-Allow-Headers" value="X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, X-Requested-With" /> </customHeaders> </httpProtocol> </system.webServer> <jsnlog productionLibraryPath="~/Scripts/libraries/jsnlog.js" serverSideLevel="INFO" serverSideMessageFormat="CLIENTLOG, %level, %logger, %jsonmessage, %userHostAddress, %url" /> <common> <logging> <factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4net1211"> <arg key="configType" value="INLINE" /> </factoryAdapter> </logging> </common> I can't tell from your post what back end you chose, but I would wager there is a "Server Side" setup section of JSNlog setup that you need to go back over. I believe your problem lies there. Its trying to send the log message back to the server and is being blocked because its using the HTTP verb "Put" and that is being blocked by your web server. You need to let it know, Put is Ok. The specifics will be in the install section of the back end you chose (php, java, C#, ect)
... View more
12-31-2015
07:37 AM
|
0
|
2
|
1466
|
|
POST
|
We restarted the ArcGis Services 2x and then it was able to connect to the cluster and the data store's. Go figure. Never underestimate the power of a reboot.
... View more
12-28-2015
01:14 PM
|
3
|
1
|
1704
|
|
POST
|
I'm hitting a odd issue when trying to connect a new 10.2.2 ArcGis server to an existing cluster. Error: Failed to join the site ..... Server machine .... returned an error. cannot access ... data store(s) registered with the site. Please ensure that the ArcGIS server account has read and write access to the data store(s). - The NT user account that ArcGis server is running under is the same as all the other clustered machines. Pwd verified. - The machine in question can connect to the oracle db via TNSPING and SQLDeveloper - All datastores are listed in the error message. - Same oracle client used on working machines was the only oracle client installed on machine experiencing issues. Does anyone have any diag tips? Thanks in advance.
... View more
12-28-2015
09:25 AM
|
0
|
4
|
4432
|
|
POST
|
I have had good luck with JSNlog - Logging JavaScript errors to your server side log - JSNLog It is a client (JS) side logging framwork/Lib that will "beam" your logs back to the server. It has several backends that work with it and all are very easily configured.
... View more
12-28-2015
04:08 AM
|
1
|
4
|
1466
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-16-2025 09:54 AM | |
| 1 | 05-12-2014 01:47 PM | |
| 1 | 06-22-2017 08:13 AM | |
| 1 | 02-12-2018 09:03 AM | |
| 1 | 01-28-2016 03:55 PM |
| Online Status |
Offline
|
| Date Last Visited |
09-25-2025
06:49 AM
|