nocloud-ui

NoCloud UI Design Library
1,750
Install
npm install nocloud-ui
Latest Version:1.0.19
Vue:2
License:Apache-2.0
Last Updated:Mar 18, 2024
Links: npm
Maintainer: slnt_opp

NoCloud UI

UI library based on VUE for NoCloud or other projects.

Instalation

yarn install nocloud-ui

// or

npm install nocloud-ui
  • components
    • map

map

A map component for displaying locations and/or setting them up.

Map Component Example

<nc-map v-model="selectedLocation" :markers="locations" />
import { NcMap } from "nocloud-ui";

export default {
 name: 'app',
 components: { NcMap },
 data: () => ({ selectedLocation: "", locations: [] })
}

Location is an object with fields:

const location = {
 title: "[display name of the location next to the marker]", // string
 id: "[two-letter country code, with some exceptions*]", // string
 x: "[marker display coordinate on the map along the x-axis]", // number
 y: "[marker display coordinate on the map along the y-axis]", // number
 extra: "[additional location information**]" // object
};

// *for example, for OVH, the datacenter will be indicated with a hyphen - "PL-WAW" (PL - country code, WAW - datacenter)
// **for example, for OVH, there will be field "region" with a datacenter inside - { extra: { region: "WAW" } }

Country codes are in the map.json file at the root of the repository.

Related Packages

@nextgis/vuetify-ngw-components

Vuetify components for NGW Frontend

3,180 31
vue-naver-map

Naver Map component

1,591 3
ctmap

A Vue.js project

6,274
ol-map-vue3

Vue3基于openLayers封装的地图组件库

999 1
@vasiliyrusin/vue-mapfields

Small shortcut for **vuex** function which could be used same as `mapState` or `...

765 0

Version History

Version Released Vue License
1.0.19 ^2.7.0 Apache-2.0
1.0.18 ^2.7.0 Apache-2.0
1.0.17 ^2.7.0 Apache-2.0
1.0.16 ^2.7.0 Apache-2.0
1.0.15 ^2.7.0 Apache-2.0