Thanks for your help!
Does anybody know where I can find that GMapWFS-0.5.js?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns=�http://www.w3.org/1999/xhtml�
xmlns:v=�urn:schemas-microsoft-com:vml�>
<head>
<script
src="
http://maps.google.com/maps?file=api&v=1&key=ABQIAAAAIgkf_4LoiNSc_U8b1dpNDRS0GrZIqSIqSOzbfQ3nOIMh851szBROx-hVGf9NpOpsuT-1lstG57vP3A
"
type="text/javascript"></script>
<script src="wfs/GMapWFS-0.5.js" type="text/javascript"></script>
<style type="text/css">
html,body {
height: 100%;
margin: 0px;
}
div#map {
height: 100%;
margin: 0px;
}
v\:* {
behavior:url(#default#VML);
}
</style>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
//<![CDATA[
var map = new GMap(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.centerAndZoom(new GPoint(-83.73809337615967,42.27678484823378),
9);
baseURL = "http://webservices.ionicsoft.com/unData/wfs/UN?";
typename = "wfs:BND_ARC,wfs:AIR_POINT";
buffer = 0;
wfs = new GMapWFS(map, baseURL, typename, buffer);
wfs.refreshInBoundsWithBuffer();
GEvent.addListener(map, "moveend", function() {
//this runs way too slow for some lines
//wfs.refreshInBoundsWithBuffer();
});
GEvent.addListener(map, "maptypechanged", function() {
alert("maptypechanged");
wfs.refreshInBoundsWithBuffer();
});
//]]>
</script>
<script src="http://www.google-analytics.com/urchin.js"
type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-811607-1";
urchinTracker();
</script>
</body>
</html>
wrobel wrote:
>
> hi,
>
>
> take a look at this,
>
> http://maps.kylemulka.com/test.wfs5.html
>
> it should show you the way to request an parse data. its's for the v1
of
> the
> google maps api, so
> some functions have to be changed when using the v2.
>
> Regards,
>
> Jan
>
> 2007/4/29, kutte <kuttinger@anonymised.com>:
>>
>>
>> Thank you for your answer! Can you please tell me where I can find
some
>> more
>> informations about the wfs and the google maps Api. I have no idea how
>> the
>> maps api works with the WFS
>>
>>
>>
>>
>>
>> wrobel wrote:
>> >
>> > hi,
>> >
>> > you could use the WFS and then parse the gml document to get your
>> > information(s).
>> >
>> >
>> > regards,
>> >
>> > jan
>> >
>> > 2007/4/28, kutte <kuttinger@anonymised.com>:
>> >>
>> >>
>> >> Hallo,
>> >> for a project I have to visualize some polygon shapefile date in
the
>> >> Google
>> >> Maps Api. The different polygons should be displayed in different
>> colours
>> >> depending on the given information. All data of the different
polygons
>> >> must
>> >> be showed in the Api by clicking on them(e.g. population of polygon
>> 1).
>> >> What
>> >> are the possibilities to implement such a project?
>> >> For the beginning I loaded in a WMS with geoserver. That works
great
>> but
>> >> I
>> >> have no idea how to query data. The other way would be kml. But the
>> kml
>> >> geoserver exorts don`t work in the Api. Do you have other ways and
can
>> >> you
>> >> tell me how to do that (I`m a rookie..). Maybe WFS?
>> >> Thank you so much
>> >>
>> >> Kutte
>> >> --
>> >> View this message in context:
>> >>
>>
http://www.nabble.com/Geoserver-and-Google-Maps-Api-tf3662241.html#a10233073
>> >> Sent from the GeoServer - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>>
-------------------------------------------------------------------------
>> >> This SF.net email is sponsored by DB2 Express
>> >> Download DB2 Express C - the FREE version of DB2 express and take
>> >> control of your XML. No limits. Just data. Click to get it now.
>> >> http://sourceforge.net/powerbar/db2/
>> >> _______________________________________________
>> >> Geoserver-users mailing list
>> >> Geoserver-users@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>> >>
>> >
>> >
>>
-------------------------------------------------------------------------
>> > This SF.net email is sponsored by DB2 Express
>> > Download DB2 Express C - the FREE version of DB2 express and take
>> > control of your XML. No limits. Just data. Click to get it now.
>> > http://sourceforge.net/powerbar/db2/
>> > _______________________________________________
>> > Geoserver-users mailing list
>> > Geoserver-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>> >
>> >
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Geoserver-and-Google-Maps-Api-tf3662241.html#a10242809
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>>
>>
-------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
View this message in context:
http://www.nabble.com/Geoserver-and-Google-Maps-Api-tf3662241.html#a10261325
Sent from the GeoServer - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users