ThinkGeo.com    |     Documentation    |     Premium Support

Flashing marker / PointStyle

Hi Team, we are currently thinking about adding a pulse or flash when new features are added to quickly signal which features are new.

We couldnt find any working sample for this - we are rendering PointStyle(new GeoImage(…)) for the icons.

        private static InMemoryFeatureLayer CreateCoordinateIconLayer(string iconResourcePath, byte[] iconBytes)
    {
        return CreateInMemoryFeatureLayer(zoomLevel =>
        {
            PointStyle iconStyle = new(new GeoImage(iconBytes))
            {
                ImageScale = ResolveCoordinateIconScale(iconResourcePath, iconBytes)
            };
            zoomLevel.CustomStyles.Add(iconStyle);
        });
    }

Any idea how to get this to work? Should we even use the InMemoryFeatureLayer?

Appreciate any pointers, thanks!

Hi Julian,

We have an animated marker demo in HowDoI, do you think that would help?

Thanks,
Ben