[OpenLayers-Dev] KML Styling

Christopher Schmidt crschmidt at metacarta.com
Mon Oct 15 08:49:13 EDT 2007

On Mon, Oct 15, 2007 at 10:42:23AM +0200, Andreas Hocevar wrote:
> Hi,
> for styling, you should probably take a look at the OpenLayers.Style
> class in the ahocevar sandbox. This is the one we use for SLD styling,
> but it can be used for handling styles from other sources as well
> without modification. AFAIK KML has no rule-based styling, but if I'm
> wrong the OpenLayers.Rule class and its subclasses may also be of
> interest.

I think that it would be acceptable to not worry about OpenLayers.Style
until it makes it into trunk: we're going to have to do a lot of
churn/transition once it's in, and I don't mind having KML development
go the existing path until it gets in, just so we don't have
cross-sandbox development (which I hate merging).   

Christopher Schmidt

More information about the Dev mailing list