I have already readed this link. But i don't see how i can affect directly
the geographic (lat-lon) to the MapConxt which i have defined.
I have defined the MapContext like this: MapContext map= new
DefaultMapContext(); Before i add my first layer, i have put these lines:
CoordinateReferenceSystem crs=CRS.decode("EPSG:4326");
ReferencedEnvelope re=new ReferencedEnvelope(10.1602292,
10.1741338,36.8468991,36.853853199999996, crs); map.setAreaOfInterest(re);
map.getAreaOfInterest().setBounds(re);
map.setCoordinateReferenceSystem(crs);
But i have always the same problem.
Can you help me to solve this problem???
Thank you for your help
Ndefo Kamgne Arnauld
Cité Ettayour,Immeuble Bolbol 1,Appartement A2,Ariana
0021624249357
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users