Hi,
You must correct some aspects:
* if you explicitly add controls, create a map without controls:
map = new OpenLayers.Map({controls:[], ...
* what is "select:..."? on "osm = new OpenLayers.Layer.Vector("blok_bbb"
..." this property does not exist.
* map is not a layer, in any case you could use: new
OpenLayers.Control.SelectFeature([map.layers[1], osm, gmap], ...
* layers osm & gmap must be added to the map.
* selectStyle is not defined in this piece of code
See a simple example of popups on a vector layer:
http://www.openlayers.org/dev/examples/sundials.html
Regards,
Xavier Mamano
abang_adit wrote
> hi, everybody
> i want to create popup infirmation detail when my map clicked
> can somebody help me how to do this in open layers ?
>
> this is my come code
>
>
> best regards,
> aditya eka putra
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Openlayers-popup-identify-gml-layer-tp5024434p5024452.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users