# vue2-leaflet-editablecirclemarker

> editablecirclemarker plugin extension for vue2-leaflet package

Latest version **1.0.5** (published 2019-01-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue2-leaflet-editablecirclemarker
pnpm add vue2-leaflet-editablecirclemarker
yarn add vue2-leaflet-editablecirclemarker
bun add vue2-leaflet-editablecirclemarker
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-01-06 |
| First published | 2018-05-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 242 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Julián Perelli |
| Maintainers | jperelli |
| Keywords | vue2, leaflet, editablecirclemarker |

## Links

- npm: https://www.npmjs.com/package/vue2-leaflet-editablecirclemarker
- Repository: https://github.com/jperelli/vue2-leaflet-editablecirclemarker
- Homepage: https://github.com/cualbondi/vue2-leaflet-editablecirclemarker#readme
- Issues: https://github.com/cualbondi/vue2-leaflet-editablecirclemarker/issues
- npm.io page: https://npm.io/package/vue2-leaflet-editablecirclemarker

## Dependencies (1)

- [leaflet-editablecirclemarker](https://npm.io/package/leaflet-editablecirclemarker.md) ^1.0.4

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-01-06
- 1.0.4 — 2018-06-02
- 1.0.3 — 2018-05-28
- 1.0.2 — 2018-05-27
- 1.0.1 — 2018-05-27

## README

# vue2-leaflet-editablecirclemarker

This is a [editable circle marker plugin](https://github.com/cualbondi/leaflet-editablecirclemarker) extension for [vue2-leaflet package](https://github.com/KoRiGaN/Vue2Leaflet)

## Install

    npm install --save vue2-leaflet-editablecirclemarker

## Demo

    git clone git@github.com:cualbondi/vue2-leaflet-editablecirclemarker.git
    cd vue2-leaflet-editablecirclemarker
    yarn
    yarn example

    # or alternatively using npm
    npm install
    npm run example

Then you should be able to navigate with your browser and see the demo in http://localhost:4000/

You can see the demo code in the file [example.vue](example.vue)

## Usage

### on &lt;template&gt; add

something like this

    <v-map :zoom=10 :center="initialLocation">
      <v-editablecirclemarker :latLng.sync="ll" :rad="rad" :options="options"></v-editablecirclemarker>
    </v-map>

### on &lt;script&gt; add

#### option 1

In the same template file, at `<script>` part, this will make the component available only to the template in this file

    import Vue2LeafletEditablecirclemarker from 'vue2-leaflet-editablecirclemarker'
    ...
    export default {
      ...
      components: {
        'v-editablecirclemarker': Vue2LeafletEditablecirclemarker
        ...
      },
      ...
    }

#### option 2

At main Vue configuration, this will make the component available to all templates in your app

    import Vue from 'vue'
    import Vue2LeafletEditablecirclemarker from 'vue2-leaflet-editablecirclemarker'
    ...
    Vue.component('v-editablecirclemarker', Vue2LeafletEditablecirclemarker)

## Access editablecirclemarker layer directly

If you need to access other editableCircleMarker methods, you can do it with a ref on the editablecirclemarker vue element and using the `mapObject` property

    ...
    <v-editablecirclemarker ref="circlemarkerRef"></v-editablecirclemarker>
    ...

    ...
    this.$refs.circlemarkerRef.mapObject.setRadius(100)
    ...


## Develop and build

    npm install
    npm run build

## Author

[Julián Perelli](https://jperelli.com.ar/)

## License

MIT

---
_Source: https://npm.io/package/vue2-leaflet-editablecirclemarker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
