B4J Library jGoogleMaps library - Erel    
May 22, 2025   
(24 reactions)The latest version of Google Maps isn't compatible with JavaFX WebView. Don't use...
This library is similar to B4A and B4i GoogleMaps libraries.
https://www.b4x.com/basic4android... with GoogleMaps JavaScript API V3.
Using the map is quite simple. You need to initialize GoogleMap and then wait for the Ready event.
GoogleMap.AsPane returns the pane that holds the map. You should add...
link: V2.01 - Sets the Google Maps Javascript SDK version to 3.56. There is currently an issue...
Share My Creation GoogleMapsDemo - klaus    
Apr 30, 2024   
(25 reactions)Some time ago I played a lot with GoogleMaps according to this post:
https://www.b4x.com/android...:
https://www.b4x.com/android/forum/threads/calcolare-superficie-con-google-map.91740/#post-580370
I added the area calculation.
ATTENTION: the jGoogleMaps library needs Java 19 !
And, as it might be interesting for others, I upload the two projects below:
GoogleMapsDemoLight, a light version of GoogleMapsDemo below for better understanding.
GoogleMapsDemo, this project contains almost everything...
B4A Tutorial [B4X] [B4XPages] GoogleMaps example - Erel    
Jul 13, 2020   
(11 reactions)97060
Example of showing a Google map, in a cross platform B4XPages project. The APIs of the three GoogleMaps libraries are quite different from one another, so we need to use platform specific code.../forum/threads/google-maps.63930/#content
B4J - https://www.b4x.com/android/forum/threads/56744/#content
B4i - https://www.b4x.com/android/forum/threads/47019/#content
In B4i you need to add GoogleMaps... the example project from the above tutorial.
Note that there was an issue in iGoogleMaps v1.41...
Other Java 9 and WebView (and GoogleMaps) - Erel    
Oct 24, 2017   
(8 reactions)There is an issue with the first version of Java 9 that causes WebView to not show anything unless the WebView is created after the form is shown.
The workaround is simple, make sure to show the form before you load the layout....
B4J Code Snippet Google Map with custom style - Erel    
Jul 29, 2019   
(8 reactions)https://www.b4x.com/basic4android/images/SS-2017-10-11_09.44.35.png
This method allows to set a custom style to the map.
Step 1: Create the style with the wizard and save the json string in a file: https://mapstyle.withgoogle.com/
Step 2: Set the style after the map is ready:
SetMapStyle(File.ReadString(File.DirAssets, "style.txt"))
Code:
Sub SetMapStyle(style As String)
Dim jo As JavaObject = gmap
jo = jo.GetField("map")
jo.GetFieldJO("jsObject"...
B4J Question Waiting for JavaFX WebView and GoogleMaps - MarcoRome    
Mar 5, 2025   
(4 reactions) does not bring back all the magnificent functions of jGoogleMap 2.01 but which to possibly display...Hi All.
Connecting to this thread:
https://www.b4x.com/android/forum/threads/jgoogle-maps-2-01...
link: For fun.
"Track with history"
Welcome ChatGPT
fWrCJXyQ5UM...
link: on the map.
Routing: Advantages: Shows the route between two points. For navigation applications...
link: and interact with plugin leaflet
https://www.b4x.com/android/forum/threads/interact-with-html-elemen...
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? Is it possible to listen for this event?...
B4J Question jGoogle Maps 2.01 - Philip Prins    
Feb 21, 2025   
(2 reactions)I think Google changed something again:
161970
No imagery here notice.
I followed all the steps in the previous update , JDK 19.0.02
Can anyone check if it still works on their side?
Regards...
link: produces all the methods and events that are present in the jGoogleMaps library so you can replace...
link: StarDust's OpenMaps library. It works as well if not better and the transition switching over...
link:
Hello everyone, any updates on this thread? I have an application with maps that is extremely...
B4A Library [B4X][XUI] Scale for Google Maps - Erel    
Dec 7, 2017   
(11 reactions)-cross-platform-native-ui-library.84359/#post-534432
It shows the map scale:
https://www.b4x.com....com/pengrad/MapScaleView
The code is written in B4X.
Usage:
- Add MapScale with the designer:
https://www.b4x.com/basic4android/images/SS-2017-12-07_11.34.25.png
The best way is to put the map itself in a panel and put MapScale above the map and NOT as the the panel's child.
- Handle...)
MapScale1.Update(Position.Zoom, Position.Target.Latitude)
End Sub
...
B4A Code Snippet [B4X] Custom GoogleMaps - MarcoRome    
Jul 17, 2020   
(10 reactions)This is an example of how you can customize a Map.
Through the B4XCanvas functions it is possible to create the map with photos, text, etc.
The classes used are MapScale + GoogleMapsExtra (https... As GoogleMap
Private ApiKey As String = "xxxx"
Private MapScale1 As MapScale... Attributes
#ApplicationLabel: B4i custom Maps
#Version: 1.0.0
'Orientation possible values...("Page1")
Page1.RootPanel.LoadLayout("1")
Page1.Title = "Sicilia Map...
Page: 1  
2  
3  
4  
5  
6  
7