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.2 to 2.0.0

edit.html

12

ed-location.js

@@ -74,2 +74,3 @@ document.addEventListener('DOMContentLoaded', function () {

, zoom: 2
, scrollWheelZoom: false
}

@@ -82,4 +83,2 @@ )

})
map.scrollWheelZoom.disable()

@@ -114,2 +113,11 @@ var marker = L.marker([20, -35]

}
var url = 'https://the-grid.github.io/ed-location/'
+ '?latitude=' + encodeURIComponent(block.metadata.geo.latitude)
+ '&longitude=' + encodeURIComponent(block.metadata.geo.longitude)
+ '&zoom=' + encodeURIComponent(block.metadata.geo.zoom)
if (block.metadata.address) {
url += '&address=' + encodeURIComponent(block.metadata.address)
}
block.metadata.isBasedOnUrl = url
block.html = '<iframe src="' + url + '"></iframe>'
send('changed', block)

@@ -116,0 +124,0 @@ }

2

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

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

Sorry, the diff of this file is not supported yet

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