Hi, i was not able to get the MapViewer demo to show my data, i.e both the .shp file(lines) and the road names did not appear in the demo. But in my own version, the shape file can be seen and not the road names. hope that is clear.
Please note: in the demo i have not added the jai_core, jai_imageio files in my pom because i get errors. Thanks Ian Turton wrote: > > On Wed, Jun 17, 2009 at 4:45 PM, ATI<[email protected]> wrote: >> >> Hi, >> i am looking at the MapViewer demo in relation to my project and >> taking >> ideas from their into mine, in particular the load function. At present, >> the application uses a file->open technique where the user selects the >> .shp >> file to use and displays it, which it does successfully. But, in doing >> so, >> the app also reads the .sld file where the location has been hard coded >> into >> the app and read it. Right now, the app does not show the road names from >> my >> .dbf file which is the problem. The function code snippet is as follows: >> > > What happens if you try to display your data and sld in the MapViewer? > if that works then we can narrow the problem down to your code, if not > then it looks like your sld file is wrong and we need to investigate > that further. > > Give it a try and let us know what happens. > > Ian > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- View this message in context: http://n2.nabble.com/Layer-Not-Showing-tp3095423p3114641.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
