|
POST
|
Hi This sample can not load secured web services!!! What changes I have to apply in your code? Regards
... View more
11-20-2017
11:57 PM
|
0
|
8
|
1481
|
|
POST
|
Hi I,m using api 3.22 and I need : geo wgs(4326), UTM - wgs84 (from zone 30 to zone 45) Regards
... View more
11-20-2017
11:54 PM
|
0
|
0
|
471
|
|
POST
|
I,m looking for a tools that can show map coordinate in different system but no like measurement system. I,m going to show coordinate bottom right of map permanently. regards
... View more
11-19-2017
06:32 AM
|
0
|
2
|
593
|
|
POST
|
Hi I,m going to change default overview expand factor, but it return error: var overviewMapDijit = new OverviewMap({ map: map, visible: true expandfactor:4 }); overviewMapDijit.startup();
... View more
11-19-2017
01:46 AM
|
0
|
1
|
717
|
|
POST
|
Hi Thanks, I have 2 problems: 1- the result of measurement is incorrct. I measure a distance that is 25 kilometers but the tools return 20 km. my map has web mercator projection. 2- I can not use base map gallery with measurement widget in one map! please help me
... View more
11-18-2017
09:48 AM
|
0
|
1
|
774
|
|
POST
|
Hi I have a sample code for add measurment tools to my tiled basemap, but it dont work! please help me. <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>Measure Tool</title> <link rel="stylesheet" href="https://js.arcgis.com/3.22/esri/themes/calcite/dijit/calcite.css"> <link rel="stylesheet" href="https://js.arcgis.com/3.22/esri/themes/calcite/esri/esri.css"> <style> html,body { height:100%; width:100%; margin:0; } body { background-color:#FFF; overflow:hidden; font-family:"Trebuchet MS"; } #map { border:solid 2px #808775; -moz-border-radius:4px; -webkit-border-radius:4px; border-radius:4px; margin:5px; padding:0px; } #titlePane{ width:280px; } </style> <script src="https://js.arcgis.com/3.22/"></script> <script> var map; require([ "dojo/dom", "esri/Color", "dojo/keys", "dojo/parser", "esri/config", "esri/sniff", "esri/map", "esri/SnappingManager", "esri/dijit/Measurement", "esri/layers/FeatureLayer", "esri/renderers/SimpleRenderer", "esri/tasks/GeometryService", "esri/symbols/SimpleLineSymbol", "esri/symbols/SimpleFillSymbol", "esri/dijit/Scalebar", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/TitlePane", "dijit/form/CheckBox", "dojo/domReady!" "esri/dijit/BasemapGallery", "esri/dijit/BasemapLayer", "esri/dijit/Basemap", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", ], function( dom, Color, keys, parser, esriConfig, has, Map, SnappingManager, Measurement, FeatureLayer, SimpleRenderer, GeometryService, SimpleLineSymbol, SimpleFillSymbol, BasemapGallery, BasemapLayer, Basemap ) { parser.parse(); //This sample may require a proxy page to handle communications with the ArcGIS Server services. You will need to //replace the url below with the location of a proxy on your machine. See the 'Using the proxy page' help topic //for details on setting up a proxy page. esriConfig.defaults.io.proxyUrl = "/proxy/"; esriConfig.defaults.io.alwaysUseProxy = false; //This service is for development and testing purposes only. We recommend that you create your own geometry service for use within your applications esriConfig.defaults.geometryService = new GeometryService("https://utility.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"); map = new Map("map", { basemap: "satellite", center: [-85.743, 38.256], zoom: 17 }); var watertemplateLayer = new BasemapLayer({ url: "https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/WaterTemplate/LocalGovernmentInfrastructureBasemap/MapServer" }); var waterBasemap = new Basemap({ layers: [waterTemplateLayer], title: "water", thumbnailUrl: "images/water.png" }); basemaps.push(waterBasemap); var sfs = new SimpleFillSymbol( "solid", new SimpleLineSymbol("solid", new Color([195, 176, 23]), 2), null ); var parcelsLayer = new FeatureLayer("https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_LandRecords_Louisville/MapServer/0", { mode: FeatureLayer.MODE_ONDEMAND, outFields: ["*"] }); parcelsLayer.setRenderer(new SimpleRenderer(sfs)); map.addLayers([parcelsLayer]); //dojo.keys.copyKey maps to CTRL on windows and Cmd on Mac., but has wrong code for Chrome on Mac var snapManager = map.enableSnapping({ snapKey: has("mac") ? keys.META : keys.CTRL }); var layerInfos = [{ layer: parcelsLayer }]; snapManager.setLayerInfos(layerInfos); var measurement = new Measurement({ map: map }, dom.byId("measurementDiv")); measurement.startup(); }); </script> </head> <body class="calcite"> <div id="mainWindow" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="design:'headline',gutters:false" style="width:100%; height:100%;"> <div id="map" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'"> <div style="position:absolute; right:20px; top:10px; z-Index:999;"> <div id="titlePane" data-dojo-type="dijit/TitlePane" data-dojo-props="title:'Measurement', closable:false"> <div id="measurementDiv"></div> <span style="font-size:smaller;padding:5px 5px;">Press <b>CTRL</b> to enable snapping.</span> </div> </div> </div> </div> </body> </html>
... View more
11-18-2017
04:20 AM
|
0
|
3
|
1064
|
|
POST
|
I used this sample, but I dont know how to add my tiled web services instead of topo, satellite and other.... . I dont like esri basemap and open street, I,m going to use my own services that are from ArcGIS Server 10.2.2. please help me more. Regards
... View more
11-16-2017
11:14 PM
|
0
|
10
|
1481
|
|
POST
|
Hi I,m going to add 4 arcgis web services(tiled), as a base map by toggle tools. but I can not do this. plese help me. Regards
... View more
11-16-2017
10:10 AM
|
0
|
14
|
2414
|
|
POST
|
hi I have a secured gpservice, but I dont know how set token for my geoprocessing widget in flex? id this correct: <taskurl>http://domain.com/arcgis/rest/services/cost/GPServer/cost?token=E1kaolJZRDJqRqnp9tp0mpJhRVkr_jX2mbaft6difWvrfV_X3nM6BXg1BlGYYwow4ErM9..</taskurl> Regards
... View more
10-24-2015
12:02 AM
|
0
|
0
|
2482
|
|
POST
|
Hi I need to change Popup skin: 1- change it to RTL 2- add border between records and fields.
... View more
08-27-2015
06:19 AM
|
0
|
1
|
3045
|
|
POST
|
Hi I have a province layer of a country(Italy), I,m going to add security to this layer based on provinces: User_1 just can view Rom. User_2 just can view Milan. user_n just can viewe......... ............................................ Is it possible? If yes how? Regards
... View more
08-08-2015
09:48 AM
|
0
|
0
|
2683
|
|
POST
|
I,m using elevation profile widget, when I use flex viewer 3.3 it works very well, but when I recompiled it by flex viewer 3.7, it return error that can not get elevation data. Is there any changes in flex viewer 3.7 that can not get elevation data in this widget? Regards
... View more
05-15-2015
08:35 AM
|
0
|
1
|
2889
|
|
POST
|
Hi I added swz to MIME Type 2 years ago. This error is random, some time return this error some time no. I have 20 widgets and this error randomly occured. some times for Popup.xml some times for widgets and some times for map layers. One more thing: In all situation other part of my web application works very good and just that one part(That did not load and returened error) dont work! What should I do? Regards
... View more
01-16-2015
12:43 AM
|
0
|
1
|
476
|
|
POST
|
Hi I have this error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032 What should I do?
... View more
01-15-2015
11:56 PM
|
0
|
3
|
4538
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-21-2017 07:19 AM | |
| 1 | 08-08-2018 11:09 PM | |
| 1 | 11-24-2017 03:46 AM | |
| 1 | 10-19-2014 03:54 AM |
| Online Status |
Offline
|
| Date Last Visited |
07-28-2021
04:28 PM
|