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

react-map-gl-geocoder

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-map-gl-geocoder - npm Package Compare versions

Comparing version 1.6.2 to 1.6.3

9

dist/index.js

@@ -75,3 +75,3 @@ 'use strict';

return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Geocoder.__proto__ || Object.getPrototypeOf(Geocoder)).call.apply(_ref, [this].concat(args))), _this), _this.initializeGeocoder = function () {
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Geocoder.__proto__ || Object.getPrototypeOf(Geocoder)).call.apply(_ref, [this].concat(args))), _this), _this.geocoder = null, _this.cachedResult = '', _this.initializeGeocoder = function () {
var mapboxMap = _this.getMapboxMap();

@@ -125,2 +125,3 @@ var containerNode = _this.getContainerNode();

_this.geocoder.setInput(_this.cachedResult);
onInit(_this.geocoder);

@@ -220,2 +221,6 @@ }, _this.getMapboxMap = function () {

onResult(event);
if (result && result.place_name) {
_this.cachedResult = result.place_name;
}
}, _this.handleError = function (event) {

@@ -301,2 +306,2 @@ _this.props.onError(event);

exports.default = Geocoder;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJWQUxJRF9QT1NJVElPTlMiLCJmaXRCb3VuZHMiLCJib3VuZHMiLCJ2aWV3cG9ydCIsIldlYk1lcmNhdG9yVmlld3BvcnQiLCJnZXRBY2Nlc3NUb2tlbiIsImFjY2Vzc1Rva2VuIiwid2luZG93IiwibG9jYXRpb24iLCJtYXRjaCIsInNlYXJjaCIsInByb2Nlc3MiLCJlbnYiLCJNYXBib3hBY2Nlc3NUb2tlbiIsIkdlb2NvZGVyIiwiaW5pdGlhbGl6ZUdlb2NvZGVyIiwibWFwYm94T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0+IHt9LFxuICAgIG9uQ2xlYXI6ICgpID0+IHt9LFxuICAgIG9uTG9hZGluZzogKCkgPT4ge30sXG4gICAgb25SZXN1bHRzOiAoKSA9PiB7fSxcbiAgICBvblJlc3VsdDogKCkgPT4ge30sXG4gICAgb25FcnJvcjogKCkgPT4ge31cbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBHZW9jb2RlclxuIl19
{
"name": "react-map-gl-geocoder",
"version": "1.6.2",
"version": "1.6.3",
"description": "React wrapper for mapbox-gl-geocoder for use with react-map-gl",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -31,2 +31,5 @@ import '@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css'

class Geocoder extends Component {
geocoder = null
cachedResult = ''
componentDidMount() {

@@ -93,2 +96,3 @@ this.initializeGeocoder()

this.geocoder.setInput(this.cachedResult)
onInit(this.geocoder)

@@ -195,2 +199,6 @@ }

onResult(event)
if (result && result.place_name) {
this.cachedResult = result.place_name
}
}

@@ -197,0 +205,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