I have a cluster of overlay elements in a mapView.I know where the top / bottom / left / right objects are.I want to use the zoomToSpan () method to zoom in on this area.
What is the correct way to calculate lat / lng degrees for this method?
I found that someone else posted a good solution to this problem here: http://www.anddev.org/zoom_and_span_on_a_cluster_of_points-t464.html
Good luck
This question has been asked before, and there is a great answer with code:
Android MapView - , ItemizedOverlay
Would you like to just use something like this:
mapController.zoomToSpan(overlay.getLatSpanE6(), overlay.getLonSpanE6());
Source: https://habr.com/ru/post/1745564/More articles:Visual Studio Code Analysis - Does Microsoft Follow It On Its Own? - c #Search process memory on Linux - linuxMySQL query: all records of one table plus the number of another table - mysqlProblems Implementing Generic IEnumerator and IComparable - genericsDrupal Facebook Connectivity - moduleHow to add cocos2d to the current project? - iphoneLink to text input fields in CKEditor dialogs - referenceThe idea of developing a "Calendar" from scratch - dateUsing version control with SSIS packages (saving sensitive data) - version-controlThe problem with accessing private variables in jQuery, for example, with a solid design scheme - javascriptAll Articles