Hello,
I'm trying to extend the DirectLayer class but when I'm trying to use 
getWorldToScreen() on the viewport argument inside the draw(...) method it's 
always returning null. Is this the intended behaviour of that method in 
GeoTools 14? If so, how am I supposed to get the worldToScreen transform 
otherwise?

By the way viewport.getScreenArea() always returns a (0,0,0,0) rectangle, 
whereas viewport.getBounds() seems to work properly. The getBounds() of my 
DirectLayer subclass I have implemented in a way that it returns sensible 
values and a valid CRS.


I would really appreciate some hints on what could be going wrong here and how 
to get things working properly.

Thanks in advance and best regards!
 Thomas

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to