Hi, Attention, the position of a comma changes the meaning!
try: markers.addMarker(new OpenLayers.Marker(my_lonlatproj ( -76.5, 39.0),icon)); Break the code as Eric advised if you have doubts. Xavier Mamano Arnie Shore wrote > > Folks I've been fighting what shd be a trivial script, simply adding two > instances of a given icon of mine to a marker layer. Instead the > default diamond icon shows for both. > > I'll truly appreciate anyone's taking some time to look at > http://www.saefern.org/_osm/test.php > > and tell me what I'm doing wrong. AS > _______________________________________________ > Dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-dev > -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/A-Quick-Introduction-tp7029273p7079948.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
