Gulp! My formula was working for 2,3 items!
I'm really sorry, map invisibility and google message helped me to make a really big mistake.
But ... Something is not clear. You wrote:
<<Then I checked your address field and I see your address field is saving only lat and long values.>>
What you mean?
I imported items data from a csv file using "Ultimate CSV importer PRO".
The column used for import data to the field "localizzazione" (a Types "Address" field) had strings like this: {44.23525,11.25235}
You mean that Ultimate Importer filled the field with a different format than those edited in the toolset backend?
This worried me about manual record editing: will the values become different and will no longer be valid for the formula used? Is there another better way to define coords from csv?
In any case ... 1 million thanks for the actual solution, and excuse me for my wrong idea.
NOOOOO!
Thanks to your simplified code i fond where the problem is: the map_height parameter!
map_height="100%"
but also
map_height="90%" or map_height="50%" ...
if you just add this parameter to your code, the page will be blank exactly like mine
Please note: if you have only 2-3 items the map is working well, with more (how many?) ... blank page.
I don't know if it depends on google or toolset but the problem exist.
But ... Something is not clear. You wrote:
<<Then I checked your address field and I see your address field is saving only lat and long values.>>
==> Well - Yes, as you confirmed that your imported data has lat,lon values like this {44.23525,11.25235}, it does not contain the address string like "New York". So you need to display the map using lat-lon values and that I already did and shared the solution with you and its working.
Please check following post and you will see the map address field is having lat-lon values - not address string:
=> hidden link
But - as each address will have lat-lon values, you do not need to worry as even after you update the map field with string value, it will still have lat-lon values.
What you mean?
I imported items data from a csv file using "Ultimate CSV importer PRO".
The column used for import data to the field "localizzazione" (a Types "Address" field) had strings like this: {44.23525,11.25235}
==> That string is imported is lat-lon values and that is we are using to display the map.
Scroll down at bottom of the page and you will see for "Address" field the required value is string NOT lat-lon values.
Regarding the map_height issue with % (100% or 50%) value - I see Map still rendered on page (if you can check page source you will notice that map is available) but due to some style conflict its not displaying. This needs another ticket. Please use map_height="450px" for now with map_height as workaround for now.
Please kindly open a new ticket for this map_height not working with % issue.