语言

Menu
Sites
Language
Maps on Tizen

Hi guys,

I have implemented Bing Maps in my application. Tiles are being loaded only partially. Almost the half area of map is not appearing. Do you have experiences with maps on Tizen? As far as I know in my app development experiences on various devices via java script, Bing maps run with a higher-performance because AJAX calls and loaded data are pretty less in comparison to Google Maps.

Thanks in advance

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

15 回复
Raghavendra Reddy Shiva
There's a document posted on Tizen for bringing Google Maps on Tizen. Can you check, if this document helps you in leveraging the information to get Bing maps running on Tizen without issues. https://developer.tizen.org/documentation/google-maps-tizen
Aries Brune Tyson Antony Raj
The link explains the details of implementing the google map in web which you can find in developer.google.com. It doesn't talk anything related to performance in general sense. I'm also having the same issue. I developed google and bing map side by side. When i load google map it works perfectly without any issue. But when it goes for bing map it is not loading properly. And also the pins i dropped are moving independently even though i set the pins not to be draggable. I tested my page in browser. Both of them seems to work fine. But not in device.
I'm with you! I have uploaded a photo how my bing map look like on Tizen http://cl.ly/image/00253Q0v0T09
Thanks
any idea? Has anyone managed to add maps successfully?
Aries Brune Tyson Antony Raj
Hi oguzhancansever, I managed to bring the map without providing the zoom level on initialization. But still further operations such as zoom in/zoom out still bring the map to its old state(partial tile load). And also all my pins are moving on top of the map even though i set the draggable to false. The underlying problem i presumed is that Bing map takes enormous time to load the map and also it stops loading after a specific point. Means it is not completely loading at all the times. Some times it is loading fully and sometimes pariallly. If you manage to find out any other solution update here as well.
Lakshmi Grandhi
Hi Aries, I tried loading bing map , zoom is also working fine. var mycredentials='AkkvE4AeifnBReLNxxskSAvzBKxiNpbWlH36a6t7Bn3p3X6zmXUg7FgBiRSeN5a9'; $('#map_canvas').gmap({'credentials': mycredentials}).bind('init', function(ev, map) { $('#map_canvas').gmap('addMarker', { 'location': '28.635308000000000000,77.224960000000010000', 'bounds': true }).click( function() { $('#map_canvas').gmap('openInfoWindow', { 'title': 'Hello World!' }, this); }); }); };
Aries Brune Tyson Antony Raj
Hi Lakshmi, We are not saying it is not working. It is working. But the tile is not loading(i.e) the map portions are loading partially. I tested my app by opening in simulator. It doesn't have any issue in loading. But when it comes to emulator the map looks like the image provided by oguzhancansever. If you see this image(http://cl.ly/image/00253Q0v0T09) the left and bottom portion of the map is not loaded. only a single tile is loaded which covers the top left portion. Rarely it is loading all tiles. Most of the time I'm seeing only partial tile or some jaggy image. This is happening most frequently in emulator. This scenario reappears in zoom operation and also first time load of map with zoom level.
Lakshmi Grandhi
Hi Aries, can you share your code to check, with code mentioned above i didn't get such layout issue http://postimg.org/image/7apl08c53/b4be4051/
Lakshmi Grandhi
Hi Aries, can you share your code to check, with code mentioned above i didn't get such layout issue http://postimg.org/image/7apl08c53/b4be4051/
Aries Brune Tyson Antony Raj
Hi Lakshmi, I've added my code. When i use this code, sometimes it came like this http://postimg.org/image/in51ct477/fc3a153c/, some times it is working fine. And with google for the same data i'm getting like this http://postimg.org/image/vreokurfx/91e06bbe/. var mapContainer = document.getElementById(container id goes here); mapOptions = { credentials : bing mapCredentials, zoomLevel : 7, center : Microsoft.Maps.Location(13.01,80.24), mapTypeId : Microsoft.Maps.MapTypeId.road, enableSearchLogo : false, enableClickableLogo : false }; var map= new Microsoft.Maps.Map(mapContainer, mapOptions); var loc = new Microsoft.Maps.Location(lat, long); var pin = new Microsoft.Maps.Pushpin(loc, { draggable : false }); map.entities.push(pin); loc = new Microsoft.Maps.Location(lat, long); var pin = new Microsoft.Maps.Pushpin(loc, { draggable : false }); map.entities.push(pin); loc = new Microsoft.Maps.Location(lat, long); var pin = new Microsoft.Maps.Pushpin(loc, { draggable : false }); map.entities.push(pin); loc = new Microsoft.Maps.Location(lat, long); var pin = new Microsoft.Maps.Pushpin(loc, { draggable : false }); map.entities.push(pin); loc = new Microsoft.Maps.Location(lat, long); var pin = new Microsoft.Maps.Pushpin(loc, { draggable : false }); map.entities.push(pin); map.setView({ center : loc });
Lakshmi Grandhi
Hi, I have raised bug in JIRA https://bugs.tizen.org/jira/browse/TWEB-123, please follow it for updates.
Hey guys, thanks for your response. I just want to mention that I made the photo (http://cl.ly/image/00253Q0v0T09) from Tizen Ref.device. Bing maps work well on Web Simulator but not on device.
Matt Alonso
For what it is worth, I am experiencing the same issue in Google Maps.
Matt Alonso
For what it is worth, the issue for me in google maps is no longer present w/Tizen 2.2.