Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


Note: Dear user the section "New Integration of Geowidget" shows the new way to integrate the Geowidget map, if you are looking for information about the previous possibilities to integrate Geowidget V4, go to the section "OLD version Integration of Geowidget"

New Integration of Geowidget


To use Geowidget v4, add the following lines to your page headers.


Code Block
script async src="https://geowidget.easypack24.net/js/sdk-for-javascript.js"></script>
<link rel="stylesheet" href="https://geowidget.easypack24.net/css/easypack.css"/>


To initialize the map using the defined contexts, specify values for instance, context, and token in the parameters. Point selection is implemented as an event callback to the mapWidget function (example below).



Code Block
<script type="text/javascript">           
    easyPack.init({
        instance: 'pl',
        context: "context name",
        token: "a token generated in the Parcel Locker Manager for API Points"
    });
    var map = easyPack.mapWidget('easypack-map', function(point) {
        console.log(point);
    });               
/script>
  
<div id="easypack-map"></div>



Parameter Description:


name
description
tokenParameter to which the PUBLIC token generated in parcel locker manager application should be provided (https://manager.paczkomaty.pl/  - tab MOJE KONTO > API > GEOWIDGET).
contextParameter specifying which functions/types the points displayed on the map should have (names of contexts and their description below in the table).
instanceInstance name parameter, for PL the value is 'pl'


Configuration options:


#
Description
Option
1Display pickup points for prepaid orderscontext: 'parcelCollect'
2Display collection points for cash on delivery orderscontext: 'parcelCollectPayment'
3Display of collection points for PWW orderscontext: 'parcelCollect247'
4Display of broadcast pointscontext: 'parcelSend'
5Display of PUDO Żabka collection points for prepaid orderscontext: 'parcelCollectZabka'
6Display PUDO Żabka collection points for cash on delivery orderscontext: parcelCollectPaymentZabka'
7Display InPost pick-up points for prepaid orderscontext: parcelCollectInPost'
8Display InPost collection points for cash on delivery orderscontext: 'parcelCollectPaymentInPost'


Example: https://geowidget.easypack24.net/examples/multi-maps-contexts.html

...

OLD Version integration of Geowidget


Basic info

GEOv4 (also known as Geowidget v4) is a point locator and picker designed by Integer sp. z o.o. It's main goal is to show map of points with several types (for example machines), provide informations about this points and give possibility to integrate with clients external systems. GEOv4 is a widget-type software, it means that whole code and processing is held on Integer servers, external clients only attach link to this code and specify configuration that will be used on theirs systems.

...