svelte-map Svelte Themes

Svelte Map

TRy to create client for displaying Maps using Svelte and svg

#Latvia https://developers.kartes.lv/en/wms/ PROJCS["LKS-92 / Latvia TM", GEOGCS["LKS-92", DATUM["Latvian_geodetic_coordinate_system_1992", SPHEROID["GRS 1980",6378137,298.257222101], TOWGS84[0,0,0,0,0,0,0]], PRIMEM["Greenwich",0, AUTHORITY["EPSG","8901"]], UNIT["degree",0.0174532925199433, AUTHORITY["EPSG","9122"]], AUTHORITY["EPSG","4661"]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",0], PARAMETER["central_meridian",24], PARAMETER["scale_factor",0.9996], PARAMETER["false_easting",500000], PARAMETER["false_northing",-6000000], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AUTHORITY["EPSG","3059"]]

generate key pair

A PEM-encoded EC public key using the secp256r1 curve (prime256v1) must be and remain hosted at https:///.well-known/appspecific/com.tesla.3p.public-key.pem. This public key will be registered on devices and used to validate commands that are generated by the vehicle-command proxy.

generate a private key

openssl ecparam -name prime256v1 -genkey -noout -out ec-p256-private.pem
cat ec-p256-private.pem | base64

extract the public key

openssl ec -in ec-p256-private.pem -pubout | base64

Top categories

Loading Svelte Themes