[OpenLayers-Users] Openlayers popup identify gml layer
Xavier Mamano (jorix)
xavier.mamano at gmail.com
Sun Dec 23 03:37:39 PST 2012
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.
More information about the Users
mailing list