Skip to content

Repository files navigation

Amaps

Implementation of Amaps for Amsterdam

This repository contains several scripts for specific use cases, like querying certain APIs when the map is clicked. These specific cases are:

  • point query (users selects a coordinate in a map and information about it is returned)
  • multiple feature select (users selects one or more objects, parking spots in this case, and information about the selection is returned).

How it works

  • pointquery: demonstrates single-click functionality with a feature query.
  • multiselect: demonstrates multiple feature selection from a feature datasource.

with docker

To run the application in Docker: make build && make dev (accessible on port 8095)

Embedding

Amaps can be used as an embedded element in other forms.

  • multiselect: can be embedded in a form using the generated multiselect.iife.js output.
    Selected features are written to a hidden input field in JSON format, so when the form is submitted, the data is sent along automatically.

  • pointquery: to be developed

About

Map tools for Amsterdam forms

Topics

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

13 watching

Forks

Releases

Packages

Used by

Contributors

Languages