Pickup Point Map Widget Integration

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

Pickup Point Map Widget Integration

Pickup point selection widget on map is mandatory element of order checkout for online stores offering self-pickup. Customer sees all available points on map, can filter by type (postamate/PVZ), working hours, distance from current location.

Data Sources for PVZ

Pickup points come from multiple sources:

  • SDEK APIGET /v2/deliverypoints?city_code={id}&type=PVZ
  • DHL, BoxBerry, 5Post — each provider's own API
  • Yandex.Delivery — endpoint for getting PVZ list
  • Store's own points — stored in DB

Aggregation: all points combined into single format and stored in pickup_points table. Update — scheduled job every 6–12 hours.

pickup_points (
  id, provider, external_id, name, address, city_id,
  lat, lng, working_hours (jsonb),
  max_weight, max_dimensions (jsonb),
  has_fitting_room, has_cash, has_card,
  is_active, updated_at
)

Map: Yandex.Maps vs Google Maps vs Leaflet

Yandex.Maps JS API 3.0 — best for Russian users, more accurate address detection. Free limit 1000 requests/day, then paid.

Leaflet + OpenStreetMap — free, unlimited, worse geocoding in RF. Good for corporate sites with small traffic.

Google Maps — high cost for RF, some features limited.

Clustering Implementation

With 2000+ points map gets slow. Clustering needed.

// Yandex.Maps
import { Clusterer } from '@yandex/ymaps3-clusterer';

const clusterer = new Clusterer({
    clusterize: (coordinates, zoom) => {
        return zoom < 12;
    }
});

For Leaflet — leaflet.markercluster plugin.

Filters and Search

UI filters:

  • Type: postamate / PVZ with staff
  • Working hours: open now / 24h
  • Services: fitting room / card payment / COD
  • Max parcel weight

Search by address — geocoding — input address, get coordinates, map centers, nearest points highlighted.

Data to Order

After point selection form saves:

{
    "pickup_type": "pvz",
    "pickup_point_id": 1234,
    "pickup_provider": "cdek",
    "pickup_external_id": "MSK001",
    "pickup_address": "Moscow, Arbat St, 5"
}

Sent to delivery API when creating shipment.

Mobile Adaptation

On mobile, map competes with page scrolling. Solution: "expand map" button → map opens fullscreen via CSS position: fixed. Or — bottom sheet with map over content.

User City Detection

Map centers on city determined via:

  1. IP geolocation (api.sypexgeo.net or ipgeolocation.io)
  2. Browser geolocation (user permission)
  3. Previous order address (for authorized users)

Development timeline: 3–5 working days for widget with multi-provider aggregation, clustering, and filters.