|
I found your bug. There's a problem with parsing.
The following gets properly parsed as a proper init_gdir:
<googleDir lat=21.279491 long=-157.744741 zoom=14 control=GSmallZoomControl3D|GMapTypeControl kml=http://www.oahu-for-free.com/maps/poiEastHNL.kml maptype=G_HYBRID_MAP from="21.271685,-157.822852" to="21.26013471,-157.8183115 to:21.26945086,-157.778877 to:21.31299356,-157.6614052 to: 21.31299356,-157.6614052" >
this does not get properly parsed:
<googleDir lat=21.279491 long=-157.744741 zoom=14 control=GSmallZoomControl3D|GMapTypeControl maptype=G_HYBRID_MAP from="21.271685,-157.822852" to="21.26013471,-157.8183115 to:21.26945086,-157.778877 to:21.31299356,-157.6614052 to: 21.31299356,-157.6614052" kml=http://www.oahu-for-free.com/maps/poiEastHNL2.kml >
Specifically, there's an extra space of the kml URL in the init gdir which makes it fail:
init_gdir('1', 21.279491, -157.744741, 14, 'http://www.oahu-for-free.com/maps/poiEastHNL2.kml ', '21.271685,-157.822852', '21.26013471,-157.8183115 to:21.26945086,-157.778877 to:21.31299356,-157.6614052 to: 21.31299356,-157.6614052', '', 'GSmallZoomControl3D|GMapTypeControl', 'G_HYBRID_MAP', '1', '', '', '');
I'm glad I have a workaround and hope you feel good about the fact that one of your users help you debug! Great component and I'm really happy I was able to help you.
|