POST
|
Hi guys, today i was looking some new functionality about the interactive legend and i open a url webapp from esri and i see a new widget that i think its a ScreenShot Widget, can someone give me more information about that widget, if is custom dev or is a premade widget, etc. thank you. FYI: urlapp=https://webapps.maps.arcgis.com/apps/InteractiveLegend/index.html?appid=8a242fc27b8e4d91b9b2fa076302702f Robert Scheitlin, GISP
... View more
04-08-2019
02:05 PM
|
0
|
3
|
830
|
POST
|
Hi Tristan, try to use this example and consist to set the WebGL with value of 1 in the dojo config. var dojoConfig = {
has: {
"esri-featurelayer-webgl": 1
}
}; Display more data with FeatureLayer | ArcGIS API for JavaScript 3.27 FeatureLayer | API Reference | ArcGIS API for JavaScript 3.27
... View more
03-12-2019
09:41 AM
|
1
|
0
|
2429
|
POST
|
Hi Guys. i am having problems with the StreamService in GeoEvent 10.6.1 I try diffrente JSON Service in geoevent 10.5 and its work fine , but when i update to 10.6.1 the input and the output looks like its was working ok but when i suscribe i dont get information in my subscription WebSocket and in the logs appear this message. The GeoEvent received from the GeoEvent Service (some-event-definition-name) is a different type than the schema of the destination Stream Service (stream-service-out). But the schema is ok. I hope you can help me, thank you.
... View more
09-11-2018
07:19 AM
|
0
|
0
|
374
|
POST
|
Thank you liang ! thats work great thank you very much, thats resolve a problem from my widget.
... View more
07-31-2018
06:42 AM
|
0
|
0
|
645
|
POST
|
Try to set the arcpy.env.workspace with the SDE path and just call the name of the FC in the list.
... View more
07-05-2018
09:41 AM
|
0
|
1
|
2564
|
POST
|
Robert Thank you so much, i can query with the GraphicLayerIds and works perfect !
... View more
06-08-2018
08:43 AM
|
0
|
0
|
558
|
POST
|
Hi Robert Thank you, i forget answer and mark as correct , yes its work perfect, when i call the parameter but i have another problem, I need to set that param value to make a DefinitionQuery to a layer that was add in the webMap, the problem is when i use the getLayersId i just get the basemap id but not the other layer to setDefinitionQuery, do you have any idea ?
... View more
06-08-2018
06:51 AM
|
0
|
2
|
558
|
POST
|
Robert other question, do you know how to get the name of a featureLayer in WAB to use the propertie lyrQuakes.setDefinitionExpression("MAGNITUDE >= 2.0"); when the user load the WAB ??Robert Scheitlin, GISP
... View more
05-31-2018
07:57 AM
|
0
|
1
|
546
|
POST
|
Hi Robert i use this line in the mapDeferreded and nothing happends, on(map,"load", function() { alert("Hello !!"); }); But when i try with the event layer-add they trigger the same times that layer i have in my web map but i just want to trigger once.
... View more
05-31-2018
06:51 AM
|
0
|
1
|
546
|
POST
|
Hi Guys, i set this code line in the mapManager.js in the WAB Application _show2DWebMap: function(appConfig) { //should use appConfig instead of this.appConfig, because appConfig is new. // if (appConfig.portalUrl) { // var url = portalUrlUtils.getStandardPortalUrl(appConfig.portalUrl); // agolUtils.arcgisUrl = url + "/sharing/content/items/"; // } on(this.map, "load", lang.hitch(this, function() { //do something to addedLayers })); but i get this error: The big problem is that i have declare dojo on the define function, i dont know what is the error, thank you.
... View more
05-30-2018
01:29 PM
|
0
|
5
|
765
|
POST
|
Hi Friends, if some one can help me or give any idea how i can query the Feature Access Service in a WebApp Builder if i pass the parameter in the url with the OnLoad Event, i have this code idea: url = http://localhost/webApp/Index.html?CountryCode = 1 I get the code with javaScript Code and then i pass to QueryTask in JavaScript in the MapManager mapMain.graphics.clear(); var x = "URL PARAMETER GET" //alert(x); var query2 = new Query(); query2.outFields = ["CODIGO_CATASTRAL,MUNICIPIO"]; query2.returnGeometry = true; query2.where = "COUNTRY_CODE= '"+x+"'"; queryTask2.execute(query2, CreateGraphics); . . . If some one Have any idea of how to do that its be very helpfull thanks !
... View more
05-30-2018
07:25 AM
|
0
|
5
|
716
|
POST
|
Thank you for all your answers, i solve with python snnipet adding the legend to the mxd but i will try that code with 4.7 and i need to migrate all the code 3.24 to 4.5, thank you so much
... View more
05-11-2018
06:17 AM
|
0
|
0
|
1730
|
POST
|
Hi! I added some graphics in a graphicLayer which works well in the browser web map and also in the PNGproduced with the server print task. You can see the graphics in the PNG but in the legend you see the symbols but only the item names "Override 1" "Override 2" etc. I'm unable to change Override items. I know that is related to label field of renderer in the layer, beacuse I make a test changing manually de JSON in a JSON editor, but I don't know how to create the object in the API to send the right JSON and be able to change de Override. I've tried with a FeatureCollection and add a renderer with label,but doesn't work either. function showFullPolygon(resultPolygon) { console.log(resultPolygon); /** Ocultar loading del SIT */ SIT.HideLoading(); /** Simbología para dibujar los colindantes*/ var symbol = new SimpleFillSymbol( SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol( SimpleLineSymbol.STYLE_SOLID, new Color([77, 89, 93]), 2 ), new Color([208, 141, 0, 0.19]) ); /** Definir las capas resultantes del geoproceso fuentes externas*/ featuresCrossPoly = resultPolygon.value.features; var defaultSymbol = new SimpleFillSymbol().setStyle(SimpleFillSymbol.STYLE_NULL); defaultSymbol.outline.setStyle(SimpleLineSymbol.STYLE_NULL); var renderer = new UniqueValueRenderer(defaultSymbol, "CAPA"); var GLayer = new GraphicsLayer(); GLayer.id = "cruce"; /* * Recorrer cada capa que sera * dibujada como un gráfico en el mapa */ for (var i = 0, il = featuresCrossPoly.length; i < il; i++) { leyendaCapas.forEach(function (capas) { if (featuresCrossPoly.attributes.CAPA == capas.name) { var symbol = new SimpleFillSymbol( SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol( SimpleLineSymbol.STYLE_SOLID, new Color([capas.rgb]), 2 ), new Color([115, 178, 115, 0.35]) ); } }); var textLegend = featuresCrossPoly.attributes.CAPA; /** Capa gráfica para colindantes*/ var graphic = featuresCrossPoly; //graphic.geometry.spatialReference = map.spatialReference; graphic.geometry = webMercatorUtils.geographicToWebMercator(graphic.geometry); var legendGraphic = featuresCrossPoly.geometry.getExtent().getCenter(); var legend = new esri.symbol.TextSymbol(); //legend.setColor([132, 134, 76]); legend.setText(textLegend); legend.setAlign(esri.symbol.TextSymbol.ALIGN_MIDDLE); legend.setHorizontalAlignment("center"); /** Asignar simbología */ graphic.setSymbol(symbol); /** Obtener extent y centro para leyenda */ //map.graphics.add(graphic); //GLayer.add(graphic); map.graphics.add(graphic); map.graphics.add(new esri.Graphic(legendGraphic, legend)); console.log(graphic); } GLayer.renderer = renderer; featuresCrossPoly.renderer = renderer; map.addLayer(GLayer); console.log(graphic); //map.addLayer(featuresCrossPoly); queryExternalCross(); }
... View more
04-19-2018
09:12 AM
|
0
|
9
|
2781
|
POST
|
Thank you robert, i refer an alert like a new window to put an example, thank you !
... View more
04-19-2018
07:29 AM
|
0
|
0
|
2862
|
Title | Kudos | Posted |
---|---|---|
1 | 03-12-2019 09:41 AM | |
1 | 04-05-2018 07:58 AM | |
1 | 09-06-2016 06:16 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|