Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

i have two wms layes and geosatelite as a base layer. i have a problem when i try to filter data using cql_filter, the debugger says "Uncaught TypeError: Cannot call method 'mergeNewParams' of undefined". how can i fix this problem. Thanks for your cooperation. function gotomahalle(){ var filterparams1={cql_filter: null}; var mfilter="CITY_ID='document.getElementById(city_list).value'"; //to get data from dropdownlist filterparams1["cql_filter"]=mfilter; city.mergeNewParams(filterparams1);//city is my layer name }

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.