react-mad-map
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -1442,3 +1442,3 @@ 'use strict'; | ||
event: event, | ||
anchor: _this4.props.anchor, | ||
position: _this4.props.position, | ||
payload: _this4.props.payload | ||
@@ -1535,3 +1535,3 @@ }; | ||
// input, passed to events | ||
anchor: PropTypes.array.isRequired, | ||
position: PropTypes.array.isRequired, | ||
payload: PropTypes.any, | ||
@@ -1538,0 +1538,0 @@ |
{ | ||
"name": "react-mad-map", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "React Mad Map", | ||
@@ -5,0 +5,0 @@ "author": "Denisoed", |
@@ -45,3 +45,3 @@ # Mad Map - Light React Map | ||
// const s = String.fromCharCode(97 + (x + y + z) % 3) | ||
// return `https://${s}.basemaps.cartocdn.com/dark_all/${z}/${x}/${y}.png` // List providers https://leaflet-extras.github.io/leaflet-providers/preview | ||
// return `https://${s}.basemaps.cartocdn.com/light_all/${z}/${x}/${y}.png` // List providers https://leaflet-extras.github.io/leaflet-providers/preview | ||
// }} | ||
@@ -156,6 +156,8 @@ // backgroundColor={'#fff'} | ||
**payload** - Coordinates `[[lat, lng], zoom]` marker | ||
**position** - Coordinates `[[lat, lng], zoom]` marker. `zoom` - On what zoom to show the marker when switching to it | ||
**payload** - All marker data | ||
**width** - Width custom marker. Default `20` | ||
**height** - Height custom marker. Default `29` |
@@ -1311,3 +1311,3 @@ import React, { Component } from 'react' | ||
// input, passed to events | ||
anchor: PropTypes.array.isRequired, | ||
position: PropTypes.array.isRequired, | ||
payload: PropTypes.any, | ||
@@ -1348,3 +1348,3 @@ | ||
event, | ||
anchor: this.props.anchor, | ||
position: this.props.position, | ||
payload: this.props.payload | ||
@@ -1351,0 +1351,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115046
161