AnsweredAssumed Answered

Popup without a title and its whitespace?

Question asked by c.bischofmysynergis-esridist Employee on Jun 2, 2020
Latest reply on Jun 3, 2020 by rscheitlin

Hey guys I guess for an experienced ArcGIS JS API Developer this is an easy question I have to ask.

 

Is it possible to leave the title of a popupTemplate completely empty, not assign any value to the property "title" without having the whitespace which would be the placeholder for the titel if I had specified any.

 

Example given this sample code from ArcGIS JS API Reference:

Intro to PopupTemplate | ArcGIS API for JavaScript 4.15 

 

If i comment out the line in the sample with the title property the popup on the map comes without a title, but the "placeholder whitespace" where the title would have been displayed is still there.

 

var template = {
// autocasts as new PopupTemplate()
//title: "{NAME} in {COUNTY}"

 

Is there any possibility to change this behaviour so that the complete title section would be somehow deleted?

 

Using API version 4.15

 

Thanks in advance

Outcomes