Quantcast

[pmapper-users] shplink is undefined when querying rasters

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[pmapper-users] shplink is undefined when querying rasters

Pedro Venâncio
Hi,

I've been updating my pMapper application, with new versions of core and plugins code, and I realized now that rasters query no longer works. I have the raster configurations in the mapfile like:

TOLERANCE 0
TOLERANCEUNITS pixels
TEMPLATE void
METADATA
...
"RESULT_FIELDS" "class,value_0,x,y"
"RESULT_HEADERS" "Classe,Valor,CoordX,CoordY"
END

and when I do a 'Identify', the pmQueryContainer appears, but empty; the pmIndicatorContainer remain always rotating; and I get this error:

TypeError: val[0].shplink is undefined  --->  js_session.php:348:2347

$.extend(PM.Plugin,{SelectionManagement:{dlgOptions:{width:400,height:330,left:250,top:250,resizeable:true,newsize:true,container:'pmSavSelectionContainer',name:_p('selectionManagement_savSelectionDlg')},selectMethode: 'new',useMenuDlg: false,obj_results_links:{},init: function(){var link='<div class="selectionManagement_linkImg" ';link+='alt="'+_p('selectionManagement_removeSelected__object')+'" ';link+='title="'+_p('selectionManagement_removeSelected__object')+'" ';link+='onclick="javascript:PM.Plugin.SelectionManagement.removeObjectFromSelection(\'--shpLayer--\',\'--shpIndex--\')"';link+='>&nbsp;</div>';this.obj_results_links={"selectionManagement_removeSelected__header": link};if(typeof(PM.ini.pluginsConfig.selectionManagement)!='undefined'){if(typeof(PM.ini.pluginsConfig.selectionManagement.useMenuDlg)!='undefined'){if(PM.ini.pluginsConfig.selectionManagement.useMenuDlg==1){this.useMenuDlg=true;}}}},removeObjectFromSelection: function(layer,shapeIndex){var url=PM_PLUGIN_LOCATION+"/selectionManagement/x_selectionManagement.php";var params=SID;params+='&operation=remove_selected';params+='&layerName='+layer;params+='&objIndex='+shapeIndex;$.ajax({url: url,dataType: "json",type: "POST",data: params,success: function(response){PM.Query.writeQResult(response.queryResult,PM.infoWin);if(response.queryResult==0){PM.Map.clearInfo();}},error: function(XMLHttpRequest,textStatus,errorThrown){if(window.console){console.log(errorThrown);}}});},extendQueryLayersHeaders : function(queryLayers,tplName){if(queryLayers&&tplName !='iquery'){for(var iLayer=0;iLayer<queryLayers.length;iLayer++){var currentLayer=queryLayers[iLayer];$.each(this.obj_results_links,function(name,value){currentLayer.header.push(_p(name));currentLayer.stdheader.push(_p(name));});}};return queryLayers;},extendQueryLayersValues: function(queryLayers,tplName){if(queryLayers&&tplName !='iquery'){for(var iLayer=0;iLayer<queryLayers.length;iLayer++){var currentLayer=queryLayers[iLayer];var links=this.obj_results_links;$.each(currentLayer.values,function(iVal,val){var objValues=val;$.each(links,function(name,link){var newlink=link.replace(/--shpLayer--/g,val[0].shplink[0]);newlink=newlink.replace(/--shpIndex--/g,val[0].shplink[1]);val.push(newlink);});});}};return queryLayers;},removeSelection: function(){var urlreq=PM_PLUGIN_LOCATION+"/selectionManagement/x_selectionManagement.php";var params=SID;params+="&operation=remove_selection";$.ajax({url: urlreq,dataType: "json",type: "POST",data: params,success: function(response){PM.Map.clearInfo();},error: function(response){alert("Echec de la suppression");}});if($('#pmQueryContainer').length>0){$('#pmQueryContainer .jqmClose').click();}},reloadSelection: function(){var urlreq=PM_PLUGIN_LOCATION+"/selectionManagement/x_selectionManagement.php";var params=SID;params+="&operation=reload_selection";$.ajax({url: urlreq,dataType: "json",type: "POST",data: params,success: function(response){PM.Query.writeQResult(response.queryResult,PM.infoWin);},error: function(response){alert(_p("selectionManagement_reloadError"));}});},reloadMap: function(remove){var mapurl=PM_XAJAX_LOCATION+'x_load.php?'+SID+'&zoom_type=zoompoint';if(remove){PM.extentSelectedFeatures=null;};PM.Map.updateMap(mapurl);},addSelectionOperator: function(container,pluginName,bInline){var pluginRealName=pluginName.replace('Plugin.','');var text='<fieldset id="'+pluginRealName+'_selOperators" class="selOperators';if(bInline){text+=',selOperators_inline';};text+='" border=1">';if(!bInline){text+='<legend><b>'+_p('selectionManagement_selOperator_text')+'</b></legend>';};text+='<table><tr>';text+='<td id="'+pluginRealName+'_selOperator_new" class="selOperator_new_on" onclick="javascript:PM.'+pluginName+'.setSelection(\'new\')" alt="'+_p('selectionManagement_selOperator_new_text')+'" title="'+_p('selectionManagement_selOperator_new_text')+'"></td>';text+='<td id="'+pluginRealName+'_selOperator_add" class="selOperator_add_on" onclick="javascript:PM.'+pluginName+'.setSelection(\'add\')" alt="'+_p('selectionManagement_selOperator_add_text')+'" title="'+_p('selectionManagement_selOperator_add_text')+'"></td>';text+='<td id="'+pluginRealName+'_selOperator_intersec" class="selOperator_intersec_on" onclick="javascript:PM.'+pluginName+'.setSelection(\'intersec\')" alt="'+_p('selectionManagement_selOperator_intersec_text')+'" title="'+_p('selectionManagement_selOperator_intersec_text')+'"></td>';text+='<td id="'+pluginRealName+'_selOperator_del" class="selOperator_del_on" onclick="javascript:PM.'+pluginName+'.setSelection(\'del\')" alt="'+_p('selectionManagement_selOperator_del_text')+'" title="'+_p('selectionManagement_selOperator_del_text')+'"></td>';text+='</tr></table></fieldset>';$(container).append(text);},setSelectionOperator: function(pluginName,type){switch(type){case 'add': $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_off').addClass('selOperator_add_on');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;case 'del': $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_off').addClass('selOperator_del_on');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;case 'new': $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_off').addClass('selOperator_new_on');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;case 'intersec': $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_off').addClass('selOperator_intersec_on');break;default : $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;}},setLayerSelection: function(itemId){var bChecked;var itemIdInt=itemId+1;var chkBox=$('#selectionManagement_selList tr:eq('+itemIdInt+')'+' .selectionManagement_saveSelection_showLayer');var grpName=chkBox.val();bChecked=chkBox.attr('checked');$('#ginput_'+grpName).attr('checked',bChecked);PM.Toc.setlayers(grpName,false);}}});


