项目作者: openstate

项目描述 :
RD New viewer
高级语言: HTML
项目地址: git://github.com/openstate/rdnewviewer.git
创建时间: 2020-02-12T19:22:10Z
项目社区:https://github.com/openstate/rdnewviewer

开源协议:

下载


RD New Viewer

Basic viewer for Dutch Rijksdriehoekscoördinaten (EPSG 28992 / RD New) and WGS 84 data.

View online.

Input (per line):

  1. X Y radius text

X and Y are required, radius and text are optional.
Item separators are space(s), tab(s) and ;.

X Y can be expressed in RD New or WGS 84, the decimal separator can be . or ,.
X Y can be entered as Y X.
Only Dutch bounds, for RD New: 0 ≤ X ≤ 300000 and 289000 ≤ Y ≤ 629000 and for WGS 84: 50 ≤ lat (X) ≤ 54 and 3 ≤ lng (Y) ≤ 10.

radius is either the radius in meters for a circle marker (maximized at 100000 / 100km), or a non number to use a marker (e.g. x).

text can contain HTML and spaces.

ToDo

  • Probably recode in Svelte/Sapper
  • Create code to store (maybe in a GitHub gist?)
  • Create <iframe> embed code (option without store is to use deflate encoded in src=#hash ?))
  • Option to change base map tiles / zoom / center
  • Option to change colors per item / chomajs
  • Zipcode geocoder