I have defined a map_layer_name following all these steps
My map works perfectly in development mode and I can see my data plotted as I would expect it.
However, when Validating LookML it says that my map layer is not defined
I have tried exiting the developer mode and developing again, using another browser I have never used for developing, changing the name of the map layer and still no success. Any idea why this could be happening?
How do I bypass a warning if it’s actually working?
Could you share the map_layer definition? Perhaps one parameter is missing
Hope it helps!
thanks for answering.
From the guidelines I interpreted that all the default values would map my file, so I have not configured any extra ones. I have this at the moment and it’s still giving errors.
And as said, it’s working when I do an explore with it.
I discovered the mistake!!!
the error was not coming from the map_layer, bu the map layer not being defined in every single model we use the view. We have many views that we join all over and therefore the map_layer needs to be declared in each of those models so that it can be taken.
I wish this could be done from the manifest, but apparently is not possible.
I agree. There is a post of Daniel Mintz ( A Hero without a cape haha) which covers one example using manifest file to reuse a json variable and use it in map layers, perhaps it will help :
Thanks Leo, I came across that post before, but I didn’t want to use a public tool to access the maps as the definition of our focus regions is strategical information.
But I will have a look.
Thanks for the help!