<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=koi8-r"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have developed a functionality of bookmarking, in which <o:p></o:p></p><p class=MsoNormal>I capture the below things from Map(at client side) using java script.<br><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:black'> <span style='background:yellow;mso-highlight:yellow'>var pScale = mapWidget.getScale();<br> var Center = mapWidget.getCurrentCenter();<br> var pXCO = Center.x;<br> var pYCO = Center.y;</span><br>n store the above pXCO, pYCO & pScale to database.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:black'>During view to bookmark I fetched the same(pXCO, pYCO & pScale) from database n call below method to see saved bookmark<br><br> <span style='background:yellow;mso-highlight:yellow'>ZoomToView(pXCO, pYCO, pScale, true);<br> Refresh();</span><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>But I observed that during <span style='background:yellow;mso-highlight:yellow'>callto </span><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:black;background:yellow;mso-highlight:yellow'>ZoomToView(pXCO, pYCO, pScale, true);</span><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:black'> mapscale get changed on Map which should be equal to </span><b><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:#0D0D0D;mso-style-textfill-fill-color:#0D0D0D;mso-style-textfill-fill-alpha:100.0%;background:yellow;mso-highlight:yellow'>pScale</span></b><b><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:#0D0D0D;mso-style-textfill-fill-color:#0D0D0D;mso-style-textfill-fill-alpha:100.0%'>,<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:#0D0D0D;mso-style-textfill-fill-color:#0D0D0D;mso-style-textfill-fill-alpha:100.0%'>But get differ then<b> <span style='background:yellow;mso-highlight:yellow'>pScale</span>. </b>So please suggest me if something was missed out from my side</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#3333FF'>Best Regards,<br>VEER PAL SINGH | Lead Engineer- Geospatial Technologies|</span><o:p></o:p></p><p class=MsoNormal><span style='color:#3333FF'>HCL TECHNOLOGIES LTD. A-104, SECTOR-58 | NOIDA-201301 – INDIA</span><o:p></o:p></p><p class=MsoNormal><span style='color:#3333FF'>Mobile: +91 8800577466 / 09410216705<br><br></span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div><span style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: gray; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'">
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><br><br><font style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: gray; FONT-SIZE: 9px">::DISCLAIMER::<br>----------------------------------------------------------------------------------------------------------------------------------------------------</font></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><font style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: gray; FONT-SIZE: 11px">The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.<br>E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, <br>lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents <br>(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. <br>Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the <br>views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, <br>distribution and / or publication of this message without the prior written consent of authorized representative of <br>HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. <br>Before opening any email and/or attachments, please check them for viruses and other defects.</font></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><font style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: gray; FONT-SIZE: 11px">----------------------------------------------------------------------------------------------------------------------------------------------------</font></span></P></body></html>