Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] supply a map graphic with bounds

You can add a resource interceptor as a hack to give it bounds. It is an extension. See... Shoot I don't have the code here. But there is a GeoResourceInterceptor or some such. I'll get the code and try to find the name of the class

Jesse

On 31-Oct-07, at 2:02 AM, Andrea Antonello wrote:

I think that comes down to the GetInfo object returned for that
resource; map graphics are a bit strange in that they are supposed to
be generated. If you actually have data with bounds then you could
set it up as a first class resource.

In the ZoomToLayer Class i see that is is handled as a Layer and in
fact it is wrapped into some layerWrap (don't remember the name)
implementation. So I extended Layer in the hope it would delegate to
that. It was a dirty try, I know, and it also didn't work :)


We need to get more examples of doing your own thing out there in the
wild for people to review; we spend too much time fussing over
DataStores.

Yes, I know, but honestly I'm myself overwhelmed by the magnitude of
things one should know in udig. Every once in a while, when my
knowledge gets a step further, I find new nice classes and methods that
are already supported by udig :)
But everything is moving that fast, that i would not know how to
properly document things...

Andrea




Jody
Hi, is there a way to make a MapGraphic aware of its bounds?

I.e., when I say zoom to layer, it sould know where to go.

Cheers,
Andrea
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top