Hi,
I'm not sure you're likely to get a reply on this mailing list (it's the
GeoServer list); you may be better asking this question on the list of
whichever API you're using (OpenLayers, Googlemaps etc) as it seems to be
more a question relating to that. Or even http://gis.stackexchange.com/
Cheers,
Jonathan
On 18 December 2013 23:03, Hartmut Noack <zettber...@linuxuse.de> wrote:
> Hello,
>
> we have some shapes quite similar to the states-demo, that we deliver
> as a layer in Google maps:
>
> var districtsTiles = {
> getTileUrl: function(coord, zoom) {
> return
> "
> http://ungeo.de:8080/geoserver/gwc/service/gmaps?layers=workspace:Town_wards2010&
> "
> +
> "zoom=" + zoom + "&x=" + coord.x + "&y=" + coord.y +
> "&format=image/png";
> },
> tileSize: new google.maps.Size(256, 256),
> isPng: true,
> opacity: 0.4 };
>
> var districtsBasics = new google.maps.ImageMapType(districtsTiles);
> map.overlayMapTypes.insertAt(0, districtsBasics);
>
> this works perfectly well.
> The layer shows about a dozen districts of a town. Every district has
> a shape we can get the coordinates for using WFS (the_geom). WFS also
> delivers informations on features like population and the like and we
> would like to pop up these infos, when the user clicks upon the
> respective district on the map.
>
> I see something remotely similar in the open layers preview. One can
> click in the map and get additional infos as HTML under the map.
>
> Am I right to see a clue for that starting with this line:
>
> // support GetFeatureInfo
> map.events.register('click', map, function (e)
>
> ??
>
> Anyway, is it possible to set up something like that with a Layer atop
> Google maps?
> I think I *could* do something like that rendering the shapes from
> the_geom as Google Maps polygons. But in that case what would be the
> point in the styles made in geoserver and do I not *have* these shapes
> already? It would of course be a huge performance issue also...
>
> It would be most appreciated, if someone has a link to any pages, that
> does such machinations already, so we could lern from them, how we do
> it in our case...
>
> best regards
>
> HZN
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
authorised to receive it for the addressee) you may not copy or use it, or
disclose it to anyone else. If you have received this transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users