esri/geometry/Extent::contains take a point or extent. Per the docs:https://developers.arcgis.com/en/javascript/jsapi/extent.html#containsYou could use the extent of your line but not the line itself.
Input Parameters:<Geometry> geometry Required Can be a Point or Extent.
The IDs 102100 and 3857 both represent the same spatial reference: WGS84 Web Mercator (Auxiliary Sphere), so it would seem unlikely that the cause of the issue is due to a spatial reference system mismatch.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.