Problem with kml NetworkLink on JSP

1 view
Skip to first unread message

Dimas Cassimiro

unread,
Dec 17, 2009, 12:00:33 PM12/17/09
to KML Developer Support - Getting Started with KML
Hi guys,

I'm trying to use a NetworkLink on a kml file and integrate it to my
application.

This is my NetworkLink:

<NetworkLink>
<name>MyAppName</name>
<open>1</open>
<description>MyApp Server.</description>
<Url>
<href>http://localhost:8080/MyApp/printbbox</href>
<viewRefreshMode>onStop</viewRefreshMode>
<viewRefreshTime>2</viewRefreshTime>
</Url>
</NetworkLink>

The NetworkLink refers to printbbox, which is an action mapped on
struts.xml.

I've added the kml file as a layer on my map like follow:

var myLayer = new GGeoXml("MyAppLink/kml/ge.kml");
map.addOverlay(myLayer);

But unfortunately it's no working. My action does not recieve the BBOX
when happen pan or zoom on the map on jsp.

But i think the kml is ok, because if i open it on google earth it
works properly.
The google earth sends to my action the newest BBOX when i play pan or
zoom on google earth map.

So, do you guys know if i'm doing something wrong?

[]'s
Reply all
Reply to author
Forward
0 new messages