I am using different KML Layers in my map. I use different function to call 
to bind KML layer in my map
for example 

var __control1
function control1BindKmlLayer(id)
{
//some condition
__control1=new new geoXML3.parser({ map: map, singleInfoWindow: true, 
afterParse: useTheData1 }); 
__control1.parse(getkml+id.id);
}
function useTheData1(doc)
{}

var __control2
function control1BindKmlLayer(id)
{
//some condition
__control2=new new geoXML3.parser({ map: map, singleInfoWindow: true, 
afterParse: useTheData2 }); 
__control2.parse(getkml+id.id);
}


function useTheData2(doc)
{}


When I change this single method.its not getting the correct result.I cannot 
figure out the useTheData also. My Question is Is this the right way to 
call different methods for binding KML Layer in Map. I am new in Map 
API integration. Please suggest me a good way to code

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to