Hello,

If you are defining your map style via a SLD file, you can use the
ExternalGraphic element to point to your png file. There is an example
of this here:

http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/points.html#point-as-graphic

If instead you want to do this programmatically rather than with a SLD
file, let me know and I'll dig out some example code.

Michael


On 21 November 2012 03:20, Enrique Villafruela Rodríguez
<[email protected]> wrote:
> Hello every body...
>
> I need some help with geotools, my doubt is the next, some days ago i´m
> trying to shoy some custom point style in my jmapframe, the point that i
> want to show in the map is a litle star png that previously i create, when
> i´m trying to show the point in the map the star doesn´t appear in the
> stage, otherwise a little gray square is shown,  can anybody send me an
> example class to do this... i´ll be grateful.
>
>
>
> note: the source i´m showing in the map is from spatialite and works OK, and
> when i used the circle mark or the others by default of geotools works ok
> too.
>
>
>
>
>
> best regards
>
>
>
> Please, excuse my English, I speak Spanish.
>
>
>
> EVillaR
>
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to