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

@the-grid/ed-location

Package Overview
Dependencies
Maintainers
18
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@the-grid/ed-location - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

13

ed-location.js

@@ -42,6 +42,10 @@ document.addEventListener('DOMContentLoaded', function () {

var addressEl = addressControl.getContainer()
if (!addressEl) return
addressEl.querySelector('.ed-address-control-text').textContent = address
}
function setInputValue (text) {
var geocoderEl = geocoderControl.getContainer()
geocoderEl.querySelector('input').value = text
}
var addressVisible = true

@@ -61,3 +65,5 @@ function toggleAddress () {

var geocoderEl = geocoderControl.getContainer()
geocoderEl.querySelector('input').select()
var inputEl = geocoderEl.querySelector('input')
inputEl.focus()
inputEl.select()
}

@@ -86,2 +92,4 @@

.addEventListener('dragend', function (event) {
var loc = marker.getLatLng()
map.setView(loc)
locationToEd()

@@ -121,2 +129,3 @@ })

setAddressText(block.metadata.address)
setInputValue(block.metadata.address)
}

@@ -123,0 +132,0 @@ }

2

package.json
{
"name": "@the-grid/ed-location",
"version": "1.0.1",
"version": "1.0.2",
"description": "Ed widget for address geocoding and map location editing",

@@ -5,0 +5,0 @@ "main": "ed-location.js",

# ed-location
Ed widget for address geocoding and map location editing
[Ed](https://github.com/the-grid/ed) widget for address geocoding and map location editing

Sorry, the diff of this file is not supported yet

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