VDS Technologies

 

Resize Maplocator

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

Resize Maplocator

Hello,

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);

</script>

5/6/2013 1:48:46 AM
MVP
Total Posts 323

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 50

Re: Resize Maplocator

Thank you.