From: kutte <kut...@gm...> - 2007-04-30 22:01:12
|
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=3D=EF=BF=BDhttp://www.w3.org/1999/xhtml=EF=BF=BD xmlns:v=3D=EF=BF=BDurn:schemas-microsoft-com:vml=EF=BF=BD> <head> =09<script src=3D"http://maps.google.com/maps?file=3Dapi&v=3D1&key=3DABQIAAAAIgkf_4Loi= NSc_U8b1dpNDRS0GrZIqSIqSOzbfQ3nOIMh851szBROx-hVGf9NpOpsuT-1lstG57vP3A" type=3D"text/javascript"></script> =09<script src=3D"wfs/GMapWFS-0.5.js" type=3D"text/javascript"></script> <style type=3D"text/css"> html,body { =09height: 100%; =09margin: 0px; } div#map { =09height: 100%; =09margin: 0px; } v\:* { behavior:url(#default#VML); } </style> </head> =20 <body> <div id=3D"map"></div> <script type=3D"text/javascript"> //<![CDATA[ =20 var map =3D new GMap(document.getElementById("map")); =09map.addControl(new GLargeMapControl()); =09map.addControl(new GMapTypeControl()); map.centerAndZoom(new GPoint(-83.73809337615967,42.27678484823378), 9); =09baseURL =3D "http://webservices.ionicsoft.com/unData/wfs/UN?"; =09typename =3D "wfs:BND_ARC,wfs:AIR_POINT"; buffer =3D 0; =09 =09wfs =3D new GMapWFS(map, baseURL, typename, buffer); =09wfs.refreshInBoundsWithBuffer(); =09 =09 =09GEvent.addListener(map, "moveend", function() { =09=09//this runs way too slow for some lines =09=09//wfs.refreshInBoundsWithBuffer(); =09}); =09 =09GEvent.addListener(map, "maptypechanged", function() { =09=09alert("maptypechanged"); =09=09wfs.refreshInBoundsWithBuffer(); =09});=09 =09 =20 //]]> </script> <script src=3D"http://www.google-analytics.com/urchin.js" type=3D"text/javascript"> </script> <script type=3D"text/javascript"> _uacct =3D "UA-811607-1"; urchinTracker(); </script> </body> </html> wrobel wrote: >=20 > hi, >=20 >=20 > take a look at this, >=20 > http://maps.kylemulka.com/test.wfs5.html >=20 > 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. >=20 > Regards, >=20 > Jan >=20 > 2007/4/29, kutte <kut...@gm...>: >> >> >> 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 <kut...@gm...>: >> >> >> >> >> >> 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 polygon= s >> >> 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 ca= n >> >> 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#a1023= 3073 >> >> 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 >> >> Geo...@li... >> >> 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 >> > Geo...@li... >> > https://lists.sourceforge.net/lists/listinfo/geoserver-users >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Geoserver-and-Google-Maps-Api-tf3662241.html#a1024= 2809 >> 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 >> Geo...@li... >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> >=20 > ------------------------------------------------------------------------- > 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 > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users >=20 >=20 --=20 View this message in context: http://www.nabble.com/Geoserver-and-Google-Ma= ps-Api-tf3662241.html#a10261325 Sent from the GeoServer - User mailing list archive at Nabble.com. |