[OpenLayers-Users] StyleMap for vector layer
Morescratch
morescratch at live.com
Wed Jan 9 13:24:32 PST 2013
Thanks Matt!
If I remove the styleMap option in my layer constructor the features are
rendered with the default stroke, and fill color's.
Any other ideas? Note that I am using Format.WKT:
var wktParser = new OpenLayers.Format.WKT({
'internalProjection': projMap,
'externalProjection': projLatLon
});
$.each($("table#" + table + ' td.feature'), function(index, feature) {
tableLayer.addFeatures([
wktParser.read($(feature).text())
]);
});
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/StyleMap-for-vector-layer-tp5026037p5026508.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list