[OpenLayers-Users] Projection problem

José Angel Rodríguez Leyva jar.cub at gmail.com
Wed Apr 21 13:17:09 EDT 2010


Hi,

Thanks for your answer.

I added  Proj4js to the project. Verify that everythings is loaded so
it can transforms coordinate from my projection to Google's. But I get
the same result. Nevertheless if I put projection to mine and
displayProjection to the Google one (as is explained -in spanish-in
http://blog.andago.com/web/blog-andago/gestion-del-territorio/-/blogs/openlayers:-reproyecion-de-capas-wms-epsg:4326-sobre-proyeccion-de-googlemaps-epsg:900913),
now I can see my layers if I change its projections to the same of
Google.

In any case always it works in the same way. But I have another clue I
dont mentioned yesterday. After map were rendered, if I add a new
layer, it is shown in the right place, just after a zoom in or out,
the features were displaced and no return to its right position unless
if it removed and added again. I believed that coordinated system are
well because with the pair obtained by onClick event I get a correct
answer of getFeatureInfo on places where it supose must be shown the
features.

Thanks again, greetings

jar

On Tue, Apr 20, 2010 at 5:56 PM, JamSquad <Jordan_R_Clark at hotmail.com> wrote:
>
> Hey there Jose!
>
> I think you might need Proj4js, a script which transforms projections.
>


-- 
o.o
..o
O..



More information about the Users mailing list