arcgis-map-ipywidget
Advanced tools
Comparing version 2.1.0 to 2.2.0
{ | ||
"name": "arcgis-map-ipywidget", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "The map widget for the ArcGIS API for Python", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Esri/arcgis-python-api", |
@@ -81,2 +81,7 @@ var getEsriLoader = require("../loaders/get-esri-loader"); | ||
noTypeLayer.options.imageServiceParameters.renderingRule; | ||
if (renderingRuleJSON) { | ||
if ("function" in renderingRuleJSON) { | ||
renderingRuleJSON = { "rasterFunctionDefinition": renderingRuleJSON }; | ||
} | ||
} | ||
var renderingRule = RasterFunction.fromJSON(renderingRuleJSON); | ||
@@ -83,0 +88,0 @@ typedLayer.renderingRule = renderingRule;} |
@@ -19,3 +19,3 @@ // This file contains the javascript that is run when the notebook is loaded. | ||
return new Promise((resolve, reject) => { | ||
fetch(theUrl, {mode: 'cors'}).then((response) => { | ||
fetch(theUrl, { mode: 'cors'}).then((response) => { | ||
if (response.status >= 200 && response.status < 300){ | ||
@@ -22,0 +22,0 @@ response.text().then((data) => { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2711167
4774