03-27-2013 04:30 PM
I have an app that uses the Google Maps v3 API - specifically It requires the heavy use of markers.
It seems that there is a serious issue with the rendering of the MarkerIcons on the Z10 browser, problems do not exist on the Playbook or other Platforms (with their resepctive browsers).
If you look at the following example pages on a Z10 and then in any other browser/platform, you will see the problem:
Has anyone seen this/got any feedback, or can point me to any resources to try and resolve this.
04-01-2013 07:51 AM
My *guess* is the issue is one of two things:
1) Google maps API is preventing these markers from appearing, not the browser. I suspect the API may be deciding not to display markers based on some sort of logic. The code is very tricky to debug as it has been obfuscated so its not immediately clear to me what the issue is.
I just tested the URLs provided below using remote web inspector and did not see any runtime errors.
Note : Markers do work. We have a Maps sample WebWorks application published here that demonstrates using Google Maps APIs
2) The viewport being defined in this test page is causing a scaling issue, and the marker is not being rendered in the correct place. Their viewport is the following:
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
but it needs to follow this convention to scale page content correctly (which is what the above sample app does):
04-01-2013 07:53 AM
Looks like my #2 guess is the correct one. Open the test page in the Z10 browser, and use the map zoom controls to zoom out *twice*. You should see a part of the marker displayed underneath the international date line (east of New Zealand).
So the remedy for that test page is Google needs to update it to render content at correct screen resolutions.
For BlackBerry developers, if you are using Google Maps API + markers, make sure to set your viewport like this and you'll be fine:
04-01-2013 08:13 PM