Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-mad-map

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-mad-map - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

lib/index.js

@@ -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 @@ })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc