Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

map:getCenter()
Started by philipp3 Mar 18 2020 04:38 AM

1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

philipp3

[GLOBAL: userInfoPane.html]
philipp3
  • Enthusiast

  • 90 posts
  • Corona SDK

Hello,

 

Is there any way to find out the actual position and zoom factor of a native.newMapView?

I would expect something like map:getCenter(), as there is a function map:setCenter() that does the opposite.



[TOPIC: post.html]
#2

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,415 posts
  • Corona SDK

I don't believe that functionality exist in the implementation. I believe it is or will be open source and the change should be easy to make.

Another options is that the marketplace has a couple of other options that do have that functionality. 




[topic_controls]
[/topic_controls]