Does anyone confirm? Can be my mistake during upgrades?


Thanks!

Best regards,
Pedro Venâncio

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
pmapper-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmapper-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [pmapper-users] shplink is undefined when querying rasters

Thomas
Hi,

Does it works without "SelectionManagement" plugin ?

Le 02/07/2015 16:45, Pedro Venâncio a écrit :

> Hi,
>
> I've been updating my pMapper application, with new versions of core and plugins code, and I realized now that rasters query no longer works. I have the raster configurations in the mapfile like:
>
> TOLERANCE 0
> TOLERANCEUNITS pixels
> TEMPLATE void
> METADATA
> ...
> "RESULT_FIELDS" "class,value_0,x,y"
> "RESULT_HEADERS" "Classe,Valor,CoordX,CoordY"
> END
>
> and when I do a 'Identify', the pmQueryContainer appears, but empty; the pmIndicatorContainer remain always rotating; and I get this error:
>
> TypeError: val[0].shplink is undefined  --->  js_session.php:348:2347
>
> $.extend(PM.Plugin,{SelectionManagement:{dlgOptions:{width:400,height:330,left:250,top:250,resizeable:true,newsize:true,container:'pmSavSelectionContainer',name:_p('selectionManagement_savSelectionDlg')},selectMethode: 'new',useMenuDlg: false,obj_results_links:{},init: function(){var link='<div class="selectionManagement_linkImg" ';link+='alt="'+_p('selectionManagement_removeSelected__object')+'" ';link+='title="'+_p('selectionManagement_removeSelected__object')+'" ';link+='onclick="javascript:PM.Plugin.SelectionManagement.removeObjectFromSelection(\'--shpLayer--\',\'--shpIndex--\')"';link+='>&nbsp;</div>';this.obj_results_links={"selectionManagement_removeSelected__header": link};if(typeof(PM.ini.pluginsConfig.selectionManagement)!='undefined'){if(typeof(PM.ini.pluginsConfig.selectionManagement.useMenuDlg)!='undefined'){if(PM.ini.pluginsConfig.selectionManagement.useMenuDlg==1){this.useMenuDlg=true;}}}},removeObjectFromSelection: function(layer,shapeIndex){var url=PM_PLUGIN_LOCATION+"/selectionManagement/x_selectionManagement.php";var params=SID;params+='&operation=remove_selected';params+='&layerName='+layer;params+='&objIndex='+shapeIndex;$.ajax({url: url,dataType: "json",type: "POST",data: params,success: function(response){PM.Query.writeQResult(response.queryResult,PM.infoWin);if(response.queryResult==0){PM.Map.clearInfo();}},error: function(XMLHttpRequest,textStatus,errorThrown){if(window.console){console.log(errorThrown);}}});},extendQueryLayersHeaders : function(queryLayers,tplName){if(queryLayers&&tplName !='iquery'){for(var iLayer=0;iLayer<queryLayers.length;iLayer++){var currentLayer=queryLayers[iLayer];$.each(this.obj_results_links,function(name,value){currentLayer.header.push(_p(name));currentLayer.stdheader.push(_p(name));});}};return queryLayers;},extendQueryLayersValues: function(queryLayers,tplName){if(queryLayers&&tplName !='iquery'){for(var iLayer=0;iLayer<queryLayers.length;iLayer++){var currentLayer=queryLayers[iLayer];var links=this.obj_results_links;$.each(currentLayer.values,function(iVal,val){var objValues=val;$.each(links,function(name,link){var newlink=link.replace(/--shpLayer--/g,val[0].shplink[0]);newlink=newlink.replace(/--shpIndex--/g,val[0].shplink[1]);val.push(newlink);});});}};return queryLayers;},removeSelection: function(){var urlreq=PM_PLUGIN_LOCATION+"/selectionManagement/x_selectionManagement.php";var params=SID;params+="&operation=remove_selection";$.ajax({url: urlreq,dataType: "json",type: "POST",data: params,success: function(response){PM.Map.clearInfo();},error: function(response){alert("Echec de la suppression");}});if($('#pmQueryContainer').length>0){$('#pmQueryContainer .jqmClose').click();}},reloadSelection: function(){var urlreq=PM_PLUGIN_LOCATION+"/selectionManagement/x_selectionManagement.php";var params=SID;params+="&operation=reload_selection";$.ajax({url: urlreq,dataType: "json",type: "POST",data: params,success: function(response){PM.Query.writeQResult(response.queryResult,PM.infoWin);},error: function(response){alert(_p("selectionManagement_reloadError"));}});},reloadMap: function(remove){var mapurl=PM_XAJAX_LOCATION+'x_load.php?'+SID+'&zoom_type=zoompoint';if(remove){PM.extentSelectedFeatures=null;};PM.Map.updateMap(mapurl);},addSelectionOperator: function(container,pluginName,bInline){var pluginRealName=pluginName.replace('Plugin.','');var text='<fieldset id="'+pluginRealName+'_selOperators" class="selOperators';if(bInline){text+=',selOperators_inline';};text+='" border=1">';if(!bInline){text+='<legend><b>'+_p('selectionManagement_selOperator_text')+'</b></legend>';};text+='<table><tr>';text+='<td id="'+pluginRealName+'_selOperator_new" class="selOperator_new_on" onclick="javascript:PM.'+pluginName+'.setSelection(\'new\')" alt="'+_p('selectionManagement_selOperator_new_text')+'" title="'+_p('selectionManagement_selOperator_new_text')+'"></td>';text+='<td id="'+pluginRealName+'_selOperator_add" class="selOperator_add_on" onclick="javascript:PM.'+pluginName+'.setSelection(\'add\')" alt="'+_p('selectionManagement_selOperator_add_text')+'" title="'+_p('selectionManagement_selOperator_add_text')+'"></td>';text+='<td id="'+pluginRealName+'_selOperator_intersec" class="selOperator_intersec_on" onclick="javascript:PM.'+pluginName+'.setSelection(\'intersec\')" alt="'+_p('selectionManagement_selOperator_intersec_text')+'" title="'+_p('selectionManagement_selOperator_intersec_text')+'"></td>';text+='<td id="'+pluginRealName+'_selOperator_del" class="selOperator_del_on" onclick="javascript:PM.'+pluginName+'.setSelection(\'del\')" alt="'+_p('selectionManagement_selOperator_del_text')+'" title="'+_p('selectionManagement_selOperator_del_text')+'"></td>';text+='</tr></table></fieldset>';$(container).append(text);},setSelectionOperator: function(pluginName,type){switch(type){case 'add': $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_off').addClass('selOperator_add_on');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;case 'del': $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_off').addClass('selOperator_del_on');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;case 'new': $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_off').addClass('selOperator_new_on');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;case 'intersec': $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_off').addClass('selOperator_intersec_on');break;default : $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;}},setLayerSelection: function(itemId){var bChecked;var itemIdInt=itemId+1;var chkBox=$('#selectionManagement_selList tr:eq('+itemIdInt+')'+' .selectionManagement_saveSelection_showLayer');var grpName=chkBox.val();bChecked=chkBox.attr('checked');$('#ginput_'+grpName).attr('checked',bChecked);PM.Toc.setlayers(grpName,false);}}});
>
>
> Does anyone confirm? Can be my mistake during upgrades?
>
>
> Thanks!
>
> Best regards,
> Pedro Venâncio
>
>



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
pmapper-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmapper-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [pmapper-users] shplink is undefined when querying rasters

