Skip to content

URL-Command for controlled maps #750

Description

@wellemut

Problem

If we just include a normal iframe on https://einewelt-einekarte.de/#kvm any user could modify all entries, which is not intended. The Organisations of that webpage want to have more control.
Therefore Uwe prepared the backend to create a list of changes, which the organization can approve. kartevonmorgen/openfairdb#269
The Iframe should show only approved entries!

Solution

The Frontend has to add the org_tag to the search string, which it sends to the backend. (API is documented on Swagger)
The shall be given in the URL-Command, which should be called org_tag=XXXX

Example: https://kartevonmorgen.org/#/?center=51.324,8.866&zoom=6.00&search=%23einewelt&org_tag=eineweltnrw Please mind the last command in URL

Helpful hints:

The API is documented in swagger:
grafik

  • go to https://editor.swagger.io
    
  • go to File -> import URL
    
  • enter https://raw.githubusercontent.com/kartevonmorgen/openfairdb/master/openapi.yaml
    
  • See the first section "Search"
    

More about this on this issue: #409

Metadata

Metadata

Assignees

Type

No type

Fields

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