added extractStyles:true for KML input
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9480 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -69,6 +69,8 @@
|
|||||||
OpenLayers.Util.extend({}, gmlOptions),
|
OpenLayers.Util.extend({}, gmlOptions),
|
||||||
out_options
|
out_options
|
||||||
);
|
);
|
||||||
|
var kmlOptionsIn = OpenLayers.Util.extend(
|
||||||
|
{extractStyles: true}, in_options)
|
||||||
formats = {
|
formats = {
|
||||||
'in': {
|
'in': {
|
||||||
wkt: new OpenLayers.Format.WKT(in_options),
|
wkt: new OpenLayers.Format.WKT(in_options),
|
||||||
@@ -76,7 +78,7 @@
|
|||||||
georss: new OpenLayers.Format.GeoRSS(in_options),
|
georss: new OpenLayers.Format.GeoRSS(in_options),
|
||||||
gml2: new OpenLayers.Format.GML.v2(gmlOptionsIn),
|
gml2: new OpenLayers.Format.GML.v2(gmlOptionsIn),
|
||||||
gml3: new OpenLayers.Format.GML.v3(gmlOptionsIn),
|
gml3: new OpenLayers.Format.GML.v3(gmlOptionsIn),
|
||||||
kml: new OpenLayers.Format.KML(in_options)
|
kml: new OpenLayers.Format.KML(kmlOptionsIn)
|
||||||
},
|
},
|
||||||
'out': {
|
'out': {
|
||||||
wkt: new OpenLayers.Format.WKT(out_options),
|
wkt: new OpenLayers.Format.WKT(out_options),
|
||||||
|
|||||||
Reference in New Issue
Block a user