|
POST
|
Hi Gregory, The multiple define errors are indicating there is an ArcGIS JS API module loading conflict. The jquery.js file not found error is a module loader configuration issue within the ArcGIS JS API - not sure why that error is occurring, maybe jquery was specified as a module inside your require() function? I have very limited familiarity with Wordpress, maybe some else on the forum has solved this issue. My suggestion is to make sure the ArcGIS JS API loads after jQuery is loaded within the WP plugin lifecycle. You may have to experiment around a bit, reference: https://codex.wordpress.org/Plugin_API/Action_Reference
... View more
05-10-2019
10:30 AM
|
1
|
0
|
6467
|
|
POST
|
Hi Viet, thanks for bringing this to our attention. Yes, since version 4.10 the API is WebGL only. Can you open a tech support ticket? That's the best and most efficient approach for capturing the information needed and figuring out what's going on. When you have a ticket number email me: agup at esri dot com and I'll track it. We have lots of questions about your environment, the tests you ran, the applications you used, as well as details about your data, services and hardware.
... View more
03-29-2019
03:44 PM
|
0
|
0
|
1549
|
|
POST
|
To get labels to work you need to enable WebGL and it requires AGOL hosting or 10.6.1 for 2D. Does your app meet those conditions? If those conditions are met and if there is Labeling Info at the time of publishing, it should automatically be read and displayed. Here's a sample app demoing the concept. And, here is a list of the known WebGL limitations: FeatureLayer | API Reference | ArcGIS API for JavaScript 4.8.
... View more
07-24-2018
10:52 AM
|
1
|
1
|
2250
|
|
POST
|
Chris, here's a sample app that shows adding labels in 4.8. It uses the following code that includes an Arcade expression. const labelClass = { // autocasts as new LabelClass()
symbol: {
type: "text", // autocasts as new TextSymbol()
color: "green",
haloColor: "black",
font: { // autocast as new Font()
family: "playfair-display",
size: 12,
weight: "bold"
}
},
labelPlacement: "above-center",
labelExpressionInfo: {
expression: "$feature.MARKER_ACTIVITY"
}
};
... View more
07-24-2018
08:50 AM
|
0
|
3
|
2250
|
|
POST
|
Hey Paul, note we recommend asking questions for esri-loader over on its github issues page: Issues · Esri/esri-loader · GitHub. This helps us keep track of related issues. >> My question is: what is the preferred method to load Esri Modules that will be used in other methods; for example in a click event handler. This depends on the JavaScript framework such as Vue, React or Angular. Here's a getter/setter example in Angular. Sometimes it's also based on developer preference, sometimes it's a design requirement. >> Should the modules all be loaded at initialization? Also depends on how you are using esri-loader and your requirements. If you are using a JavaScript framework we recommend waiting until the framework has initialized. Here's an Angular example that waits until the ngOnInit() event. If you have a large application that loads many modules up front, it may be worth the effort to determine if any modules can be lazy loaded later to keep your initial loading time as fast as possible. >> What is the best way to make modules available to other methods in the class? Typically this would be the same as any another other JavaScript-based application. All variables will have to be within the JavaScript scope in order to be correctly referenced within a method. How you scope the variables will depend on the framework. Here's a React doc that talks about scoping. >> Should the modules be loaded in each method? As I mentioned above, we typically call this lazy loading. This approach is perfectly acceptable if you need to tweak the performance during application initialization. You'll need to examine the cost/benefit of this approach depending on your use cases. You may end up with a combination of loading modules at initialization and lazy loading others.
... View more
07-24-2018
08:35 AM
|
0
|
0
|
1606
|
|
POST
|
Søren Boll Overgaard looks like we only plan to support one layer in 3.x WFSLayer. Is there any chance you can convert that data to a different type of layer? There's a good chance that would offer more capabilities and better performance.
... View more
06-08-2018
12:07 PM
|
1
|
1
|
3616
|
|
POST
|
Søren Boll Overgaard I agree that doesn't sounds right. We're researching possible next steps, it may take a day or so since folks are on vacation. Niklas Köhn, you'll need to go thru Redlands tech support to have those bugs fully triaged and tracked. I sent you a separate email with additional details.
... View more
06-07-2018
03:18 PM
|
1
|
1
|
3616
|
|
POST
|
>> Should I add a Cordova script? From your code snippet line 12 above, I assumed you're already using Cordova? Since we don't test the JS API with Framework7, here are some options for you: - Try porting a simple test app to JS API 4.x and see if you have the same issue - Deep debug this issue in Framework7 - Use something other than Framework7 Something is interfering with the map click. You could try debugging inside the Framework7 code click handlers, for example, click.js.
... View more
06-05-2018
02:33 PM
|
0
|
1
|
1206
|
|
POST
|
Hey Levi, map click event works on Cordova 8.0.0 using ArcGIS API for JavaScript 3.24 and Android 8.1.0. That tells me it's very possible Framework 7 is introducing the problem. Did you try using the ArcGIS API for JavaScript 4.x?
... View more
06-05-2018
01:32 PM
|
0
|
1
|
1206
|
|
POST
|
Hi James, >> I realize this may be an Angular question but how can I see a list of valid exported entities? Looks like you have a typescript question, but in general for questions about 3rd party framework integration it's best to post questions directly on the respective github repos. You can use an IDE like VS Code and it will show the exported members via intellisense. Here's a link for more info. If you have doubts and want to double check the definitive source you can go directly to our `d.ts` file and control-F for the name: https://raw.githubusercontent.com/Esri/jsapi-resources/master/4.x/typescript/arcgis-js-api.d.ts >> And how would I hook up the search widget to the map in this context? There are several options. Option A - remove the reference to "esri.SearchWidgetProperties" because there isn't one. Option B - replace it with type "any", or Option C - you could create your own interface to enforce which properties are valid.
... View more
05-21-2018
12:43 PM
|
1
|
0
|
1984
|
|
POST
|
Shane, can you provide a simple sample (e.g. codepen, jsbin etc) that demonstrates this issue?
... View more
05-21-2018
08:31 AM
|
0
|
1
|
2550
|
|
POST
|
Hi Siva, make sure you are using esri-loader to load the ArcGIS API for JavaScript modules. angular-cli-esri-map is an example of how to work with Angular 5 and esri-loader. Also, just a friendly reminder that Angular 6 has been released to production. For best performance, load the css in your component as show here.
... View more
05-08-2018
10:03 AM
|
1
|
0
|
1032
|
|
POST
|
Sorry for the delay in responding. AppStudio and our Runtime SDKs are excellent choices for building offline mapping solutions. They offer robust offline coding patterns that work across platforms and they are fully supported. Web AppBuilder does not work offline. In comparison, browser-based offline mapping solutions have a number of challenges and limitations that make it challenging to build a stable application. Just to mention a few there are storage limitations, offline/online detection is challenging and gracefully handling offline browser restarts takes advanced JavaScript development and debugging skills.
... View more
12-20-2017
04:35 PM
|
1
|
0
|
1068
|
|
POST
|
Here's a rough sample that might be similar to what you want: JS Bin - Collaborative JavaScript Debugging
... View more
12-14-2017
10:47 AM
|
1
|
0
|
1462
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-10-2026 08:29 AM | |
| 1 | 03-26-2026 03:12 PM | |
| 2 | 02-21-2026 10:23 AM | |
| 2 | 08-01-2025 06:20 AM | |
| 1 | 05-27-2025 12:39 PM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|