Changes between Version 8 and Version 9 of UserGuide
- Timestamp:
- Jul 10, 2008, 1:14:22 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuide
v8 v9 58 58 To use Proj4js in this way, you will need to: 59 59 1. include the OLprotoype.js file in a script tag (only if your page doesn't already include OpenLayers) 60 1. define a proxy script to allow cross domain HTTP requests {{{Proj4js.proxyScript = '/mapbuilder/proxy?url=';}}}60 1. define a proxy script to allow cross domain HTTP requests, e.g. {{{Proj4js.proxyScript = '/mapbuilder/proxy?url=';}}} 61 61 62 62 The way dynamic definition string lookup works is to first check for the definition at the path lib/defs. If the appropriate file is found there, it will be loaded and used by Proj4js. If it is not found there ('''note:''' in this case it is normal to see an error in the Firebug console), an HTTP request will be issued to spatialreference.org. If the definition for the CRS code is not found there, Proj4js will set the projection to WGS84.