POST
|
I have a project in which we would like to use a large-screen monitor (~60”) for displaying maps. We need to be able to draw on the map by touching the monitor. In some case we may want to highlight and identify features, or write some text. And, whatever is drawn needs to move as the map changes. Does anyone know of a product that will allow us to do this? Thank you.
... View more
04-03-2020
09:00 AM
|
0
|
1
|
405
|
POST
|
Thank you. I did get this to work. In ArcMap I created multiple buffers that turned on/off at specific zoom levels. Then in Portal I enabled popups for each of the buffers.
... View more
04-13-2016
06:22 AM
|
0
|
0
|
333
|
POST
|
I am creating a map with relatively large icons for the symbols. In ArcMap I set the selection tolerance so that I'm guaranteed to get the point by selecting within that tolerance, which covers my icon. However, when I publish the map as a service then use it within Portal for ArcGIS that tolerance is lost. As a result, most clicks on the icon will NOT select the point. How do I get that selection tolerance to be available in the map when I use it in Portal?
... View more
04-05-2016
02:49 PM
|
0
|
2
|
2646
|
POST
|
I figured out what I was doing wrong, so I thought I would update this post. As soon as I added the data-dojo-type="dijit/form/FilteringSelect" to the <select> element, dojo would create an element with the same id as the <select> element. Since I also created a FilteringSelect object in my code, this caused an error. In order to eliminate the error while using the data-dojo-type I needed to remove this section of code. var fs = new FilteringSelect({ //id: "buildingSelect", // It seems to make no difference if I use this or not. searchAttr: "name", labelAttr: "name", value: "id", queryExpr: "*${0}*", store: store, searchDelay: "800", autoComplete: true }, "buildingSelect").startup(); // .startup() seems optional and in it's place, add these lines, in order to set the properties in the buildingSelect object. dijit.byId("buildingSelect").store = store; dijit.byId("buildingSelect").queryExpr = "*${0}*"; dijit.byId("buildingSelect").searchDelay = "800"; dijit.byId("buildingSelect").autoComplete = true;
... View more
03-17-2016
12:09 PM
|
0
|
0
|
551
|
POST
|
I have created a simple application that uses QueryTask to search a layer for building. I am using the FilteringSelect dijit to populate a <select> element with the data returned from the search. The application works. In the working code, I did not use data-dojo-type="dijit/form/FilteringSelect" in my <select> element but then decided I should add it (although I'm not sure what it's doing for me other than allowing me to add some placeholder text by adding the data-dojo-props="placeHolder: 'Find a Building'" attribute to the <select> tag). After I do this, I get the following error. I've spent quite a bit of time searching the web, including GeoNet, for a solution. I am not the first person to see this error, but I can't see how to implement the solutions I've found since the reported problems are not quite the same. I've also used the Chrome debugger but with no success in identifying the problem. I understand that the id should be unique in the document, and it is, until I add the data-dojo-type="dijit/form/FilteringSelect". I'm not sure how, or where, or why for that matter, it's creating a new one. I've attempted giving my existing element a new id and modifying the other code that references it, but that doesn't help. Anything I do that removes the error message creates a new problem in that the code no longer populates the dijit. Here's the HTML snippet. <select id="buildingSelect" data-dojo-type="dijit/form/FilteringSelect" data-dojo-props="placeHolder: 'Find a Building'"></select> I can also use an <input> element instead of the <select> but the results are the same. Here's the JS I use to populate the <select> element. function loadResults(results) { var bldg_dsp, values=[], selectedID=[], features = results.features; dojo.forEach(features, function(feature) { bldg_dsp = feature.attributes.BuildingName + " (" + feature.attributes.BuildingID + ")"; bldg_id = feature.attributes.BuildingID; values.push({"name": bldg_dsp,"id": bldg_id}); }); var store = new Memory({data:values}); var fs = new FilteringSelect({ //id: "buildingSelect", // It seems to make no difference if I use this or not. searchAttr: "name", labelAttr: "name", value: "id", queryExpr: "*${0}*", store: store, searchDelay: "800", autoComplete: true }, "buildingSelect").startup(); // .startup() seems optional dojo.connect(dijit.byId("buildingSelect"),"onChange",getBuilding); dijit.byId("buildingSelect").focus(); } I am new to developing with the ArcGIS JavaScript API, and Dojo, and would appreciate any suggestions as to how I can resolve this error. Or if I should just not use the data-dojo-type code that's causing the error. Thanks.
... View more
03-10-2016
07:05 AM
|
0
|
1
|
2361
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|