Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
kishore3k
Partner - Contributor III
Partner - Contributor III

Geo Map is showing but not area layer when fetching the object using API.

Hi,

I have this strange issue in QlikSense Geo Map(Area layer) which we have in the application.

Chart is showing without any issues in the application but when we call the object through API it is not showing .

There is no problem with object ID and all. In fact we have default canvas map is showing in the mashup , only area layer is not showing. Anyone with this strange issue ? I am clueless right now and need starting point to analyze and fix the same.

As you can see below Only canvas map is showing in mashup compared area chart in Dashboard.

Other visualization are fine like bar chart/line chart and hypercubes.

kishore3k_0-1591765611750.png

Any help is much appreciated.

 

note : i am able to export as pdf in which area chart is populating but not in the actual column where object is called,

Labels (2)
5 Replies
fosuzuki
Partner - Specialist III
Partner - Specialist III

The GeoAnalytics map works with the additional map layers as separate objects. Have you also put in the mashup the area layer object?

If this doesn't work, I'd recommend you to try the native map object (not the GeoAnalytics one), because Qlik has improved it a lot with most GeoAnalytics visual features.

kishore3k
Partner - Contributor III
Partner - Contributor III
Author

I will try this today and keep you posted.

kishore3k
Partner - Contributor III
Partner - Contributor III
Author

Could you please help me identify the object id of the area layer in Qlik? All I see is only one ID in which Layer's are enabled based on the zoom level.

Patric_Nordstrom
Employee
Employee

Right click on the layer box > Share > </> Embed chart, the object id is below the window.

objid.png

 

Thanks,

Patric

kishore3k
Partner - Contributor III
Partner - Contributor III
Author

 @Patric_Nordstrom  @fosuzuki 

I am sorry for replying this late.

This error is due to this code present in our mashup file.

Array.prototype.onlyUnique = function () {
return this.filter(function (value, index, self) {
return self.indexOf(value) === index;
});
};