In the marker have this component = "OnlineMapsMarker3DInstance"
And when I review the code inside this component ;
private void UpdateScale(OnlineMapsMarker3D marker3D)
{
if (marker3D.sizeType == OnlineMapsMarker3D.SizeType.scene) transform.localScale = new Vector3(_scale, _scale, _scale);
else if (marker3D.sizeType == OnlineMapsMarker3D.SizeType.realWorld)
{
float coof = (1 << (OnlineMaps.MAXZOOM - _marker.manager.map.zoom)) * _marker.manager.map.zoomCoof;
float s = _scale / coof;
transform.localScale = new Vector3(s, s, s);
}
lastZoom = _marker.manager.map.floatZoom;
}
scale update process working here. But even if I modify it doesn't work. It keeps the same scale for the marker object during the zoom change. I want the increase or decrease the scale depending zoom value. Because border size goes up when zooming in and my object scale has to be increasing. I would appreciate it If we can fix this.