pushpin with workflow html5
Hi,
I am selecting features with a workflow and have "Show Pushpins" set to true. I have also enabled push pins in viewer. But after selecting features I do not get any pushpins in the map. The default Identify tool etc are adding pushpins to the map, but my selected features are not having any pushpins, even when I click on them in Results tab after selection. I also tried adding command "AddPushpin" in behaviours "ResultsListFeatureClickedBehavior" by editing Desktop.json, but no effect.
Can any one help in figuring out what is wrong here, and any example of working workflow will be highly appreciated.
Thanks,
Muhammad
0
-
Hello Muhammad,
I had a case not too long ago, with similar symptoms. Can you please confirm whether your Spacial refrence of the layer you are querying matches the spacial refrence of your map? If they do not match, your pushpins will not show up.
You can work around this by adding a "Get Map Info" activity to the start of your workflow to capture your map's spatial reference, then using that spatial reference in the "Out Spatial Reference" of your query task.
Please let me know if that works for you!
Thanks,
Danny0 -
Yes you are right, my map service has different projection than basemap. I will try you suggested work around first otherwise I will reproject my map service.
Thanks,
Muhammad0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare