ngageoint / opensphere

OpenSphere
Apache License 2.0
185 stars 90 forks source link

fix(places): only add temp preview feature to map container #1394

Closed schmidtk closed 2 years ago

schmidtk commented 2 years ago

This is an adjustment to this change which was intended to correct the preview not appearing in 3D when creating a new place from the Places tab. The geometry was not being synchronized if the feature initially had no geometry, so re-adding the feature resolved the issue. However we only want to add the feature to the map container if it's a temporary preview feature (ie, during Create not Edit).