[OpenLayers-Users] how to select and show a feature on page load?

zach cruise zachc1980 at gmail.com
Tue Apr 28 13:09:10 PDT 2015


i want to trigger a display function that is bound to a page load
event in an activated control.

basically this in 2.13 -
http://gis.stackexchange.com/questions/44776/openlayers-autoselect-feature-for-modifying-on-page-load
or
http://stackoverflow.com/questions/8832029/how-to-select-a-feature-programmatically-on-a-vector-layer-in-openlayers

but looks like it won't work with 2.13 - bug?
https://github.com/openlayers/openlayers/issues/972
or
http://gis.stackexchange.com/questions/29817/openlayers-feature-edit-handles-not-appearing-when-adduniquevaluerules-applied/30460#30460
or
http://osgeo-org.1560.x6.nabble.com/Modify-Control-and-Select-Control-with-highlight-strange-behaviour-td4950234.html

related -
http://dev.openlayers.org/examples/modify-feature.html
http://jsfiddle.net/XfEmn/


More information about the Users mailing list