What is the proper way to check if a SpatialReference is WGS84?
I have tried
Dim sr as SpatialReference = MapView.Active.Camera.SpatialReference
If sr = SpatialReferences.WGS84 Then IsWGS4=True 'doesnt work
If sr Is SpatialReferences.WGS84 Then IsWGS4=True 'doesnt work
If If sr.Name = "GCS_WGS_1984" Then IsWGS4=True 'this works