ThinkGeo.com    |     Documentation    |     Premium Support

Custom AreaStyle stopped working in production build .273

Hi,

I updated to the latest daily production build which is 273 and my custom style has stopped working. The issue is that when my overridden DrawCore method is called the feature columns are there but there are no values for them. I have verified that the layer has them filled properly before the refresh is called.

When I revert back to a previous build it works fine.

Thanks!

Best,

Kevin

Hi Kevin,

Thanks for your feedback. It proved to be a breaking change in InMemoryFeatureLayer which had been rolled back since the version 9.0.287.0. Please download it from Product Center and have a try.

Any questions please let us know.

Thanks,
Peter

Hi Peter,

I tested with the 9.0.292.0 development build and the custom style is working fine with that. With regards to your comment about the breaking change, will there be a new way of doing this going forward that I should be looking to use?

Thank you!

Best,

Kevin

Hi @Kevin6

We are glad to hear the change solved your issue.

But we have some confused about your question, do you means you want to know how to handle the issue if you think it’s a breaking change, or you want to use one of the features of map but that’s rolled back by breaking change?

Regards,

Don

Hi Don,

Sorry I was was a bit confusing on that post. Usually when there is a breaking change to an API, it means there is a different way of doing something going forward. I know you said the change was rolled back but it made me wonder if there was going to be a different way of doing custom styles going forward.

Thanks!

Best,

Kevin

Hi @Kevin6,

Thanks for your description. It looks we shouldn’t use breaking change, it is not a exactly word here. I think this issue is caused by the enhancement for other problem, that’s not related with we implement a new custom style.

Regards,

Don