Hi, to solve both problems, just include the following in a script block below the script tag that loads Mapbuilder:
Proj4js.defs["EPSG:32721"] = "+proj=utm +zone=21 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs "; Regards, Andreas. Ignacio Talavera wrote: > Hi, I've tried my first example using mapbuilder and SRS="EPSG:32721" > my app shows me all maps correctly but > in my java Script console I get the following error : > > *Error: not well-formed > Source File: > http://localhost:11080/mapbuilder/proxy?url=http://spatialreference.org/ref/epsg/32721/proj4 > Line: 1, Column: 1 > Source Code: > +proj=utm +zone=21 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs^ > > *Any idea?. > > Another question is how can I change the > "proxy?url=http://spatialreference.org/ref/epsg/32721/proj4", because > I have deployed mapbuilder in > an intranet server, which has no access to internet, and I get error > when tryinig to access this URL. :( > > thanks > Nacho > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Mapbuilder-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
