POST
|
I am creating a viewer that is accessed by many people with varying needs. I want to allow other GIS departments that we work with to be able to download shpfiles or DWGs of data, but do not want general users to be able to do so. Is there a way to lock out certain users from accessing this widget?
... View more
07-26-2013
11:18 AM
|
0
|
0
|
1915
|
POST
|
See an example here.... [ATTACH=CONFIG]23804[/ATTACH] Here you can see the one of the two selected parcels in the lower left corner. [ATTACH=CONFIG]23805[/ATTACH] Once I click the arrow on the dojo popup, it then shows the second parcel in the upper right corner. Is there a way to have both of these highlighted at the same time???
... View more
04-26-2013
04:07 PM
|
0
|
0
|
559
|
POST
|
I am calling setselectionsymbol() but it will only show one highlighted parcel at a time. I have to use the Dojo popup to toggle between the selections. Here is the snippet that calls the function. sfs is the var for simple fill symbol. [HTML] //add the parcels layer to the map as a feature layer in selection mode we'll use this layer to query and display the selected parcels parcels = new esri.layers.FeatureLayer("http:// . . . . ./arcgis/rest/services/JCAD/MapServer/24", { outFields: ["*"], infoTemplate: popupTemplate, mode: esri.layers.FeatureLayer.MODE_SELECTION }); parcels.setSelectionSymbol(sfs); [/HTML]
... View more
04-26-2013
03:45 PM
|
0
|
0
|
559
|
POST
|
I am using the url to Query multiple parcels from my parcel layer. I can successfully run the code to get the multiple parcels and zoom to their extent, but it will only highlight (esri.symbol.SimpleFillSymbol) one at a time, and I have to use the arrows on the popup to toggle back and forth between the highlighted parcels. How can I get all of the selected parcels to display with the sfs symbol at the same time? function selectParcel(whereclause) { if (whereclause) { var query = new esri.tasks.Query(); query.where = whereclause; var deferred = parcels.selectFeatures(query, esri.layers.FeatureLayer.SELECTION_NEW, function (selection) { var center = esri.graphicsExtent(selection).getCenter(); var finalExtent = esri.graphicsExtent(selection).getExtent(); var extHandler = dojo.connect(map, 'onExtentChange', function () { dojo.disconnect(extHandler); //zoom to the center then display the popup map.infoWindow.setFeatures(selection); map.infoWindow.show(center); }); map.setExtent(finalExtent);
... View more
04-26-2013
11:48 AM
|
0
|
5
|
944
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|