For point I use OpenLayers and transform():
numZona = Math.ceil(parseFloat(lon)/6)); Proj4js.defs["EPSG:28406"] = '+proj=tmerc +lat_0=0 +lon_0='(parseInt(numZona)*6-3)+' +k=1.000000 +x_0='+numZona+'500000 +y_0=0 +ellps=krass +units=m +no_defs; centerPoint = new OpenLayers.Geometry.Point(lon, lat).transform(new OpenLayers.Projection("EPSG:4284"), new OpenLayers.Projection("EPSG:900913"));But what do with distance? I have longitude and latitude in EPSG:4284, distanse in meters and a map with EPSG:900913 projection.
أكثر...
numZona = Math.ceil(parseFloat(lon)/6)); Proj4js.defs["EPSG:28406"] = '+proj=tmerc +lat_0=0 +lon_0='(parseInt(numZona)*6-3)+' +k=1.000000 +x_0='+numZona+'500000 +y_0=0 +ellps=krass +units=m +no_defs; centerPoint = new OpenLayers.Geometry.Point(lon, lat).transform(new OpenLayers.Projection("EPSG:4284"), new OpenLayers.Projection("EPSG:900913"));But what do with distance? I have longitude and latitude in EPSG:4284, distanse in meters and a map with EPSG:900913 projection.
أكثر...