Hi,
To zoom a marker that created new in the server side, i am using Map.ZoomTo(PointShape center, double scale) method and passing Map.CurrentScale property to the scale parameter to keep map current zoom level. But it seems Map.CurrentScale property is different than Map.ClientZoomLevelScales thus map always zooms to ZoomLevel01.
Map.ClientZoomLevelScales are
[0x00000000] 590591790.0 double
[0x00000001] 295295895.0 double
[0x00000002] 147647947.5 double
[0x00000003] 73823973.75 double
[0x00000004] 36911986.875 double
[0x00000005] 18455993.4375 double
[0x00000006] 9227996.71875 double
[0x00000007] 4613998.359375 double
[0x00000008] 2306999.1796875 double
[0x00000009] 1153499.58984375 double
[0x0000000a] 576749.794921875 double
[0x0000000b] 288374.8974609375 double
[0x0000000c] 144187.44873046875 double
[0x0000000d] 72093.724365234375 double
[0x0000000e] 36046.862182617188 double
[0x0000000f] 18023.431091308594 double
[0x00000010] 9011.7155456542969 double
[0x00000011] 4505.8577728271484 double
[0x00000012] 2252.9288864135742 double
[0x00000013] 1126.4644432067871 double
And some of Map.CurrentScales are
[0x0000000a] 576749794921875.0 double
[0x0000000c] 144187448730469.0 double
[0x0000000e] 360468621826172.0 double
[0x0000000f] 180234310913086.0 double
[0x00000011] 450585777282715.0 double
for example if currentScale is 450585777282715.0 than i can understand that its equal to ZoomLevel19 which' is 4505.8577728271484.
My question is how can i find or calculate a appropriate ClientZoomLevelScale from CurrentScale.
P.S: Map.ClientZoomLevelScales values are changing if i set Google overlay as a BaseOverlay.
Thank you
Bora