0.7.0 • Published 9 months ago

@open-pioneer/coordinate-viewer v0.7.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

@open-pioneer/coordinate-viewer

This package provides a UI component to show the current coordinates at the users current mouse position.

Usage

To integrate the coordinate viewer in your app, insert the following snippet and reference a map ID:

<CoordinateViewer mapId="map_id" />

To define the number of decimal places shown, set the optional precision property:

<CoordinateViewer mapId="map_id" precision={2} />

To show the coordinates in a specific projection, set the optional displayProjectionCode property:

<CoordinateViewer mapId="map_id" displayProjectionCode="EPSG:4326" />

To show the coordinates in a specific coordinate format, set the optional format property (default: decimal):

<CoordinateViewer mapId="map_id" format="degree" />

License

Apache-2.0 (see LICENSE file)

0.7.0

9 months ago

0.5.4

11 months ago

0.5.3

11 months ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago