[OpenLayers-Users] SVG related error

Andreas Hocevar ahocevar at opengeo.org
Thu Jan 26 07:05:47 EST 2012


Hi,

can you post a minimal example map that produces these errors?

Thanks,
Andreas.

On Tue, Jan 24, 2012 at 6:24 PM, Takako Tucker <Takako.Tucker at bbc.co.uk> wrote:
> Hello,
>
> I've got .map in my html and that's got width and height.
> The map shows up fine, but throws these errors:
>
>
> Unexpected value NaN parsing width attribute.
> Unexpected value NaN parsing height attribute.
> Unexpected value 0 0 NaN NaN parsing viewBox attribute.
>
>
> I had a look at the code in Firebug and looks like this line is causing
> these errors
>
> <svg id="OpenLayers.Layer.Vector_27_svgRoot" width="NaN" height="NaN"
> viewBox="0 0 NaN NaN"/>
>
> Does anyone know why it's happening?
>
> Thanks
>
> Takako
>
>
>
> http://www.bbc.co.uk
> This e-mail (and any attachments) is confidential and may contain personal
> views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in reliance
> on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list