That error is normal and expected. What happens is that proj4js first
tries to load the projection definition from the local server and if it
can't find it (that's the error you see) it will try to look it up from
spatialreference.org. However to do that you need to define a proxy
script like
Hi All-
My base layers are in NJ State Plane (EPSG:102711) and I would like a
custom click handler to alert the coordinates in DD ("EPSG:4326"). The
alert happens with the state plane coords and not them reprojected.
Here's what I've done so far (perhaps it is not all necessary?):
- added to