Pedro Venâncio
Hi Thomas,

That's correct, if I disable <plugins>selectionManagement</plugins> AND <plugins>multimedia_files</plugins>, it works ok! But I need to disable both. So the problem must be somewhere on these plugins. Any clue?


Thank you very much Thomas!

Best regards,
Pedro





----- Mensagem original -----

> DE: Thomas RAFFIN
>
> Hi,
>
> Does it works without "SelectionManagement" plugin ?
>
>
> Le 02/07/2015 16:45, Pedro Venâncio a écrit :
>>  Hi,
>>
>>  I've been updating my pMapper application, with new versions of core
> and plugins code, and I realized now that rasters query no longer works. I have
> the raster configurations in the mapfile like:
>>
>>  TOLERANCE 0
>>  TOLERANCEUNITS pixels
>>  TEMPLATE void
>>  METADATA
>>  ...
>>  "RESULT_FIELDS" "class,value_0,x,y"
>>  "RESULT_HEADERS" "Classe,Valor,CoordX,CoordY"
>>  END
>>
>>  and when I do a 'Identify', the pmQueryContainer appears, but
> empty; the pmIndicatorContainer remain always rotating; and I get this error:
>>
>>  TypeError: val[0].shplink is undefined  --->  js_session.php:348:2347
>>
>>
> $.extend(PM.Plugin,{SelectionManagement:{dlgOptions:{width:400,height:330,left:250,top:250,resizeable:true,newsize:true,container:'pmSavSelectionContainer',name:_p('selectionManagement_savSelectionDlg')},selectMethode:
> 'new',useMenuDlg: false,obj_results_links:{},init:
> function(){var link='<div
> class="selectionManagement_linkImg"
> ';link+='alt="'+_p('selectionManagement_removeSelected__object')+'"
> ';link+='title="'+_p('selectionManagement_removeSelected__object')+'"
> ';link+='onclick="javascript:PM.Plugin.SelectionManagement.removeObjectFromSelection(\'--shpLayer--\',\'--shpIndex--\')"';link+='>&nbsp;</div>';this.obj_results_links={"selectionManagement_removeSelected__header":
> link};if(typeof(PM.ini.pluginsConfig.selectionManagement)!='undefined'){if(typeof(PM.ini.pluginsConfig.selectionManagement.useMenuDlg)!='undefined'){if(PM.ini.pluginsConfig.selectionManagement.useMenuDlg==1){this.useMenuDlg=true;}}}},removeObjectFromSelection:
> function(layer,shapeIndex){var
> url=PM_PLUGIN_LOCATION+"/selectionManagement/x_selectionManagement.php";var
> params=SID;params+='&operation=remove_selected';params+='&layerName='+layer;params+='&objIndex='+shapeIndex;$.ajax({url:
> url,dataType: "json",type: "POST",data: params,success:
> function(response){PM.Query.writeQResult(response.queryResult,PM.infoWin);if(response.queryResult==0){PM.Map.clearInfo();}},error:
> function(XMLHttpRequest,textStatus,errorThrown){if(window.console){console.log(errorThrown);}}});},extendQueryLayersHeaders
> : function(queryLayers,tplName){if(queryLayers&&tplName
> !='iquery'){for(var
> iLayer=0;iLayer<queryLayers.length;iLayer++){var
> currentLayer=queryLayers[iLayer];$.each(this.obj_results_links,function(name,value){currentLayer.header.push(_p(name));currentLayer.stdheader.push(_p(name));});}};return
> queryLayers;},extendQueryLayersValues:
> function(queryLayers,tplName){if(queryLayers&&tplName
> !='iquery'){for(var
> iLayer=0;iLayer<queryLayers.length;iLayer++){var
> currentLayer=queryLayers[iLayer];var
> links=this.obj_results_links;$.each(currentLayer.values,function(iVal,val){var
> objValues=val;$.each(links,function(name,link){var
> newlink=link.replace(/--shpLayer--/g,val[0].shplink[0]);newlink=newlink.replace(/--shpIndex--/g,val[0].shplink[1]);val.push(newlink);});});}};return
> queryLayers;},removeSelection: function(){var
> urlreq=PM_PLUGIN_LOCATION+"/selectionManagement/x_selectionManagement.php";var
> params=SID;params+="&operation=remove_selection";$.ajax({url:
> urlreq,dataType: "json",type: "POST",data: params,success:
> function(response){PM.Map.clearInfo();},error:
> function(response){alert("Echec de la
> suppression");}});if($('#pmQueryContainer').length>0){$('#pmQueryContainer
> .jqmClose').click();}},reloadSelection: function(){var
> urlreq=PM_PLUGIN_LOCATION+"/selectionManagement/x_selectionManagement.php";var
> params=SID;params+="&operation=reload_selection";$.ajax({url:
> urlreq,dataType: "json",type: "POST",data: params,success:
> function(response){PM.Query.writeQResult(response.queryResult,PM.infoWin);},error:
> function(response){alert(_p("selectionManagement_reloadError"));}});},reloadMap:
> function(remove){var
> mapurl=PM_XAJAX_LOCATION+'x_load.php?'+SID+'&zoom_type=zoompoint';if(remove){PM.extentSelectedFeatures=null;};PM.Map.updateMap(mapurl);},addSelectionOperator:
> function(container,pluginName,bInline){var
> pluginRealName=pluginName.replace('Plugin.','');var
> text='<fieldset id="'+pluginRealName+'_selOperators"
> class="selOperators';if(bInline){text+=',selOperators_inline';};text+='"
> border=1">';if(!bInline){text+='<legend><b>'+_p('selectionManagement_selOperator_text')+'</b></legend>';};text+='<table><tr>';text+='<td
> id="'+pluginRealName+'_selOperator_new"
> class="selOperator_new_on"
> onclick="javascript:PM.'+pluginName+'.setSelection(\'new\')"
> alt="'+_p('selectionManagement_selOperator_new_text')+'"
> title="'+_p('selectionManagement_selOperator_new_text')+'"></td>';text+='<td
> id="'+pluginRealName+'_selOperator_add"
> class="selOperator_add_on"
> onclick="javascript:PM.'+pluginName+'.setSelection(\'add\')"
> alt="'+_p('selectionManagement_selOperator_add_text')+'"
> title="'+_p('selectionManagement_selOperator_add_text')+'"></td>';text+='<td
> id="'+pluginRealName+'_selOperator_intersec"
> class="selOperator_intersec_on"
> onclick="javascript:PM.'+pluginName+'.setSelection(\'intersec\')"
> alt="'+_p('selectionManagement_selOperator_intersec_text')+'"
> title="'+_p('selectionManagement_selOperator_intersec_text')+'"></td>';text+='<td
> id="'+pluginRealName+'_selOperator_del"
> class="selOperator_del_on"
> onclick="javascript:PM.'+pluginName+'.setSelection(\'del\')"
> alt="'+_p('selectionManagement_selOperator_del_text')+'"
> title="'+_p('selectionManagement_selOperator_del_text')+'"></td>';text+='</tr></table></fieldset>';$(container).append(text);},setSelectionOperator:
> function(pluginName,type){switch(type){case 'add':
> $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_off').addClass('selOperator_add_on');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;case
> 'del':
> $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_off').addClass('selOperator_del_on');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;case
> 'new':
> $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_off').addClass('selOperator_new_on');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;case
> 'intersec':
> $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_off').addClass('selOperator_intersec_on');break;default
> :
> $('#'+pluginName+'_selOperator_add').removeClass('selOperator_add_on').addClass('selOperator_add_off');$('#'+pluginName+'_selOperator_del').removeClass('selOperator_del_on').addClass('selOperator_del_off');$('#'+pluginName+'_selOperator_new').removeClass('selOperator_new_on').addClass('selOperator_new_off');$('#'+pluginName+'_selOperator_intersec').removeClass('selOperator_intersec_on').addClass('selOperator_intersec_off');break;}},setLayerSelection:
> function(itemId){var bChecked;var itemIdInt=itemId+1;var
> chkBox=$('#selectionManagement_selList
> tr:eq('+itemIdInt+')'+'
> .selectionManagement_saveSelection_showLayer');var
> grpName=chkBox.val();bChecked=chkBox.attr('checked');$('#ginput_'+grpName).attr('checked',bChecked);PM.Toc.setlayers(grpName,false);}}});
>>
>>
>>  Does anyone confirm? Can be my mistake during upgrades?
>>
>>
>>  Thanks!
>>
>>  Best regards,
>>  Pedro Venâncio
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> pmapper-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
pmapper-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmapper-users
Loading...