ThinkGeo.com    |     Documentation    |     Premium Support

Marker image or pointshape symbol too big since v12 migration

Hi,

Since my v12 migration, my marker are too big. I also have the same issue with my symbols.

Is there any reason to this ? any way I can correct this issue without changing ALL the symbolsize or scaling down my Pin.png ?

Best regards, judicael.

Hi @judicael_ribault,

Thanks for your question. During the v12 release, we made a few changes in our rendering engine. The symbols are technically shown at the correct size, but older versions actually downsized them by default. If you want to continue using the same symbols, you’ll need to set the ImageScale property on the PointStyle. Details on the ImageScale property are below:

https://docs.thinkgeo.com/products/mobile-maps/ThinkGeo.Core/ThinkGeo.Core.PointStyle/#imagescale

Typically, when going to v12, a good rule of thumb is to use .25 for the ImageScale like the code example below:

        var pointStyle = new PointStyle(new GeoImage(@"../../../Resources/hotel_icon.png"));
        pointStyle.ImageScale = .25;

I hope this helps. Please let us know if you have any other questions or issues we can help with.

Thanks,

Ben