TypeScript definitions for leaflet-rotatedmarker. Latest version: 0.2.5, last published: 2 years ago. Start using @types/leaflet-rotatedmarker in your project by running `npm i @types/leaflet-rotatedmarker`. There is 1 other project in the npm registry u
🚀 Quick Installation npm i -D vue-leaflet-rotate-marker Quickstart <template> <l-map:zoom="5":center="[-2.5, 118]"> <l-tile-layerurl="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"layer-type="base"name="OpenStreetMap"/> <l-marker-rotate:lat-lng="[-3, 115]"ro...
npm install leaflet-rotatedmarker Usage L.marker([48.8631169,2.3708919],{rotationAngle:45}).addTo(map); API It simply extends theL.Markerclass with two new options: OptionTypeDefaultDescription rotationAngleNumber0Rotation angle, in degrees, clockwise. ...
Enables rotation of marker icons in Leaflet. Demo Compatible with versions 0.7.* and 1.* of Leaflet. Doesn't work on IE < 9. npm install leaflet-rotatedmarker Usage L.marker([48.8631169, 2.3708919], { rotationAngle: 45 }).addTo(map); API It simply extends the L.Marker class with tw...
git clone https://github.com/imudin/vue2-leaflet-rotatedmarker cd vue2-leaflet-rotatedmarker 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 inhttp://localhost:4000/ ...
Leaflet 1.0+ API npm install leaflet-path-transform --save or includedist/L.Path.Transform.jsfile require('leaflet-path-transform');varmap=L.map('map-canvas').setView(center,zoom);varpolygon=L.polygon([...,...],{transform:true}).addTo(map);polygon.transform.enable();// or partially...
Code Folders and files Name Last commit message Last commit date Latest commit IvanSanchez v0.2.1 Jul 25, 2019 f2afbd3·Jul 25, 2019 History 26 Commits .gitignore Initial half-working commit Jan 29, 2016 .npmignore Bump to 0.1.1, just some cleanup ...