ThinkGeo.com    |     Documentation    |     Premium Support

V12.1 - LineStyles Usage

ThinkGeo Team,

What is the new methodology for LineStyles, as shown below?

In V10.6 it is marked as obsolete and to switch to WorldStreetsLineStyles, but I can’t find that in V12.1.

TheFeatureLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(LineStyles.LocalRoad3);

Thanks,
Dennis

Dennis,
You can try with

LineStyle.CreateSimpleLineStyle(GeoColors.Green, 2, false);

Any *Styles class changed to *Style.

Thanks

Frank

hi Frank,

Yes, I’m aware of and make use of CreateSimpleLineStyle and LineStyle.

I’m looking for the equivalent of LineStyles.xxxxx in V12.1. Is there an equivalent? The LineStyles were easy to use and offered some conformity.

Is it possible to make use of WorldStreetsLineStyles in V12.1?

Regards,
Dennis

Thanks Dennis,
We don’t have the equivalent for the WorldStreetsLineStyles. But I attached the color code in the V10. So you could easily build the same styles.

WorldStreets.zip (8.1 KB)

Thanks

Frank

Yes, these will do nicely.

Thanks,
Dennis

Thanks Dennis,
Go ahead let us know if you have any more question.

Thanks

Frank