|
POST
|
@ChesouyeCoye Looks like the code is trying to use 4x code with the 3.43 API library. This will not work. See https://developers.arcgis.com/javascript/latest/ for more info about using the 4x API. For questions specific to the ArcGIS Maps SDK for JavaScript, it might better to ask in that specific community -- https://community.esri.com/t5/arcgis-maps-sdk-for-javascript/ct-p/arcgis-api-for-javascript
... View more
03-24-2023
03:17 PM
|
0
|
0
|
1123
|
|
POST
|
The webMercatorUtils.xyToLngLat() method "Translates the given Web Mercator coordinates to Longitude and Latitude values (decimal degrees).". If your data is in 102642 (which isn't Web Mercator) or you don't want it in latlong decimal degrees, then you'll have to use another method. But ... Is that an ArcGIS Geocoding Service? If so, it can do the projection for you, no need to do it yourself client-side. Also, the MapView should automatically project your graphics even if they're in a different spatial reference. No need to do it yourself. See e.g. https://developers.arcgis.com/javascript/latest/sample-code/client-projection/ If this above doesn't help, maybe you can share a codepen or something similar with the minimum code to reproduce the issue you're seeing?
... View more
03-24-2023
03:07 PM
|
0
|
1
|
3078
|
|
POST
|
If you don't mind my asking, is there any reasoning you can share about those other 7 fonts not being added? Those Arial ones are probably the most widely recognized amongst the group and would be useful. Legal unclarity, not technical. I'll try to follow up with our legal department.
... View more
03-24-2023
02:50 PM
|
0
|
1
|
1934
|
|
POST
|
Hi @JoelBennett Thanks for pointing this out. We will update the documentation. For now, we're not planning to add those seven woff2; and yes, the fonts needs to be available for full functionality. The PBF is used by TextSymbol and labelling, while WOFF2 is used by Legend/renderPreviewHTML. On a side note, I'm curious about (1) what your specific use case is for using esriConfig.fontsURL and (2) if your concern is about the console log / 404 request for the non-existing files or something else?
... View more
03-23-2023
04:36 PM
|
1
|
3
|
1972
|
|
IDEA
|
This was fixed several releases ago. Sorry for the delayed response.
... View more
03-22-2023
04:07 PM
|
0
|
0
|
789
|
|
POST
|
For more information about the 3x retirement, please see the blog -- https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/arcgis-api-for-javascript-version-3-x-retirement/
... View more
02-27-2023
02:03 PM
|
2
|
0
|
771
|
|
POST
|
It's not possible to use fields inside an object directly. However, you can use RequestInterceptor to flatten the field structure so that you can use the field data from inside field objects. See for example https://codepen.io/bsvensson/pen/YzjaKQg?editors=0010 -- which uses RequestInterceptor to create new fields like "core_details__device_type". cc: @JulianDurantini , @ScottSurber [Update] Looks like @UndralBatsukh already answered this in the original issue post -- https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-layer-property-is-an-object/m-p/1249156#M79951
... View more
02-15-2023
02:54 PM
|
0
|
0
|
1055
|
|
POST
|
Yes, you can still do the same thing. Just make sure the search widget has loaded before you assign it to the expandToolTip. Here's an example: https://codepen.io/bsvensson/pen/gOjKeKa?editors=1000
... View more
01-27-2023
11:25 AM
|
0
|
0
|
838
|
|
IDEA
|
01-23-2023
03:46 PM
|
0
|
0
|
1319
|
|
POST
|
Hi @NarasimhaNallamsetty , for questions related to iOS/Android, I would recommend asking in their related communities, see https://community.esri.com/t5/arcgis-maps-sdks-for-native-apps/ct-p/arcgis-runtime-sdks
... View more
01-05-2023
02:53 PM
|
0
|
0
|
8691
|
|
POST
|
@MarlaJohnson wrote: Also,is there a way to create a Spanish and English version of a Map Service. There are different aspects to this. For layer tites, that show up in LayerList and Legend etc widget, you can specify different layer titles. If you're using web maps, that would mean maintaining two web maps. Localizing your data is more complicated. Depending on what data you have and how you are using it. As an example, for string data, you could have one field per language. Or you could use Arcade to convert specific types etc into specific localized strings. asdasd
... View more
10-28-2022
12:19 PM
|
0
|
2
|
1374
|
|
POST
|
Hi @MarlaJohnson , yes, all the text etc in the widgets are localized. You can set an application to use a specific locale, and/or toggle between locales. See https://developers.arcgis.com/javascript/latest/localization/ require(["esri/intl"], (intl)
...
intl.setLocale("es");
... View more
10-28-2022
11:55 AM
|
0
|
0
|
1376
|
|
POST
|
@TonyGraham - By default the MapView will snap to the LODs. You can turn that off, and it should zoom to the exact extent you set. constraints: {
snapToZoom: false
} https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints
... View more
10-25-2022
10:48 PM
|
2
|
0
|
789
|
|
POST
|
Hi @GennadiiPrykhodko , no there isn't a way to change the length of the scalebar. It's calculated dynamically based on the scale of the map.
... View more
10-25-2022
10:33 AM
|
1
|
0
|
804
|
|
POST
|
Hi @Rmoser3 Retired API releases will continue to be hosted on our CDN for the foreseeable future (so apps built against retired versions of the API will continue to work). -- from the footnotes on https://support.esri.com/en/Products/Developers/web-apis/arcgis-api-for-javascript/#product-support and also on https://developers.arcgis.com/javascript/3/jshelp/whats_new.html
... View more
10-25-2022
09:03 AM
|
1
|
0
|
581
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 03-17-2025 08:24 AM | |
| 3 | 03-17-2025 07:27 AM | |
| 4 | 02-26-2025 11:37 AM | |
| 1 | 03-23-2023 04:36 PM | |
| 2 | 02-27-2023 02:03 PM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|