Search code examples
angulartypescriptcesiumjsgetfeatureinfo

Where getFeatureInfo Request is built on cesium?


I am using cesium with angular. I need to know where is built the request url for GetFeatureInfo in cesium but i cannot find it. For the context, what I want to do is display featureInfo on click on the map. But the request sent is using x and y parameters for coordinate and what I would like is replace them by i and j. Moreover, I would like to get bbox information present in this same request to display them. If someone could help me ! Thank you !


Solution

  • The request is actually made in UrlTemplateImageryProvider.js's function pickFeatures.

    enter image description here

    This is a call stack screenshot in this sample.

    enter image description here