Formating a URL to work with Google maps and the BB browser
- I am trying to figure out how to format a URL on Google maps so that you can click on it and display the location on Google maps via the BB browser. The following example will work on a standard Explorer or Firefox browser but does not display on my BB.
http://maps.google.com/maps?q=27.964537,-80.561397
Does anyone know how to format a link so this location will display on a BB? Or does this format work for you?
Posted from my CrackBerry at wapforums.crackberry.com12-29-08 12:27 PMLike 0 - I have been trying to do this as well. As you say it woks with Explorer but not the moble version. Here is the code I use to grab weather.
net.rim.blackberry.api.browser.Browser.getDefaultS ession().displayPage("http://m.wund.com/cgi-bin/findweather/getForecast?brand=mobile&query="+ currentLocation.getQualifiedCoordinates().getLatit ude() + "," + currentLocation.getQualifiedCoordinates().getLongi tude());
I was trying to use similar code for Google maps. The URL I was hacking was this: "http://maps.google.com/?sll=33.750,-112.123"
If you figure it out, please let me know.I'm thinking we may need to create a .kml file and call google's mobile maps with the .kml file.
12-29-08 01:12 PMLike 0 - Thanks for the post. I am hopeful that we have a programmer who can help us out. It seems like it should be pretty simpole.
Posted from my CrackBerry at wapforums.crackberry.com12-29-08 08:41 PMLike 0
- Forum
- Popular at CrackBerry
- General BlackBerry News, Discussion & Rumors
Formating a URL to work with Google maps and the BB browser
LINK TO POST COPIED TO CLIPBOARD