|
POST
|
Hi @ArianaBernal - in order for this to work, you need to create a portal instance within the source, and define the galleryTemplatesGroupQuery within that, like this: const basemapGallery = new BasemapGallery({
view: view,
source: {
portal: new Portal({
url: "https://corr.maps.arcgis.com",
galleryTemplatesGroupQuery: "d3cad8c2b40046928585d09b020e133c"
})
}
}); Here's a codepen if you want to see the full example in action: https://codepen.io/annefitz/pen/RwBjEae?editors=1000
... View more
01-19-2023
09:07 AM
|
1
|
2
|
3059
|
|
POST
|
Hi @ADITYAKUMAR1 - Could you provide a codepen that reproduces your error? Or is there an error message that shows in the console that you could share?
... View more
01-17-2023
08:14 AM
|
0
|
2
|
3542
|
|
POST
|
Hi @MKpoa - could you provide a codepen or some sort of repro case with your symbol? I was not able to render your symbol directly since I did not have access to the images/data you were referencing, but I was able to render your symbol with just the first two symbol layers (VectorMarkers with embedded TextSymbols) correctly in 3D. Here's a codepen: https://codepen.io/annefitz/pen/xxJrKQr?editors=1000
... View more
01-12-2023
11:47 AM
|
0
|
1
|
2408
|
|
POST
|
You can enable the popup on WMSLayer by setting popupEnabled: true, and queryable: true on the WMSSublayer. Here's an example: https://codepen.io/annefitz/pen/gOjWNKb?editors=100
... View more
01-12-2023
08:45 AM
|
0
|
0
|
5437
|
|
POST
|
Hi @KenBuja - thanks for providing some more info! I think it should work if you add Expects($feature, 'MAX*') at the beginning of your expression. The Expects function makes sure you have all the fields related to your expression available on the client. By default, only the fields used to visualize your data are available. For more information, check out the documentation for the Expects function. Let me know if this works for you!
... View more
01-03-2023
09:15 AM
|
0
|
1
|
2389
|
|
POST
|
Hi @KenBuja - any chance you could share the webmap? This would help us understand the issue a bit better.
... View more
12-29-2022
02:15 PM
|
0
|
1
|
2412
|
|
POST
|
Hi @JackFanZhang - you can easily add animations to point symbols with animated GIFs and PNGs in PictureMarkerSymbol or CIMSymbol with a CIMPictureMarker symbol layer. You can also create a custom layer with animations, as shown in this sample: https://developers.arcgis.com/javascript/latest/sample-code/custom-gl-visuals/ Hope this helps!
... View more
12-07-2022
02:20 PM
|
1
|
1
|
2207
|
|
POST
|
Hi, glad to hear the conversion from SVG is working well for you!! The cut off issue you are running into is a known limit right now unfortunately. It happens when you use a size visual variable based on real world sizes (lines 273-275 in your codepen). At larger scales, the symbol becomes too large to render properly with our current implementation. This is why you only notice cut off when zooming in to large scales, but don't notice it when zooming out. A workaround for this could be to set a maxScale on your MapView so that users cannot zoom in to scales where the symbols get cut off. Side note: ScaleX is only a property on CIMPictureMarker symbol layers, so that primitive override has no effect now that you are using a CIMVectorMarker symbol layer.
... View more
11-30-2022
08:44 AM
|
1
|
2
|
1875
|
|
POST
|
@GregDunnigan Sorry about that! It should be available in Enterprise 11.0.
... View more
11-28-2022
10:39 AM
|
0
|
0
|
1782
|
|
POST
|
@GregDunnigan - you could also try authoring your Arcade expression via the Arcade popup content element. Here's a blog that explains how it's done: https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/part-1-introducing-arcade-pop-up-content-elements/ This solution should work in Field Maps and Pro 3.0.
... View more
11-17-2022
12:58 PM
|
1
|
1
|
1803
|
|
POST
|
Hi @JoshGore - If your Web Style symbols have a thumbnail defined, you can just load those as the preview initially, and then convert the symbol to a CIMSymbol once the user selects the symbol in your styler widget. This might be faster than converting them all to CIM symbols initially. function initializeWebStyles() {
esriRequest(styleUrl + "/data", {
responseType: "json"
}).then(function (response) {
response.data.items.forEach((item, index) => {
let card = document.createElement("calcite-card");
let cardImage = document.createElement("img");
// use the webstyle symbol thumbnail to populate the card image
cardImage.src=styleUrl + item.thumbnail.href.substring(1);
cardImage.width = 50;
card.appendChild(cardImage);
card.style.width = "75px";
// update the symbol when the item is clicked
card.addEventListener("click", () => updateWebStyle(item.name));
document.getElementById("styles").appendChild(card);
});
});
} That snippet can be found in this sample in our documentation: https://developers.arcgis.com/javascript/latest/sample-code/cim-marker-placement/
... View more
11-07-2022
06:08 PM
|
0
|
0
|
1487
|
|
POST
|
Oh sorry I didn't even notice that 😅 Yes, we have improved CIM support in 4.25, which is scheduled for release next week.
... View more
11-02-2022
08:59 AM
|
1
|
0
|
1658
|
|
POST
|
Hi - your symbol appears to be working as expected for me. Here's a codepen: https://codepen.io/annefitz/pen/yLEOgeE Hope that helps! If you're still running into an issue with this symbol - then please provide some more information (screenshots, error messages, etc). Thanks!
... View more
11-02-2022
08:36 AM
|
0
|
1
|
1667
|
|
POST
|
Hi @MatthieuThery1 - you are correct, CIMCharacterMarker is currently unsupported. We don't have plans to support this in the near future. Could you provide your use case for CIMCharacterMarker? This would help us with planning/consideration for a future release. Thank you!
... View more
10-27-2022
08:50 AM
|
0
|
0
|
874
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 03-04-2026 08:01 AM | |
| 2 | 03-03-2026 05:23 AM | |
| 2 | 03-03-2026 05:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|