Results 1 to 2 of 2

Thread: [RESOLVED] Google Map in SSRS Just show a deep blue sea

  1. #1

    Thread Starter
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Resolved [RESOLVED] Google Map in SSRS Just show a deep blue sea

    I've been asked to Show a Google Map in a report and, looking at their API, I think this should be quite easy. I've added an image, set it's source to external and set it's URL as follows:-
    ="https://maps.googleapis.com/maps/api/staticmap?centre=London&zoom=14&size=200x200&key=MyKeyIsHere".
    (I plan to replace that London with a postcode once I've got things working - just trying to keep things simple for now)

    The thing is, all I get on the page is a big blue square:-
    Name:  DeepBlueSea.PNG
Views: 766
Size:  11.0 KB

    As far as I'm aware London is not underwater (I know our economy is supposed to sink post Brexit but I wasn't expecting the whole damn city to go under) so what gives? I've tried a variety of different locations but I'm getting the same result every time. The API isn't returning any error (and I can force it to error by passing a mangled call or an invalid key so I know it show when there is one.) Any suggestions?

    I should say, this is using BIDS 2008 R2.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  2. #2

    Thread Starter
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Google Map in SSRS Just show a deep blue sea

    Ha! found it. It turns out you have to spell centre incorrectly and use some half-ass American spelling (center). Ruddy colonials.

    I'm surprised it didn't give me an error though. I'd have expected a missing parm or an unrecognised parm at least.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width