New answers tagged

1

I do not see that as one of the options for the Search widget. If it truly is not an option in the OOTB widget, you can always write your own widget - use an HTML text box, maybe an autocomplete library like jQuery UI Autocomplete, and wire it up to use the Locator task, and after you get the results do your additional geometry filter using the Geometry ...


0

I don't think you can actually request the service with or without labels in a basemap. Generally the basemap will have or not, and only on selected features, depending the type of basemap that it is. If it is a political map, you may have the names of the continents, countries, states, counties, cities, towns. In the streets basemap the street names is a ...


1

1. Create a BasemapLayer of type VectorTileLayer. var vtlayer = new BasemapLayer({ styleUrl: "https://tiles.arcgis.com/tiles/bFDgLqS5IyUBQLAd/arcgis/rest/services/Color_Basemap_with_Buildings/VectorTileServer", type: "VectorTileLayer" }); 2. Create a Basemap object with the BasemapLayer included in the layers array property. var basemap = new ...


0

As @ericoneal mentioned, the solution was to use HTML in the URL. The webpage opens in a new tab in Google Chrome (which is good). Chrome Version 79.0.3945.130 (Official Build) (64-bit) <a href='http://maps.google.com/maps?q=&layer=c&cbll=43.000000,-78.000000'> Link </a> The SQL behind this is: '<a href=''http://maps.google.com/...


1

If you're using only the ESRI Javascript API and pure javascript to construct your infobox, you'll need to code some html for that field in the content of the infobox's template. for instance: "DESCRIPTION: http://mylink> Link " If you're using an ArcGISONline or Portal webmap to configure your popup, then it should detect the http and make a link ...


0

I think that option is disable when your map is in a different coordinate system that Web Mercator and Geographics. If you think about it, it actually make sense. I don't think it would be optimum to query the geometry service on each mouse move event. When you don't use the above mention coordinate systems, it only query the geometry service on each point ...


1

You could pass extra parameters to the error callback to figure out when the geoprocess fail. Try something like this, for (let i = 1; i < data.length; i++) { var params = { "var1": data[i][3], "var2": data[i][2] }; this.gp.execute( params, lang.hitch(this, this.onExecutethis), lang.hitch(this, function(error) { this.onError(...


1

The reason why the last console log (the one at the end of onShowResultsClick) executes first it that the first console log (the other one) is waiting for the query to be solved. The queryFeatures function do a request to the server to obtain the features. In other words you are telling execute this code (the function you pass as a parameter) when the ...


0

One way could be that you provide the collection of basemaps to the BasemapGallery and then you just need to compare the instances, to know which map is it. Something like this <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=...


0

I added few of new CSS classes to get this done .commentDiamond { background: #F7F7F7; display: block; height: 16px; position: absolute; width: 16px; z-index: -1; transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); ...


1

How about letting the browser do the work by adding this in the : <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/upgrade-insecure-requests


1

The URL that is sent to the server which is: https://serviceURL/FeatureServer/query?f=json&returnGeometry=false&spatialRel=esriSpatialRelIntersects&where=OBJECTID%3D64201&token=[tokengibberish] This URL must have the feature layer ID after the 'FeatureServer'. Your application is sending this request to server as the url parameter in ...


0

The problem is solved by adding (to float ) and filtering the null data.


Top 50 recent answers are included