Thanks Xavier, Good to see you here too !
I just wanted to know if it was possible... I have the answer now :-) Have a nice day ! -φol d.- On Mon, Mar 18, 2013 at 7:22 PM, Xavier Mamano (jorix) < xavier.mam...@gmail.com> wrote: > Hi Pol, > > Don't use option "features" at `vlayer` creation, is not supported and is > ignored. > > Use: > vlayer.addFeatures(format.read(kml)); > > Regards, > > Xavier Mamano > > > Pol D. wrote > > Hello, > > > > I registered to this mailing list to get help. > > > > I'm trying to create a map with a vector layer, but I want to add the > > features in the options array passed to the > > *OpenLayers.Layer.Vector()*class. > > > > See this example: http://jsbin.com/ecuwes/14/edit > > > > No marker is displayed, any help on this ? > > > > Thanks. > > > > -φol d.- > > > > _______________________________________________ > > Users mailing list > > > Users@.osgeo > > > http://lists.osgeo.org/mailman/listinfo/openlayers-users > > > > > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/Adding-features-before-layer-creation-tp5041130p5041163.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > us...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-users >
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users