|
Arul
|
|
Hi,
If I use the following code, the page throws error for EnableGeoCommunity
var map = $find("<%=Map1.ClientID%>"); map.vemapcontrol.EnableGeoCommunity(false);
|
|
|
|
Chris Pietschmann
|
|
The "map" variable is getting set to the Client-Side Instance of the Web.Maps.VE component; which doesn't have a property named "vemapcontrol". What you need to do is get a reference to the underlying VEMap object using the "get_Map()" method.
Here's an example of doing what you need:
var map = $find("<%=Map1.ClientID%>");
map.get_Map().vemapcontrol.EnableGeoCommunity(false);
|
|
|