BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-01-2010, 06:57 AM   #1 (permalink)
New Member
 
Join Date: Oct 2010
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Google Static Maps not showing on website

Please Login to Remove!

Hi,

My company has developed a web app for property and we're finding that some Blackberry users are not able to see the Google static maps we've added to the website. Here is an example of a map URL that doesn't display:

maps.google.com/maps/api/staticmap?format=jpg&sensor=true&size=480x320&mark ers=color:green|label:X|51.041892,-3.933652&markers=color:red|label:1|50.98036,-3.9546&markers=color:red|label:2|50.99174,-3.9996&markers=color:red|label:3|50.99757,-4.01225&markers=color:red|label:4|51.06509,-4.03534&markers=color:red|label:5|51.05565,-4.04793&markers=color:red|label:6|51.03967,-4.06066&markers=color:red|label:7|50.99297,-4.05234&markers=color:red|label:8|51.06782,-4.07867&markers=color:red|label:9|51.04471,-4.09381&markers=icon:http%3a%2f%2fbar.forwardslash mobile.co.uk%2fImages%2f10.png|51.11122,-4.07503

Initially I thought it was the length of the URL, around 600 chars, however maps with only 100 chars don't display either. This problem can be viewed on the following website with a BB Curve 8900:

m.webbers.co.uk

The maps are displayed on all other handsets we've tested e.g. iPhone, Android handsets, Nokia etc.

Can anyone advise what the issue is?

Thanks in advance,

Del
Offline  
Old 10-01-2010, 05:02 PM   #2 (permalink)
New Member
 
Join Date: Oct 2010
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found out at the trouble is with the "|" character in the URL which is a delimiter with Google static maps. Technically the "|" character should be URL encoded and the early BB models are strict about this.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.