Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XVM.map.parameters.general not ready #21

Open
otsix opened this issue Apr 5, 2013 · 3 comments
Open

XVM.map.parameters.general not ready #21

otsix opened this issue Apr 5, 2013 · 3 comments

Comments

@otsix
Copy link
Contributor

otsix commented Apr 5, 2013

Sometimes when loading the XVM launch this error:
"Uncaught TypeError: Cannot read property 'general' of null"
on Layer.js:109:
"if (XVM.map.parameters.general.use_wms_throw_proxy == true){"

I guess is for the asynchonous load of parameters. How can we fix that?

This code was added by me to allows to request all wms request throw the proxy (sometime usefull to access some internal services).

@jorgelf
Copy link
Contributor

jorgelf commented May 2, 2013

The XVM already has that line of code you are pointing out, and no Exception is thrown in my computer...
Does this still happen to you? In that case, could you provide more info on this issue?

@nachouve
Copy link
Contributor

nachouve commented May 3, 2013

It is thrown randomly... but in some combination of computers/browser is thrown very often...

@jorgelf
Copy link
Contributor

jorgelf commented May 3, 2013

I tried reloading the XVM more than 20 times and it still has never shown up. Please make sure you have the latest code downloaded, then submit or describe your exact config of controls, layers and map, and also say which browser you are using and its version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants