Skip to content
This repository was archived by the owner on Sep 9, 2019. It is now read-only.

React wrapper of bbecquet's leaflet rotated marker

Notifications You must be signed in to change notification settings

verdie-g/react-leaflet-rotatedmarker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package is not maintained anymore. Feel free to copy the code in your project. See the issue #1 for react-leaflet 2

React Leaflet Rotated Marker

This is a react wrapper of bbecquet's leaflet rotated marker for react-leaflet.

Instead of extending react-leaflet's Marker, I created a new component named RotatedMarker.

Installation

yarn add react-leaflet-rotatedmarker

Usage

  import RotatedMarker from 'react-leaflet-rotatedmarker'

  <RotatedMarker position={position} rotationAngle={180} rotationOrigin={'center'} />

About

React wrapper of bbecquet's leaflet rotated marker

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published