[OpenLayers-Users] blueprints & vectors to openlayers

fuhrysteve fuhrysteve at gmail.com
Mon Jul 13 15:54:08 EDT 2009


I figured it out!


fpshelves = new OpenLayers.Layer.Vector( "FP Shelves" );
	fpshelves.addFeatures([
	new OpenLayers.Feature.Vector(OpenLayers.Geometry.fromWKT('POLYGON((1528
-768,1524 -850,1596 -852,1528 -768))')),
	new OpenLayers.Feature.Vector(OpenLayers.Geometry.fromWKT('POLYGON((2264
-722,2102 -868,2552 -1052,2556 -760,2264 -722))')),
	new OpenLayers.Feature.Vector(OpenLayers.Geometry.fromWKT('POINT(3284
-556)')),
	new OpenLayers.Feature.Vector(OpenLayers.Geometry.fromWKT('POINT(2988
-980)')),
	new OpenLayers.Feature.Vector(OpenLayers.Geometry.fromWKT('POINT(2300
-884)')),
	new OpenLayers.Feature.Vector(OpenLayers.Geometry.fromWKT('POINT(2276
-580)')),
	new OpenLayers.Feature.Vector(OpenLayers.Geometry.fromWKT('POINT(2332
-452)')),
	new OpenLayers.Feature.Vector(OpenLayers.Geometry.fromWKT('POINT(2540
-420)')),
	]);


-- 
View this message in context: http://n2.nabble.com/blueprints---vectors-to-openlayers-tp3218765p3252636.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090713/0badcc56/attachment.html


More information about the Users mailing list