the data array is as this: var coodCollection = [ 11.926984840916,22.54309741608402,0, 11.9270373628267,22.54429109286876,0, 11.9271964929425,22.54567386485417,1, 11.9272997413621,22.54600196672146,1 ];
0 and 1 is the color code, but I get an icon name beyond 0 and 1. At the same time, alert(color) get a right data. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/why-the-popups-have-same-content-tp5037498p5037736.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