Skip to content

mrosminin/tf-vue-leaflet-ruler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf-vue-leaflet-ruler

vue2 component for tf-leaflet-ruler

Install

npm install tf-vue-leaflet-ruler

Usage

import LRuler from "tf-vue-leaflet-ruler"
<l-ruler :options="rulerOptions" :map="$parent.mapObject"/>
components: { LRuler },
data() {
    return {
        rulerOptions: {
            position: "topleft",
            circleMarker: {
              color: "#F0284E",
              radius: 2
            },
            lineStyle: {
              color: "#9B51E0",
              dashArray: "1,6"
            },
            polyStyle: {
              stroke: false,
              fillColor: "#9B51E0",
              fillOpacity: 0.05
            }
        },
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published