Hola, yo utilizaba el pmapper 4.3.2. con ms4w v3.0.4. y todo funcionaba bien
pero al cambiar al ms4w 3.2.3. que es actualmente el último, entonces se ha
actualizado el Mapserver a la versión 7 y me ha aparecido el problema de que
no se me resaltaban (highlight) las búsquedas y lo he solucionado de la
siguiente manera:

Cambiar la línea 808 del fichero pmapper-4.3.2\incphp\map\map.php
        //# specific for PG layers  <==== required for MS >= 5.6 !!!
        } elseif ($qLayer->connectiontype == 6) {
por:
        //# specific for PG layers  <==== required for MS >= 5.6 !!!
        } elseif ($qLayer->connectiontype == 7) {

Cambiar la línea 693 del fichero pmapper-4.3.2\incphp\map\initmap.php
        // Modify filter for PostGIS & Oracle layers
        if ($qLayer->connectiontype == 4 || $qLayer->connectiontype == 6) {
por:
        // Modify filter for PostGIS & Oracle layers
        if ($qLayer->connectiontype == 5 || $qLayer->connectiontype == 7) {

Cambiar la línea 33 del fichero pmapper-4.3.2\incphp\map\pmaplayer.php
        // PostgIS layers
        if ($this->layer->connectiontype == 6) {
por:
        // PostgIS layers
        if ($this->layer->connectiontype == 7) {

Cambiar la línea 130 del fichero plugins\common\groupsAndLayers.php
            //# specific for PG layers  <==== required for MS >= 5.6 !!!
            } elseif ($qLayer->connectiontype == 6) {
por:
            //# specific for PG layers  <==== required for MS >= 5.6 !!!
            } elseif ($qLayer->connectiontype == 7) {

Y por último aunque puede que no sea necesario, es cambiar en la línea 79
del fichero config\common\template.map la OPACITY
#
# Layer for POLYGON highlight
#
LAYER
  NAME "highlight_2"
  TYPE polygon
  OPACITY 50

por:
 
#
# Layer for POLYGON highlight
#
LAYER
  NAME "highlight_2"
  TYPE polygon
  COMPOSITE
          OPACITY 50
  END 

Espero que esto ayude.

Un saludo.



--
Sent from: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to