just an email typo perhaps but in your Map constructor below you are using EPSG:23345, not 2345 as described in your message.
Mike Xin wrote: > Is your marker projected? > > If not, see > http://crschmidt.net/~crschmidt/spherical_mercator.html#reprojecting-points > <http://crschmidt.net/%7Ecrschmidt/spherical_mercator.html#reprojecting-points>. > > Xin > > ps. It's good to see another Chinese on here > > On 21/03/2008, *Yang Zhaohui* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hello dear evryone, > A problem is boring me for a long time. I have a shapefile with > Xi'an 1980 Gauss-Kruger projected coordinate system. I have added > it into Geoserver1.5.3. So I can visit in EPSG:4326(WGS84) and in > EPSG:2345(Xi'an80). But When I want to add a marker layer to a > Openlayers map (This time the projected coordinate system of the > map is EPSG:2345), it cannot diasplay.Could you please give me > some suggestion?Thank you very much! > "... > map = new OpenLayers.Map('map', {controls:[], 'projection': > 'EPSG:23345', 'units':'m'}); > ... > var markers = new OpenLayers.Layer.Markers("标注搜索"); > markers.setVisibility(true); > > map.addLayer(markers); > > marker= new OpenLayers.Marker(new > OpenLayers.LonLat(456144.21976956,360540.12626545), > new OpenLayers.Icon("image/marker.png",new OpenLayers.Size(10,15)) > ); > > markers.addMarker(marker); > " > Sincerely yours, > Yang > > > ------------------------------------------------------------------------ > 1分钟,让眼睛享受春天的清润SPA > <http://popme.163.com/link/004087_0313_2359.html> > _______________________________________________ > Users mailing list > [email protected] <mailto:[email protected]> > http://openlayers.org/mailman/listinfo/users > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
