Google Earth Plug-in > parseKml / Error calling method on NPObject! Options Google Earth Plug-in > parseKml / Error calling method on NPObject! Options

193 views
Skip to first unread message

juana 高

unread,
Feb 23, 2012, 7:59:10 PM2/23/12
to KML Developer Support - Google Earth Plug-in

Hope this can help someone who meets the same problem.

if you kmlstring="

<?xml version='1.0' encoding='UTF-8'?><kml xmlns='http://
www.opengis.net/kml/2.2' xmlns:gx='http://www.google.com/kml/ext/
2.2'><Document></Document></kml>


"
Make sure there is no empty-space contains inside the kmlstring.

if you use Javascript, please use the following function:

kmlstring=kmlstring.trim();
Reply all
Reply to author
Forward
0 new messages