Hello,
We have a project that show a Road with some equipments on it.
The problem is when we zoom In/Zoom Out/Pan, the refresh doesn't complete for the equipments and the PK (Kilometric Point).
This is how we apply the style for an equipment:
GISEquipmentVMSStyle equipmentStyle = new GISEquipmentVMSStyle(18, 3);
_inMemoryFeatureLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(equipmentStyle);
_inMemoryFeatureLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
Adding Feature
public void AddFeature(IGISFeature featureObject)
{
if (!(featureObject.GetType() == FeaturesType))
{
GISExceptionHandler.HandleException(
}
_featureCollection.Add(featureObject);
_inMemoryFeatureLayer.InternalFeatures.Add(featureObject.GISFeature.Feature);
_inMemoryFeatureLayer.BuildIndex();
_mappedFeatures.Add(featureObject.GISFeature.Feature.Id, featureObject);
}
Thank you
André