[OpenLayers-Users] Programmatically creating a vector feature

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Wed May 25 09:28:50 EDT 2011


var feature = new OpenLayers.Feature.Vector(
	new OpenLayers.Geometry.Point(-71, 42)
);
On May 25, 2011, at 7:31 AM, ext Frost89 wrote:

> I want to create a vector feature, programmatically, on my map. It's supposed
> to be in the A4-paperformat, for showing a sort of print preview.
> 
> I've created a control for handling this, but now I'm at the point where I
> need to create the feature. And I have no idea of how I can do it. Any
> ideas?
> 
> -----
> Best regards, 
> Kristian Frost 
> Webintegrator 
> Orbicon Informatik 
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Programmatically-creating-a-vector-feature-tp6402334p6402334.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list