sohnem2

Does one need to set the spatialreference of featurelayer

Discussion created by sohnem2 on Dec 11, 2013
Latest reply on Dec 11, 2013 by DSwingley-esristaff
This may be a newbie quesiton, but I have a basemap which has spatialreference: wkid = 102100.
When I create a new featurelayer or graphicslayer and add them to the basemap, do I need to change the spatialreference to match that of the basemap?

Noticed that the spatialreference of the f/g layers are wkid = 4326.
If yes, how does one change it?
Just set the wkid = 102100?
Or set the whole spatialreference property to that of the basemap?

Thanks.

Outcomes