Select to view content in your preferred language

Graphics get lost

2487
10
Jump to solution
03-13-2014 08:17 AM
Labels (1)
Cristian_Galindo
Frequent Contributor
DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far???

I have created an ArcGISLocalFeatureLayer with a different spatial reference from the base layer, then I create a polyline that is added to the Graphics container of the layer.

As my data is in another spatial reference, I remove the layers from the map, change the spatial reference of the map and add the layers again.

Then I add the new layer (the one with the polyline)...at this moment the Graphics property onf the layer turns to 0, it just dissapear!!

maybe my code is haunted....

any suggestions??? where my polyline goes? why the polyline appear in the map (i can view the line in my screen) but not in the Graphics list
0 Kudos
10 Replies
Cristian_Galindo
Frequent Contributor
So the TPK can not be displayed. Even if I set Map.Extent to the (Full)Extent of the new basemap.


Hi!!

the issue according to the technical reference is that you can change the spatial reference of a map, but the tile layer are not going to  be visible due the projection issues. Those kind of layers cannot be reprojected ( http://forums.arcgis.com/threads/62622-Best-practices-Reprojection-%28changing-spatialreference%29-f... )
0 Kudos