Resize Maplocator

5/6/2013 1:05:39 AM
Total Posts 51

Resize Maplocator


I need script to resize Maplocator. I follow resize() method not worked.

here's my jscript: Which wrong side?

<script type="text/javascript">
function Locresize() {
var maptest = AspMap.find('<%=maplocator.ClientID%>');
if (maptest) maptest.Locresize();

window.addEventListener("resize", Locresize, true);

window.addEventListener("orientationchange", Locresize, true);


5/6/2013 1:48:46 AM
Total Posts 328

Re: Resize Maplocator

>if (maptest) maptest.Locresize();

There is no a Locresize() method in the Map object, only resize().

5/7/2013 3:02:52 AM
Total Posts 51

Re: Resize Maplocator

Thank you.