Hello Mark,

One possible suggestion is to create a sub-class of DirectLayer to
draw your callouts, passing the data about location and text (and any
styling options) to the layer constructor, and then implementing the
draw method to splat them over the map.

Michael


On 27 September 2012 20:18, Mark Paxton <[email protected]> wrote:
> Hi all,
>
> I'm not quiet sure where to start with this, so any advice is
> welcomed... I'd like to be able to place callouts onto a rendered map
> (as an image) e.g. so I can specify a location of interest, then place a
> box of text, etc on the map with a line linking to the point.
>
> I could do it manually, by generating an image for my callout and
> rendering that as an external graphic, etc but just seems there should
> be some cleaner way to achieve it.
>
> Thanks for any help!
>
> Mark
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to