B4A Question MapView - ScaleBarOverlay and MyLocationOverlay - canalrun    
Oct 11, 2012 the MapView.
Possible values are:
ScaleBarOverlay.BOTTOM_LEFT
ScaleBarOverlay.TOP_LEFT
MyLocationOverlay
SetCompassCenter (X As Float, Y As Float)
Set the point at which the compass should be drawn... SetCompassCenter. They are floats, from my testing they don't appear to be pixels.
Do..., does this define the point from which the offset is calculated?
ScaleBarOverlay
SetOffset (X...
B4A Question OSM Droid MyLocationOverlay1.LocationUpdateMinTime - PaulD    
Dec 5, 2013I am trying to set the MylocationOverlay to "refresh" at a set time interval... however when first loading the app it gets stuck in a loop and refreshes every few seconds preventing the rest of the app from loading or even the map to draw.
Dim DefaultZoom, DefaultLocationUpdateMinTime As Int
'300,000ms = 5min
DefaultZoom = 11 : DefaultLocationUpdateMinTime = 50000
The complete project is here (http://redtagapp.com/wp-content/uploads/2013/12/RTV-maptest.zip)
Any...
B4A Question Howto - Time remaining before next gps fix? - Mark Read    
Aug 23, 2014Using the OSMDroid library from Warwound and in particular the MyLocationOverlay, the gps function is activated by enabling the function: MyLocationEnabled.
I need to start a timer which is started... this using the sub:
Sub MyLocationOverlay1_LocationChanged(NewLocation As Location, IsFirstFix As Boolean)
'Log("MyLocationOverlay1_LocationChanged, Latitude="&NewLocation...&IsFirstFix)
SimpleLocationOverlay1.SetMyLocation2( NewLocation)
MapView1.SetCenter2(NewLocation...
B4A Tutorial OSMDroid - MapView for B4A tutorial - cas6678 (first post)    
Mar 11, 2017 As MapView
Dim ScaleBarOverlay1 As ScaleBarOverlay
Dim MyLocationOverlay1 As MyLocationOverlay
End... state", "Menu")
' initialize and add the MyLocationOverlay to the MapView...
link: As OSMDroid_MapView
Dim ScaleBarOverlay1 As OSMDroid_ScaleBarOverlay
Dim MyLocationOverlay1...
link: Take a look at the attached project.
I've updated the MyLocationOverlay example.
It starts...
link: )
MyLocationOverlay1.Initialize(MapView1, "MyLocationOverlay1")
SimpleLocationOverlay1...
B4A Question library location - jchal    
May 22, 2017hi there
i am looking for the location of the following library to download
Marker
Circle
XYTileSource
MyLocationOverlay
MarkersBalloonOverlay
MapView
GeoPoint
can you please send me the ling so i can download them...
link: .b4x.com/android/forum/pages/results/?query=MyLocationOverlay
https://www.b4x.com/android/forum/pages...
B4A Question NullPointerException - PABLO2013 (first post)    
Apr 19, 2014tks, NJdude
i run DEBUG (legacy) mode but the problem persists, it could not be...
MyLocationOverlay1.Initialize(MapView1, "MyLocationOverlay1") ' her is may problem !!!!!
SimpleLocationOverlay1.Initialize(MapView1)...
link: .views.overlay.MyLocationOverlay.<init>(MyLocationOverlay.java:155)
at uk.co.martinpearman...
B4A Question Mapview closing - GKTechnology (first post)    
Jul 17, 2012 create some variables to save the MyLocationOverlay state
Dim CompassEnabled... create the MyLocationOverlay
Dim MyLocationOverlay1 As MyLocationOverlay
End Sub
Sub...
link: some variables to save the MyLocationOverlay state
Dim CompassEnabled, FollowLocationEnabled...
link: find the drawables required by the MyLocationOverlay.
So i copied the library drawable-nodpi...
link: a null pointer exception as it can't find the drawables required by the MyLocationOverlay...
B4A Library OSMDroid - MapView for B4A - warwound (first post)    
Apr 9, 2013With the existing code that is not possible.
The default MyLocationOverlay icon is compiled into the library .jar file and it's name is hardcoded into the MyLocationOverlay code :(.
It's...
link: the MyLocationOverlay allowing you to use a custom Bitmap..
See this post: http://www.b4x.com/forum/additional...
link: the MyLocationOverlay.
PersonIcon As Bitmap
Sets the icon used for the MyLocationOverlay...
link: @schimanski
The MyLocationOverlay object has various methods that might do all that you require...
B4A Question POI on Gooble Map View - BarrySumpter (first post)    
Aug 15, 2012
' create some variables to save the MyLocationOverlay state
Dim CompassEnabled... TileSourceSpinner As Spinner
' create the MyLocationOverlay
Dim MyLocationOverlay1 As MyLocationOverlay
Dim NewTileSourceName As String
Dim MarkersBalloonOverlay1... and add the MyLocationOverlay to the MapView,
' an EventName Is used As we'll...
link:
Dim MarkersBalloonOverlay1 As MarkersBalloonOverlay
Dim MyLocationOverlay1...
B4A Tutorial Background location tracking - Erel    
Jul 3, 2024   
(52 reactions) service that keeps the process running in the background. The current location is shown in...(android.permission.FOREGROUND_SERVICE_LOCATION)
With the above change the service can be started from... the ACCESS_BACKGROUND_LOCATION permission. This is a special permission and it is granted in the settings app. We can only... service and it is impossible to do without the ACCESS_BACKGROUND_LOCATION permission. So the solution...
link: iLocation library allows you to track the device location when your app is in the foreground...
Page: 1  
2  
3  
4  
5  
6  
7