B4A Question Google Map Marker icon Chopped - iCAB    
May 11, 2016
BitmapDescriptor1=BitmapDescriptorFactory1.FromAsset(TLocalMarker.TMarkerSettings.IconFile)
MarkerOptions1.Icon(BitmapDescriptor1)
'This code shows chopped icons
'Dim bBitMap...)
'BitmapDescriptor1=BitmapDescriptorFactory1.FromBitmap(bBitMap)
'MarkerOptions1.Icon(BitmapDescriptor1...Hi All
While trying to scale the Marker icon to look bigger on a tablet, I ran into an issue where the Marker icon look chopped ( only a small part of it shows ).
The code below shows the working...
B4A Question How to change a google map marker icon in the marker click event? - JohnC    
Aug 18, 2021I want to change a marker icon when the user clicks on that marker in a google maps fragment.
So...:
https://stackoverflow.com/questions/15523100/google-map-api-v3-change-marker-icon-on-click
//Change...
link: Thank you!
It worked great :)...
link: To identify the marker that the user clicked:
MarkerExtras => GoogleMapsExtras library
Sample...
link:
Sub MapFrag_MarkerClick (SelectedMarker As Marker) As Boolean
Dim BitmapPosition As B4XBitmap...
B4J Question GoogleMaps Marker - Dragged To New Location - Where? - RichardN    
Oct 5, 2020If you move a draggable Marker to a new location there is no exposure of it's new LatLng position as there is no Marker_Drop event to exploit.
How is it possible to read the new position...
link: I have added a wish for the functionality to be added. Please feel free to add likes!
Wish for add...
link: if it is possible to do so.
We just don't want to alter the Google Map versions of B4J.
We...
link: employ a user generated sequence of Google Map Markers you must be able to do one of the following...
B4J Question Overlapping images + text, on Google Maps markers - amorosik    
Jan 23, 2021I use jGoogleMaps to display a map and markers with the positions of some cars
For each car I have a small image that is used to display the car on the map
In addition to the position I would also...
link: ....
Excellent for create an image from text, but how to place the image on a map (jGoogleMaps) and near...
link: Use the AddMarker2 method. The IconURI will point to the directory and filename of the png.......
link: on a map (jGoogleMaps) and near or above a marker?...
B4A Question Oops wrong forum Google maps marker location - Roger Daley    
Dec 8, 2015Hi All,
In B4A the code "MarkerLocation = Marker1.Position" loads MarkerLocation with the LatLng of Marker1.
In B4J Marker.Position is write only.
I can't find anywhere how to get LatLng in B4J
Regards Roger...
B4i Question GoogleMaps marker Zorder - marcick    
May 8, 2025Good morning everyone. In the example shown in the photo, I placed markers on the map, each.... Unlike in B4A, newly added markers always appear behind the previous ones rather than in the foreground...
link:
https://stackoverflow.com/questions/16808563/set-a-marker-over-all-other-markers-in-google-maps...
link: https://stackoverflow.com/questions/16808563/set-a-marker-over-all-other-markers-in-google-maps-sdk...
link:
test;
Dim no As NativeObject = MyMarker
no.RunMethod("setZIndex:", Array(30...
B4A Question [Solved]"smoothing" the movement of the Google map marker - jose luis gudino    
Jun 2, 2019hI
I would like to "smoothing" the movement of the Google map marker,
I got...);
carMarker.setRotation(getBearing(startPosition, newPos));
googleMap...
link: , Targetlon As Double, placa As String, i As Int,cod_app As String)
Dim oldpos = MapOfMarkers...
link:
It works perfect!!!
Thank
Hallo Jose, can you show us how you did it?...
link: It works perfect!!!
Thank...
B4A Question Bitmap centered at GoogleMaps Marker position - GiovanniPolese    
Dec 1, 2022Hi to All
my problem is that I would like to draw a simbol centered at a given Marker, in a GoogleMaps map. For example, let's assume that the symbol is a rectangle. I use a canvas to draw...
link:
...Actually you want align icon of Marker at center ?
You can use MarkerExtras (GoogleMapsExtras...
link: (GoogleMapsExtras) for this:
Dim mx As MarkerExtras
mx.SetAnchor(Marker, 0.5, 0.5...
link: ...Actually you want align icon of Marker at center ?
You can use MarkerExtras (GoogleMapsExtras...
B4A Question GoogleMaps Markers InfoWindow - GiovanniPolese    
Nov 28, 2022 a GoogleMaps map. What seems to me, is that, after adding, for example, a marker to the GoogleMaps Map...:
Dim gmap as GoogleMaps
Dim Punti as Map
Dim M as Marker...
link: with the small code-snippet, wrong use of a map, ect.
I understand, but it is not so practical to...
link: with the small code-snippet, wrong use of a map, ect....
link:
100% wrong! gmap.AddMarker3 returns the marker which you can store in a map or list for later...
B4J Question [SOLVED] jGoogleMaps: Markers are displayed multiple times - rwblinn    
Jan 11, 2016Hi,
when building a google map first time, with two markers, the markers are displayed multiple times (see picture). By clicking on zoom, the map gets refreshed and the two markers are displayed correctly.
When rebuilding the map again with different markers, the markers are build correctly.
Have tried to init the cameraposition twice with different zoomlevels, but that did not solve the issue.
Any ideas?
40483...
Page: 1  
2  
3  
4  
5  
6