Select to view content in your preferred language

Fully customize PopupTemplate

432
1
04-17-2022 01:44 AM
orahlagi
Occasional Contributor

Hello,

I'm displaying a PopupTemplate upon clicking on Point.

looking to fully customize this, according to a custom component that i'm creating (using Angular).

This includes removing all the icons, data etc from the template and instead display a custom data with custom UI.

Is there a proper way to do it ? Thanks.

 

0 Kudos
1 Reply
AndyGup
Esri Regular Contributor

Hi @orahlagi one suggestion is to use the ArcGIS JS API code from this sample: https://developers.arcgis.com/javascript/latest/sample-code/widgets-feature-sidepanel/. If you need a test repo for experimenting, here is an Angular 13 app where you can add the widget code to try it out: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli.