Skip to content

Map thumbnail when using HTTP POST #14247

@bertt

Description

@bertt

Hi, I'm creating a map by using HTTP POST to /api/v2/maps. payload sample:

{
  "title": "testmap",
  "abstract": "testmap",
  "data": {
    "map": {
      "projection": "EPSG:3857",
      "units": "m",
      "zoom": 5,
      "center": {
        "x": 517164.3275252839,
        "y": 6842056.397470128,
        "crs": "EPSG:3857"
      },
      "maxExtent": [
        462271.7796363245,
        6796328.352314704,
        572680.2784587856,
        6887664.30256273
      ],

I'm expecting that the thumbnail shows only the maxExtent area, but it shows the whole world:

Image

Q: Is there a way to get a correct thumbnail when using HTTP POST?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions