From: Imran R. <ra...@gm...> - 2010-10-19 07:01:35
|
Hi, No I do not go through maven! just putting the jars in reference libraries. I have a SimpleFeature Collection which I`m trying to visualize! I checked the map.addLayer function and it takes SimpleFeatureCollection and a Sytle as argument. So I`m tryin to set the style to null, my imports are import org.geotools.feature.FeatureCollection; import org.geotools.map.DefaultMapContext; import org.geotools.map.MapContext; import org.geotools.swing.JMapFrame; import org.geotools.swing.JMapPane; import org.geotools.styling.Style; is there any user guide for Gt.2.6 on net regards, Imran On 10/19/10, Roy Braam <roy...@b3...> wrote: > Use maven?? :) > > Roy > _____ > > From: Imran Rajjad [mailto:ra...@gm...] > To: geotools-gt2-users [mailto:geo...@li...] > Sent: Tue, 19 Oct 2010 07:35:47 +0200 > Subject: [Geotools-gt2-users] which jar file for > map.addLayer(SimpleFeatureCollection, style) > > Hi, > > I have a SimpleFeatureCollection and I`m trying to add it to > JmapFrame, but it seems a jar file needs to be added in buildclass > path, and there are so many of them. any idea, which jar file im > missing here..currently I am using > geoapi-rending > gt-api > gt-data > gt-main > jts-1.10 > gt-render > gt-metadata > gt-epsg-extension > gt-epsgh2.2... > gt-epsg-hqpl > gt-swing > > > exclipse is telling me that a jar files need to included at this > > MapContext map = new DefaultMapContext(); > map.setTitle("Converted network data"); > map.addLayer(collection, null); <-- here im passing a > simpleFeatureCollection > > any idea! or a link would be appreciated > > regards, > Imran > > -- > I.R > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > -- I.R |