longitude

  1. knutf

    B4A Class [B4X] [Class] Geodesic v2.0 - lets you force UTM zone and Hemisphere

    WGS84 UTM <-> Latitude/Longitude conversion Based on the original Geodesic class by Erel that is in this thread. The interface of version 2.0 is fully compatible with Erel's class The great thing about UTM is that you can, for example, calculate the distance between two points on the Earth's...
  2. R

    Android Question Drawing equilateral triangle with latitude and longitude points

    Just in case somebody has worked this out already and saving some time: Have a single line, based on two lat/lng coordinates on a geographical map. Now I want to draw an equilateral triangle at one end of this line that points in the same direction as that line, so the bottom of that triangle...
  3. R

    Android Question Get Latitude and Longitude from map tile (x, y, zoom)

    I can see the code to get this on this wiki page: https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#ECMAScript_.28JavaScript.2FActionScript.2C_etc..29 eg in Python: Tile numbers to lon./lat. import math def num2deg(xtile, ytile, zoom): n = 2.0 ** zoom lon_deg = xtile / n * 360.0 - 180.0...
  4. Justcooldev

    Android Example Very simple GPS Program

    Hi guys, how to use : 1. copy the starter into your project If Starter.GPS1.GPSEnabled = False Then ToastMessageShow("Please enable the GPS device.", True) StartActivity(Starter.GPS1.LocationSettingsIntent) 'Will open the relevant settings screen. Else...
  5. rleiman

    Android Question [SOLVED] Indicating when you are facing the direction of a latitude and longitude

    Hi Everyone, I this possible with B4A? This is the latitude and longitude for a particular location. Place Name Latitude Longitude Tewksbury, MA, USA 42.610649 -71.234222 This is the latitude and longitude for where I'm at. Place Name Latitude Longitude Lowell, MA, USA 42.640999 -71.316711...
Top