No compass and scale in map view

Hello,

I’m using the native map view for the first time and I notice that in the device log (iPhone 6s), I keep getting these error/warning messages:

[Device] Could not inset legal attribution from corner 4
[Device] Could not inset compass from edges 9
[Device] Could not inset scale from edge 9

The compass is visible when rotating the map and the legal disclaimer too, but never the scale. I did some googling on this and it appears that you can force the compass and the scale to be displayed at all times but there is no mention of how to do that in Corona in the docs.

Does anyone know how that is done or why the error/warning messages above appear?

I would really appreciate it if anyone has seen this before and knows how to fix it…

I have not noticed those before.  Can you make a demo app that shows this error and create a project with a config.lua, build.settings, main.lua and any other files needed so our engineers can build and run the app on a device and see the errors?  Please put that in a .zip file and use the “Report a bug” link at the top of the page.

Rob

I have created a bug report with reference to this thread. Will I be notified when it has been resolved or do you post all resolved bugs somewhere?

Although the error/warning messages may be a bug, it still does not explain why neither the scale or the compass are displayed on the map. As you can see in the zip-file attached to the bug report, these message only show up after the map has been moved. So, does Corona somehow support displaying the scale and the map by some kind of function? Or are they not supposed to be displayed at all?

Normally we report things we fix in the daily build release notes. However, we do try and notify you when we do.

Rob

Ok, thanks!

However, my question remains: how can/should the scale and the compass be displayed on the map? There seems to be no function for that in the Map docs…

I’m not sure what you mean by the compass?  In one of my apps that uses maps, the assumed default is that North is the top of the map. If you rotate the map using a two finger twisting action a black compass automatically shows itself. This was on iOS. I didn’t try it on Android.  There are no API calls that let you show or hide the map scale.

Rob

@Rob

When googling this, I found that there are two calls when using Xcode for displaying both compass and the scale.

mapView.showsCompass = false mapView.showsScale = true

My guess was that the map therefore had an api call to (forcibly) display these items and I was hoping that they were accessible from Corona as well.

If i understand it correctly, the default behavior of the compass is just as you describe it, wehereas the default behavior of the scale is that it is shown when zooming. As far as I can see, in Corona, the first is true but not the second (i.e. the scale is never displayed).

We don’t support those attributes.  This would be a feature request that would need to be filed at http://feedback.coronalabs.com

Rob

@Rob: I created the bug report about this 3 months ago (se my post above) but the problem is still there in build 3226. Any indication of when my bug report might be looked at?

Do you have the ticket #?

Yes, it’s 11855441. 

I have pinged Engineering.  

Any news on this?

I don’t believe this has been worked on. Our staff is very busy with other tasks right now.

Rob

I would really appreciate it if anyone has seen this before and knows how to fix it…

I have not noticed those before.  Can you make a demo app that shows this error and create a project with a config.lua, build.settings, main.lua and any other files needed so our engineers can build and run the app on a device and see the errors?  Please put that in a .zip file and use the “Report a bug” link at the top of the page.

Rob

I have created a bug report with reference to this thread. Will I be notified when it has been resolved or do you post all resolved bugs somewhere?

Although the error/warning messages may be a bug, it still does not explain why neither the scale or the compass are displayed on the map. As you can see in the zip-file attached to the bug report, these message only show up after the map has been moved. So, does Corona somehow support displaying the scale and the map by some kind of function? Or are they not supposed to be displayed at all?

Normally we report things we fix in the daily build release notes. However, we do try and notify you when we do.

Rob

Ok, thanks!

However, my question remains: how can/should the scale and the compass be displayed on the map? There seems to be no function for that in the Map docs…