[OpenLayers-Users] Cannot read property 'yx' of undefined
Bart van den Eijnden
bartvde at boundlessgeo.com
Fri Oct 18 09:41:31 PDT 2013
Thanks, it seems you've run into:
https://github.com/openlayers/openlayers/commit/663ba16b59a146c5a48446e2aba7b3ba5fd2b4ba#diff-50590031de6234d6082fbde20a8ee538
As a workaround set the following in your code before you construct the WMS layer:
OpenLayers.Projection.defaults['EPSG:27700'] = {yx: false};
Best regards,
Bart
On Oct 18, 2013, at 5:11 PM, Dylan Parry <dylan.parry at bluefoxtech.co.uk> wrote:
> Thanks. Here’s what I’m currently working on: http://beta.opus3.co.uk/demo/osm.
>
> I’m having some other problems with the WMS, in that it’s not rendering anything at the moment, but that shouldn’t affect OL requesting the tiles—they’d just be blank tiles that get returned.
>
> --
> Dylan Parry
>
> Blue Fox Technology Ltd
> Tel: 01492 532100
> Web: http://www.bluefoxtech.co.uk
>
> Registered in England and Wales, Company No. 0508226.
> Registered office: Windsor House, 26 Mostyn Avenue, Craig-Y-Don,
> Llandudno, Conwy LL30 1YY
>
> From: Bart van den Eijnden
> Sent: Friday, 18 October 2013 16:10
> To: Dylan Parry
>
> Alternatively, show as an online example and we can debug it for you.
>
> Best regards,
> Bart
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20131018/0cfb6471/attachment.html>
More information about the Users
mailing list