piko [
[hidden email]] kirjoitti:
>
> It seems very strange to me and i cannot solve as my javascript
> skills are quiet limited.
>
> Nick bozon
>
> if (evt.feature.attributes._index == 1) {
> // here i get the not expected EPSG:4326 values in my alert
> }
> else{
> //here i get the right EPSG:27563 values
> }
The reason must be that the if-expression you have is controlling
the flow of the program? It is not 1 when you get expected values
and 1 when it does not happen. Check your coding.
Janne. / MNS Support
_______________________________________________
Proj mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/proj