[OpenLayers-Trac] [OpenLayers] #1578: extractStyles:true seems to conflict with inline styles
OpenLayers
trac at openlayers.org
Fri Jun 6 17:41:28 EDT 2008
#1578: extractStyles:true seems to conflict with inline styles
------------------------+---------------------------------------------------
Reporter: edgemaster | Owner: edgemaster
Type: bug | Status: new
Priority: major | Milestone:
Component: Format.KML | Version: 2.6
Keywords: | State:
------------------------+---------------------------------------------------
(Sketchy notes for now, will investigate and try and find a fix)
var geograph = new OpenLayers.Layer.WFS("Geograph Photos",
"http://map.oneplanetsutton.org/feed/geograph", {}, {format:
OpenLayers.Format.KML, formatOptions: {''extractStyles: true''},
extractAttributes: true, projection: projLl, ratio: 1.5, styleMap:
styleMap, visibility: false});
Will cause all Icons to use the same image when the inline definition
specifies a different icon for each point.
Removing ''extractStyles: true'' gives the expected output.
--
Ticket URL: <http://trac.openlayers.org/ticket/1578>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list