Skip to main content

Issues

Under Review

Filled map Visual does not work in Chrome

Vote (4) Share
Ivar Gjerde's profile image

Ivar Gjerde on 05 Oct 2016 14:14:11

The Filled Map Visual does not display correctly when viewed in Chrome. It only draws a blank map, not the colour saturation per Country. The visualisation displays correctly in IE/Edge.

Comments (6)
Ivar Gjerde's profile image Profile Picture

f1fe1de0 177c-448f-ba43-c02ec94235dc on 05 Jul 2020 22:37:47

RE: Filled map Visual does not work in Chrome

Hi!

In Google Chrome version 55.0.2883.87 m is not workin. The problem is the same described by Ivar. In Mozilla and IE/Edge works.

Please fix it.

Ivar Gjerde's profile image Profile Picture

a8ee712c 52ad-4b9b-87e7-920261829fb5 on 05 Jul 2020 22:33:32

RE: Filled map Visual does not work in Chrome

Hey Microsoft!

I figured out what the problem is!

It's in your call to the Bing engine. For me it tried with one of the following calls:
https://platform.bing.com/geo/spatial/v1/public/Geodata?key=AoW85FdF-eTJavFmWhZjaQ970kwG1FuainbyVSlP5HglkbhVVIFOyNwlaQxAIj-S&$format=json&SpatialFilter=GetBoundary(-26.945833206176758,%20-65.36768341064453,%201,%20%27AdminDivision1%27,%201,%200,%20%27da%27)&jsonp=jQuery22008547348323644526_1478120332396&_=1478120332426

The problem is with the culture you specify in "GetBoundary () ". In this example it is set to 'da', but this is not accepted by Bing. Instead you need to set it to 'da-dk', which in this example would be:
GetBoundary(-26...... , 'AdminDivision1',1,0,'da',dk')
instead of just
GetBoundary(-26...... , 'AdminDivision1',1,0,'da')

This is why you are not able to reproduce the problem since the US culture is set correctly to ...'en','us'.

Apparently this is only a problem in Firefox and Chrome. Hopefully you are able to fix the issue

best regards,
René

Ivar Gjerde's profile image Profile Picture

a8ee712c 52ad-4b9b-87e7-920261829fb5 on 05 Jul 2020 22:33:29

RE: Filled map Visual does not work in Chrome

I have the same issue with Firefox and Chrome.

I noticed I get the following error in the Developer Console in Chrome:
Failed to load resource: the server responded with a status of 400 (Bad Request)

URL: https://platform.bing.com/geo/spatial/v1/public/Geodata?key=AoW85FdF-eTJavFmWhZjaQ970kwG1FuainbyVSlP5HglkbhVVIFOyNwlaQxAIj-S&$format=json&SpatialFilter=GetBoundary(56.82408905029297,%209.823720932006836,%201,%20%27AdminDivision2%27,%201,%200,%20%27da%27)&jsonp=jQuery220021359405901755402_1478077401848&_=1478077401948

Ivar Gjerde's profile image Profile Picture

d19f52de 8d45-4108-954d-9f459746d76c on 05 Jul 2020 22:32:14

RE: Filled map Visual does not work in Chrome

I just tested it on 2 different devices. Both didn't have the newest version of Chrome. One is 64-bit version.

It worked on the 64 bit version right away and also after updating.
Didn't work on the other, also not after updating.

Ivar Gjerde's profile image Profile Picture

d19f52de 8d45-4108-954d-9f459746d76c on 05 Jul 2020 22:32:14

RE: Filled map Visual does not work in Chrome

I encountered the same issue. I'm using Chrome Version 53.0.2785.143 m. I'm also just seeing a blank map. Works in IE.

Ivar Gjerde's profile image Profile Picture

ac643e7c e800-ea11-a811-000d3a4f1ebb on 05 Jul 2020 22:31:39

RE: Filled map Visual does not work in Chrome

Hello Ivar,
It is working in Chrome version Version 53.0.2785.143 m (64-bit).
What version are you using?

https://twitter.com/chass/status/783738327518154753