[Mapbender-users] Please help - refreshLayersAfterFeatureSave -

Charlotte Toma (WhereGroup) charlotte.toma at wheregroup.com
Mon Nov 11 00:13:30 PST 2019


Good morning,

if you add the "refreshLayersAfterFeatureSave" parameter in your
digititizer schemes you don't need to pan/zoom in the map. The moment
you klick the save button all listed layers will be updated, e.g.
layerinstance 164.

You need to add this parameter in the same level with
"allowDigitize/allowDelete/alllowEditData":


poi:
    label: point digitizing
    inlineSearch: true
    maxResults: 500
    featureType:
        connection: search_db
        table: poi
        uniqueId: gid
        geomType: point
        geomField: geom
        srid: 4326
    openFormAfterEdit: true
    zoomScaleDenominator: 500
    allowEditData: true
    allowDelete: true
    *refreshLayersAfterFeatureSave:**
**      - 164*


Greetings

Charly

-- 
***************************
Where2B Konferenz 2019
12. Dezember 2019 in Bonn
where2b-conference.com
*************************** 

Charlotte Toma
GIS-Consultant
WhereGroup GmbH
Eifelstraße 7
53119 Bonn
Germany

Fon: +49 (0)228 / 90 90 38 - 24
Fax: +49 (0)228 / 90 90 38 - 11

info at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm 
Amtsgericht Bonn, HRB 9885

 

Am 11.11.19 um 06:26 schrieb Gal Zsolt:
>
> Hello List!
>
>
> I have a layer MyLines from my Geoserver on the main map. MyLines is a
> table in a PostgresSQL database.
>
> I edit MyLines with Digitizer, and change the field LineColor.
>
> The change effect appear only after I pan or zoom on the map.
>
>
> I use
>
>
> refreshLayersAfterFeatureSave:
>
>                 - 164
>
> where 164 is the Instance-ID of my layer.
>
>
> Where to put in the Digitizer Schemes this line? Is the place in
> schemes affect the change appear on the map?
>
>
> Thanks in advance for any help or idea where to find the solution.
>
>
> Zsolt GAL
>
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20191111/58bdfe8c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 2489 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20191111/58bdfe8c/attachment.key>


More information about the Mapbender_users mailing list