Geo Maps with OpenStreetsMap ( GoogleMaps) not working correctly

Simon Eich
Simon Eich Customer
Fourth Anniversary First Comment
edited October 17 in Platform

Hello everybody,

we are trying to create Maps in Board 12.5 to show sales in countries where we are active.

I tried to do it like described in the manual, but it is not yet working correctly.

What do we have already
- created a .json file with the six regions which we want to see
- Marker Entity exists
- Latitude and Longitutde Cubes (with Marker erntity part of them) with values for the markers

Then we have this setting:

For the markers, we use two cubes with these coordinates:

This card generates with my configurations:

You can see the 6 regions which we have defined in the .json

But the only regions which gets a colour and which shows information if you hover over it, is the region nr. 1. It is always the region which is the first one in the .json.
I deleted the line from the .json and tried it again. Again the same problem, now you can see the region which was in the second line and now is in the first line.

As you can see the region boards in the map, I think that the .json is correct.
If you Bubbles instead of map areas, the latitude and longitute cubes seem to work, too:

The cubes are connected via the marker entitiy "INT Regionen".
- INT Regionen is directly in longitude and latitude
- IST Umsatz is indirectly via the relationship tree connected to INT Regionen

Does anyone had this problem too or can help me to fix.

Thank you and best regards Simon

Answers

  • Helmut Heimann
    Helmut Heimann Employee, Community Captain
    250 Likes Fourth Anniversary 100 Up Votes 100 Comments

    Hi @Simon Eich ,

    did you try to use the shapename for the areas (in your case the customer or region)

    The according entity needs to be a part of the layout.

    Best,
    Helmut

  • Hi Helmut,

    thank you for your quick answer.
    No, i have not tried this option.

    As I understood the manual, you have to choose between using shape names or using longitude/latitude.
    At the moment I have no mapping to the .json file.

    But I will check if I can get this.


    BR Simon


  • Helmut Heimann
    Helmut Heimann Employee, Community Captain
    250 Likes Fourth Anniversary 100 Up Votes 100 Comments
    edited October 17

    Hi @Simon Eich ,

    I would try to make the entity "INT Regionen" a part of the layout and apply that to the shapes section.

    Best,
    Helmut

  • I have tried this:

    The entity INT Regions looks like:

    in the .json I have added an id field which should match with the code in the entity

    But this doesn't help either.
    Now I only see the boarder of the regions but no colour:

    Have I made a mistake here with the setting?


    BR Simon

  • Helmut Heimann
    Helmut Heimann Employee, Community Captain
    250 Likes Fourth Anniversary 100 Up Votes 100 Comments

    Could you please doublecheck the .json according to this screenshot from our manual

    Do you have the type "polygon" and the coordinates?