Skip to content

Commit

Permalink
#414 IdentifierTool works again with human layer names (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman authored Sep 5, 2023
1 parent 2e91145 commit d8d6350
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/essence/Tools/Identifier/IdentifierTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ var IdentifierTool = {
this.MMWebGISInterface = new interfaceWithMMWebGIS()

//Get tool variables
this.vars = L_.getToolVars('identifier')
this.varsRaw = L_.getToolVars('identifier')
this.vars = {}
Object.keys(this.varsRaw).forEach((layerName) => {
this.vars[L_.asLayerUUID(layerName)] = this.varsRaw[layerName]
})

//Probably always 256
this.tileImageWidth = 256
//x y and zoom of mousedover tile
Expand Down

0 comments on commit d8d6350

Please sign in to comment.