Select to view content in your preferred language

popupTemplate doesn't work with polyline

2269
0
04-14-2016 12:59 AM
RogerSerentill
Deactivated User

Hi,

I'm using ArcGIS v4 beta3 to draw a 3D map with aircrafts routes. I was able to add all polylines to the map correctly. The problem is when adding a popupTemplate it doesn't appear. I also tried to catch the click event on the view and log to the console the point and the graphic being clicked:

view.on("click", function(evt){

      console.log(evt.mapPoint);

      console.log(evt.graphic);

    });

But when I click on a polyline, it prints undefined on the console (mapPoint is correctly printed).

I tried to add a templatePopup to a Point and it works well, it only seems to fail with the polyline.

Is this a bug for this version or I'm doing something wrong?

Thank you.

0 Kudos
0 Replies