[Mapbender-users] Map-Refresh after save

Astrid Emde (WhereGroup) astrid.emde at wheregroup.com
Wed May 11 03:40:58 PDT 2022


Hello GÁL,

this feature is not available in Digitizer 1.5.3 anymore.

(I have to update the documentation)

You could make a project hack and add to your 
mapbender.element.digitizer.js

to the function         _initializeEvents: function() {

$(document).on('data.manager.item.saved', function(evt, data) {
   //console.log("something was saved", data);
   if (data.schemaName === 'myschema-digitizer') {
      Mapbender.Model.getSourceById(1234).addParams({_OLSALT: 
Math.random()});
   }
})

Place a copy  at 
/app/Resources/MapbenderDigitizerBundle/public/mapbender.element.digitizer.js 
and do the modification there.

The functionality needs funding to get back to the core. But it looks 
like the workaround is easy to implement.

See you Astrid

Am 2022-05-10 11:43, schrieb Gal Zsolt:
> Hello List!
> 
> Does anyone know   Map-Refresh after save is working in Digitizer
> 1.5.3 (Mapbender 3.3.0)?
> 
> My attempt was unsuccessful.
> 
> GÁL Zsolt
> 
> Satelit NT
> 
> 0744384065
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

---------------------------------------------
Aufwind durch Wissen!
Jetzt neu: Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
---------------------------------------------

   Astrid Emde
   WhereGroup GmbH
   Eifelstraße 7
   53119 Bonn
   Germany

   Tel: +49(0)228 90 90 38 - 22
   Fax: +49(0)228 90 90 38 - 11

   astrid.emde at wheregroup.com
   www.wheregroup.com

   Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen:
   
https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
   Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen

   Folgen Sie der WhereGroup auf twitter:
   http://twitter.com/WhereGroup_com

   Geschäftsführer:
   Olaf Knopp, Peter Stamm
   Amtsgericht Bonn, HRB 9885
-------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x1C287CCB.asc
Type: application/pgp-keys
Size: 1574 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20220511/4081d808/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20220511/4081d808/attachment.sig>


More information about the Mapbender_users mailing list